diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index b7d2a57c075..866997b79bc 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -4647,7 +4647,7 @@ "category": "Message", "code": 6096 }, - "File '{0}' exist - use it as a name resolution result.": { + "File '{0}' exists - use it as a name resolution result.": { "category": "Message", "code": 6097 }, diff --git a/src/compiler/moduleNameResolver.ts b/src/compiler/moduleNameResolver.ts index 26fbada55e7..a503e3202dd 100644 --- a/src/compiler/moduleNameResolver.ts +++ b/src/compiler/moduleNameResolver.ts @@ -1999,7 +1999,7 @@ function tryFileLookup(fileName: string, onlyRecordFailures: boolean, state: Mod if (!onlyRecordFailures) { if (state.host.fileExists(fileName)) { if (state.traceEnabled) { - trace(state.host, Diagnostics.File_0_exist_use_it_as_a_name_resolution_result, fileName); + trace(state.host, Diagnostics.File_0_exists_use_it_as_a_name_resolution_result, fileName); } return fileName; } 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 f49a79eb8dd..07207c5f9d2 100644 --- a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=false).trace.json +++ b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=false).trace.json @@ -2,54 +2,54 @@ "======== Resolving module './a' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './a.js' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.js' has a '.js' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.js' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './a.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.ts' has a '.ts' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.ts' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './b' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.js' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.js' has a '.js' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.js' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.ts' has a '.ts' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.ts' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.d.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.d.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.d.ts' has a '.d.ts' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.d.ts' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './c.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/c.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/c.ts' has a '.ts' extension - stripping it.", - "File '/project/c.ts' exist - use it as a name resolution result.", + "File '/project/c.ts' exists - use it as a name resolution result.", "======== Module name './c.ts' was successfully resolved to '/project/c.ts'. ========", "======== Resolving module './c.tsx' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/c.tsx', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/c.tsx' has a '.tsx' extension - stripping it.", - "File '/project/c.tsx' exist - use it as a name resolution result.", + "File '/project/c.tsx' exists - use it as a name resolution result.", "======== Module name './c.tsx' was successfully resolved to '/project/c.tsx'. ========", "======== Resolving module './d' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", @@ -60,30 +60,30 @@ "File '/project/d.js' does not exist.", "File '/project/d.jsx' does not exist.", "File '/project/d/package.json' does not exist.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "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'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/d/index', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d/index' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './d/index.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/d/index.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/d/index.ts' has a '.ts' extension - stripping it.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d/index.ts' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './e' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/e', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/e.ts' exist - use it as a name resolution result.", + "File '/project/e.ts' exists - use it as a name resolution result.", "======== Module name './e' was successfully resolved to '/project/e.ts'. ========", "======== Resolving module './e.txt' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/e.txt', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/e.txt' has a '.txt' extension - stripping it.", "File '/project/e.d.txt.ts' does not exist.", - "File '/project/e.txt.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module './a.ts' from '/project/types.d.ts'. ========", "Resolution for module './a.ts' was found in cache from location '/project'.", @@ -92,6 +92,6 @@ "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.d.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.d.ts' has a '.d.ts' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.d.ts' was successfully resolved to '/project/a.ts'. ========" ] \ 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 f49a79eb8dd..07207c5f9d2 100644 --- a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=true).trace.json +++ b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=true).trace.json @@ -2,54 +2,54 @@ "======== Resolving module './a' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './a.js' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.js' has a '.js' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.js' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './a.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.ts' has a '.ts' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.ts' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './b' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.js' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.js' has a '.js' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.js' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.ts' has a '.ts' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.ts' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.d.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.d.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.d.ts' has a '.d.ts' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.d.ts' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './c.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/c.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/c.ts' has a '.ts' extension - stripping it.", - "File '/project/c.ts' exist - use it as a name resolution result.", + "File '/project/c.ts' exists - use it as a name resolution result.", "======== Module name './c.ts' was successfully resolved to '/project/c.ts'. ========", "======== Resolving module './c.tsx' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/c.tsx', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/c.tsx' has a '.tsx' extension - stripping it.", - "File '/project/c.tsx' exist - use it as a name resolution result.", + "File '/project/c.tsx' exists - use it as a name resolution result.", "======== Module name './c.tsx' was successfully resolved to '/project/c.tsx'. ========", "======== Resolving module './d' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", @@ -60,30 +60,30 @@ "File '/project/d.js' does not exist.", "File '/project/d.jsx' does not exist.", "File '/project/d/package.json' does not exist.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "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'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/d/index', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d/index' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './d/index.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/d/index.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/d/index.ts' has a '.ts' extension - stripping it.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d/index.ts' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './e' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/e', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/e.ts' exist - use it as a name resolution result.", + "File '/project/e.ts' exists - use it as a name resolution result.", "======== Module name './e' was successfully resolved to '/project/e.ts'. ========", "======== Resolving module './e.txt' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/e.txt', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/e.txt' has a '.txt' extension - stripping it.", "File '/project/e.d.txt.ts' does not exist.", - "File '/project/e.txt.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module './a.ts' from '/project/types.d.ts'. ========", "Resolution for module './a.ts' was found in cache from location '/project'.", @@ -92,6 +92,6 @@ "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.d.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.d.ts' has a '.d.ts' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.d.ts' was successfully resolved to '/project/a.ts'. ========" ] \ 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 f49a79eb8dd..07207c5f9d2 100644 --- a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=false).trace.json +++ b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=false).trace.json @@ -2,54 +2,54 @@ "======== Resolving module './a' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './a.js' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.js' has a '.js' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.js' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './a.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.ts' has a '.ts' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.ts' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './b' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.js' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.js' has a '.js' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.js' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.ts' has a '.ts' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.ts' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.d.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.d.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.d.ts' has a '.d.ts' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.d.ts' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './c.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/c.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/c.ts' has a '.ts' extension - stripping it.", - "File '/project/c.ts' exist - use it as a name resolution result.", + "File '/project/c.ts' exists - use it as a name resolution result.", "======== Module name './c.ts' was successfully resolved to '/project/c.ts'. ========", "======== Resolving module './c.tsx' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/c.tsx', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/c.tsx' has a '.tsx' extension - stripping it.", - "File '/project/c.tsx' exist - use it as a name resolution result.", + "File '/project/c.tsx' exists - use it as a name resolution result.", "======== Module name './c.tsx' was successfully resolved to '/project/c.tsx'. ========", "======== Resolving module './d' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", @@ -60,30 +60,30 @@ "File '/project/d.js' does not exist.", "File '/project/d.jsx' does not exist.", "File '/project/d/package.json' does not exist.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "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'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/d/index', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d/index' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './d/index.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/d/index.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/d/index.ts' has a '.ts' extension - stripping it.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d/index.ts' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './e' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/e', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/e.ts' exist - use it as a name resolution result.", + "File '/project/e.ts' exists - use it as a name resolution result.", "======== Module name './e' was successfully resolved to '/project/e.ts'. ========", "======== Resolving module './e.txt' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/e.txt', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/e.txt' has a '.txt' extension - stripping it.", "File '/project/e.d.txt.ts' does not exist.", - "File '/project/e.txt.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module './a.ts' from '/project/types.d.ts'. ========", "Resolution for module './a.ts' was found in cache from location '/project'.", @@ -92,6 +92,6 @@ "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.d.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.d.ts' has a '.d.ts' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.d.ts' was successfully resolved to '/project/a.ts'. ========" ] \ 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 f49a79eb8dd..07207c5f9d2 100644 --- a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=true).trace.json +++ b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=true).trace.json @@ -2,54 +2,54 @@ "======== Resolving module './a' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './a.js' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.js' has a '.js' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.js' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './a.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.ts' has a '.ts' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.ts' was successfully resolved to '/project/a.ts'. ========", "======== Resolving module './b' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.js' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.js' has a '.js' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.js' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.ts' has a '.ts' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.ts' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './b.d.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/b.d.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/b.d.ts' has a '.d.ts' extension - stripping it.", - "File '/project/b.ts' exist - use it as a name resolution result.", + "File '/project/b.ts' exists - use it as a name resolution result.", "======== Module name './b.d.ts' was successfully resolved to '/project/b.ts'. ========", "======== Resolving module './c.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/c.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/c.ts' has a '.ts' extension - stripping it.", - "File '/project/c.ts' exist - use it as a name resolution result.", + "File '/project/c.ts' exists - use it as a name resolution result.", "======== Module name './c.ts' was successfully resolved to '/project/c.ts'. ========", "======== Resolving module './c.tsx' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/c.tsx', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/c.tsx' has a '.tsx' extension - stripping it.", - "File '/project/c.tsx' exist - use it as a name resolution result.", + "File '/project/c.tsx' exists - use it as a name resolution result.", "======== Module name './c.tsx' was successfully resolved to '/project/c.tsx'. ========", "======== Resolving module './d' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", @@ -60,30 +60,30 @@ "File '/project/d.js' does not exist.", "File '/project/d.jsx' does not exist.", "File '/project/d/package.json' does not exist.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "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'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/d/index', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d/index' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './d/index.ts' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/d/index.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/d/index.ts' has a '.ts' extension - stripping it.", - "File '/project/d/index.ts' exist - use it as a name resolution result.", + "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d/index.ts' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './e' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/e', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/project/e.ts' exist - use it as a name resolution result.", + "File '/project/e.ts' exists - use it as a name resolution result.", "======== Module name './e' was successfully resolved to '/project/e.ts'. ========", "======== Resolving module './e.txt' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/e.txt', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/e.txt' has a '.txt' extension - stripping it.", "File '/project/e.d.txt.ts' does not exist.", - "File '/project/e.txt.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module './a.ts' from '/project/types.d.ts'. ========", "Resolution for module './a.ts' was found in cache from location '/project'.", @@ -92,6 +92,6 @@ "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/project/a.d.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/project/a.d.ts' has a '.d.ts' extension - stripping it.", - "File '/project/a.ts' exist - use it as a name resolution result.", + "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.d.ts' was successfully resolved to '/project/a.ts'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerNodeModules1.trace.json b/tests/baselines/reference/bundlerNodeModules1.trace.json index d1f74dccd4b..b8728c149e9 100644 --- a/tests/baselines/reference/bundlerNodeModules1.trace.json +++ b/tests/baselines/reference/bundlerNodeModules1.trace.json @@ -9,7 +9,7 @@ "File name '/node_modules/dual/index.js' has a '.js' extension - stripping it.", "File '/node_modules/dual/index.ts' does not exist.", "File '/node_modules/dual/index.tsx' does not exist.", - "File '/node_modules/dual/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/dual/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/dual/index.d.ts', result '/node_modules/dual/index.d.ts'.", "======== 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.mts'. ========", diff --git a/tests/baselines/reference/bundlerRelative1.trace.json b/tests/baselines/reference/bundlerRelative1.trace.json index 19e7e28acd7..e1c26a949ed 100644 --- a/tests/baselines/reference/bundlerRelative1.trace.json +++ b/tests/baselines/reference/bundlerRelative1.trace.json @@ -8,24 +8,24 @@ "File '/dir.js' does not exist.", "File '/dir.jsx' does not exist.", "File '/dir/package.json' does not exist.", - "File '/dir/index.ts' exist - use it as a name resolution result.", + "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'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/dir/index', target file types: TypeScript, JavaScript, Declaration, JSON.", - "File '/dir/index.ts' exist - use it as a name resolution result.", + "File '/dir/index.ts' exists - use it as a name resolution result.", "======== Module name './dir/index' was successfully resolved to '/dir/index.ts'. ========", "======== Resolving module './dir/index.js' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/dir/index.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/dir/index.js' has a '.js' extension - stripping it.", - "File '/dir/index.ts' exist - use it as a name resolution result.", + "File '/dir/index.ts' exists - use it as a name resolution result.", "======== Module name './dir/index.js' was successfully resolved to '/dir/index.ts'. ========", "======== Resolving module './dir/index.ts' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/dir/index.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/dir/index.ts' has a '.ts' extension - stripping it.", - "File '/dir/index.ts' exist - use it as a name resolution result.", + "File '/dir/index.ts' exists - use it as a name resolution result.", "======== Module name './dir/index.ts' was successfully resolved to '/dir/index.ts'. ========", "======== Resolving module './redirect' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", @@ -47,7 +47,7 @@ "File '/foo.d.ts' does not exist.", "File '/foo.js' does not exist.", "File '/foo.jsx' does not exist.", - "File '/foo/index.ts' exist - use it as a name resolution result.", + "File '/foo/index.ts' exists - use it as a name resolution result.", "======== Module name './redirect' was successfully resolved to '/foo/index.ts'. ========", "======== Resolving module './redirect/index' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", @@ -64,13 +64,13 @@ "Loading module as file / folder, candidate module location '/types/esm', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/types/esm.ts' does not exist.", "File '/types/esm.tsx' does not exist.", - "File '/types/esm.d.ts' exist - use it as a name resolution result.", + "File '/types/esm.d.ts' exists - use it as a name resolution result.", "======== Module name './types/esm' was successfully resolved to '/types/esm.d.ts'. ========", "======== Resolving module './types/cjs' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Loading module as file / folder, candidate module location '/types/cjs', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/types/cjs.ts' does not exist.", "File '/types/cjs.tsx' does not exist.", - "File '/types/cjs.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/cachedModuleResolution1.trace.json b/tests/baselines/reference/cachedModuleResolution1.trace.json index 4d14949256e..9a60d813377 100644 --- a/tests/baselines/reference/cachedModuleResolution1.trace.json +++ b/tests/baselines/reference/cachedModuleResolution1.trace.json @@ -7,7 +7,7 @@ "Directory '/a/b/c/node_modules' does not exist, skipping all lookups in it.", "File '/a/b/node_modules/foo.ts' does not exist.", "File '/a/b/node_modules/foo.tsx' does not exist.", - "File '/a/b/node_modules/foo.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", diff --git a/tests/baselines/reference/cachedModuleResolution2.trace.json b/tests/baselines/reference/cachedModuleResolution2.trace.json index b3c9769de89..9e990b3955d 100644 --- a/tests/baselines/reference/cachedModuleResolution2.trace.json +++ b/tests/baselines/reference/cachedModuleResolution2.trace.json @@ -5,7 +5,7 @@ "Directory '/a/b/c/node_modules' does not exist, skipping all lookups in it.", "File '/a/b/node_modules/foo.ts' does not exist.", "File '/a/b/node_modules/foo.tsx' does not exist.", - "File '/a/b/node_modules/foo.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", diff --git a/tests/baselines/reference/cachedModuleResolution3.trace.json b/tests/baselines/reference/cachedModuleResolution3.trace.json index 2f401df9ef5..1fa67698798 100644 --- a/tests/baselines/reference/cachedModuleResolution3.trace.json +++ b/tests/baselines/reference/cachedModuleResolution3.trace.json @@ -12,7 +12,7 @@ "File '/a/b/c/foo.d.ts' does not exist.", "File '/a/b/foo.ts' does not exist.", "File '/a/b/foo.tsx' does not exist.", - "File '/a/b/foo.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", diff --git a/tests/baselines/reference/cachedModuleResolution4.trace.json b/tests/baselines/reference/cachedModuleResolution4.trace.json index 7771f99ca9f..0e8e767164a 100644 --- a/tests/baselines/reference/cachedModuleResolution4.trace.json +++ b/tests/baselines/reference/cachedModuleResolution4.trace.json @@ -6,7 +6,7 @@ "File '/a/b/c/foo.d.ts' does not exist.", "File '/a/b/foo.ts' does not exist.", "File '/a/b/foo.tsx' does not exist.", - "File '/a/b/foo.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", diff --git a/tests/baselines/reference/cachedModuleResolution5.trace.json b/tests/baselines/reference/cachedModuleResolution5.trace.json index e99ccf16c7d..e83bb61bfb1 100644 --- a/tests/baselines/reference/cachedModuleResolution5.trace.json +++ b/tests/baselines/reference/cachedModuleResolution5.trace.json @@ -7,7 +7,7 @@ "Directory '/a/b/c/node_modules' does not exist, skipping all lookups in it.", "File '/a/b/node_modules/foo.ts' does not exist.", "File '/a/b/node_modules/foo.tsx' does not exist.", - "File '/a/b/node_modules/foo.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'foo' from '/a/b/lib.ts'. ========", diff --git a/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json b/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json index 1b85a4d6fca..18012df5f4b 100644 --- a/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json +++ b/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json @@ -16,7 +16,7 @@ "File name '/node_modules/lodash/index.js' has a '.js' extension - stripping it.", "File '/node_modules/lodash/index.ts' does not exist.", "File '/node_modules/lodash/index.tsx' does not exist.", - "File '/node_modules/lodash/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/lodash/index.d.ts' exists - use it as a name resolution result.", "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'. ========" ] \ 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 2019c28fc9f..5b02129d639 100644 --- a/tests/baselines/reference/customConditions(resolvepackagejsonexports=true).trace.json +++ b/tests/baselines/reference/customConditions(resolvepackagejsonexports=true).trace.json @@ -10,7 +10,7 @@ "File name '/node_modules/lodash/webpack.js' has a '.js' extension - stripping it.", "File '/node_modules/lodash/webpack.ts' does not exist.", "File '/node_modules/lodash/webpack.tsx' does not exist.", - "File '/node_modules/lodash/webpack.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/lodash/webpack.d.ts' exists - use it as a name resolution result.", "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'. ========" ] \ 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 5ba761a61ae..f850edc8c17 100644 --- a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json +++ b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json @@ -6,7 +6,7 @@ "'package.json' does not have a 'typesVersions' field.", "File '/node_modules/foo/use.ts' does not exist.", "File '/node_modules/foo/use.tsx' does not exist.", - "File '/node_modules/foo/use.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/foo/use.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/use.d.ts', result '/node_modules/foo/use.d.ts'.", "======== Module name 'foo/use' was successfully resolved to '/node_modules/foo/use.d.ts' with Package ID 'foo/use.d.ts@1.2.3'. ========", "======== Resolving module 'a' from '/index.ts'. ========", @@ -18,7 +18,7 @@ "File '/node_modules/a.d.ts' does not exist.", "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' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module './index' from '/node_modules/foo/use.d.ts'. ========", @@ -26,7 +26,7 @@ "Loading module as file / folder, candidate module location '/node_modules/foo/index', target file types: TypeScript, Declaration.", "File '/node_modules/foo/index.ts' does not exist.", "File '/node_modules/foo/index.tsx' does not exist.", - "File '/node_modules/foo/index.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'foo' from '/node_modules/a/index.d.ts'. ========", @@ -42,7 +42,7 @@ "'package.json' does not have a 'main' field.", "File '/node_modules/a/node_modules/foo/index.ts' does not exist.", "File '/node_modules/a/node_modules/foo/index.tsx' does not exist.", - "File '/node_modules/a/node_modules/foo/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/a/node_modules/foo/index.d.ts' exists - use it as a name resolution result.", "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'. ========" ] \ 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 aef8970bccf..dcdd083a594 100644 --- a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json +++ b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json @@ -6,7 +6,7 @@ "'package.json' does not have a 'typesVersions' field.", "File '/node_modules/@foo/bar/use.ts' does not exist.", "File '/node_modules/@foo/bar/use.tsx' does not exist.", - "File '/node_modules/@foo/bar/use.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@foo/bar/use.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@foo/bar/use.d.ts', result '/node_modules/@foo/bar/use.d.ts'.", "======== Module name '@foo/bar/use' was successfully resolved to '/node_modules/@foo/bar/use.d.ts' with Package ID '@foo/bar/use.d.ts@1.2.3'. ========", "======== Resolving module 'a' from '/index.ts'. ========", @@ -18,7 +18,7 @@ "File '/node_modules/a.d.ts' does not exist.", "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' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module './index' from '/node_modules/@foo/bar/use.d.ts'. ========", @@ -26,7 +26,7 @@ "Loading module as file / folder, candidate module location '/node_modules/@foo/bar/index', target file types: TypeScript, Declaration.", "File '/node_modules/@foo/bar/index.ts' does not exist.", "File '/node_modules/@foo/bar/index.tsx' does not exist.", - "File '/node_modules/@foo/bar/index.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module '@foo/bar' from '/node_modules/a/index.d.ts'. ========", @@ -42,7 +42,7 @@ "'package.json' does not have a 'main' field.", "File '/node_modules/a/node_modules/@foo/bar/index.ts' does not exist.", "File '/node_modules/a/node_modules/@foo/bar/index.tsx' does not exist.", - "File '/node_modules/a/node_modules/@foo/bar/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/a/node_modules/@foo/bar/index.d.ts' exists - use it as a name resolution result.", "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'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/importWithTrailingSlash.trace.json b/tests/baselines/reference/importWithTrailingSlash.trace.json index 9c3237a1cb7..aa6ce94aada 100644 --- a/tests/baselines/reference/importWithTrailingSlash.trace.json +++ b/tests/baselines/reference/importWithTrailingSlash.trace.json @@ -3,24 +3,24 @@ "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.", - "File '/a/index.ts' exist - use it as a name resolution result.", + "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'. ========", "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/index.ts' exist - use it as a name resolution result.", + "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/b/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/index.ts' exist - use it as a name resolution result.", + "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/b/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/index.ts' exist - use it as a name resolution result.", + "File '/a/index.ts' exists - use it as a name resolution result.", "======== Module name '../' was successfully resolved to '/a/index.ts'. ========" ] \ 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 03dea210c71..f61b4add7c9 100644 --- a/tests/baselines/reference/library-reference-1.trace.json +++ b/tests/baselines/reference/library-reference-1.trace.json @@ -2,7 +2,7 @@ "======== Resolving type reference directive 'jquery', containing file '/src/consumer.ts', root directory 'types'. ========", "Resolving with primary search path 'types'.", "File 'types/jquery/package.json' does not exist.", - "File 'types/jquery/index.d.ts' exist - use it as a name resolution result.", + "File 'types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '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. ========", "======== Resolving type reference directive 'jquery', containing file '/src/__inferred type names__.ts'. ========", diff --git a/tests/baselines/reference/library-reference-10.trace.json b/tests/baselines/reference/library-reference-10.trace.json index ac5bacd8933..38f31bafb9c 100644 --- a/tests/baselines/reference/library-reference-10.trace.json +++ b/tests/baselines/reference/library-reference-10.trace.json @@ -4,7 +4,7 @@ "Found 'package.json' at './types/jquery/package.json'.", "'package.json' does not have a 'typesVersions' field.", "'package.json' has 'typings' field 'jquery.d.ts' that references 'types/jquery/jquery.d.ts'.", - "File 'types/jquery/jquery.d.ts' exist - use it as a name resolution result.", + "File 'types/jquery/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '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. ========", "======== Resolving type reference directive 'jquery', containing file '/foo/__inferred type names__.ts'. ========", diff --git a/tests/baselines/reference/library-reference-11.trace.json b/tests/baselines/reference/library-reference-11.trace.json index b2121f15d5d..020fbdae08a 100644 --- a/tests/baselines/reference/library-reference-11.trace.json +++ b/tests/baselines/reference/library-reference-11.trace.json @@ -7,7 +7,7 @@ "File '/a/node_modules/jquery.d.ts' does not exist.", "'package.json' does not have a 'typesVersions' field.", "'package.json' has 'typings' field 'jquery.d.ts' that references '/a/node_modules/jquery/jquery.d.ts'.", - "File '/a/node_modules/jquery/jquery.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ 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 0ff14204c62..a1383057939 100644 --- a/tests/baselines/reference/library-reference-12.trace.json +++ b/tests/baselines/reference/library-reference-12.trace.json @@ -8,7 +8,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'dist/jquery.d.ts' that references '/a/node_modules/jquery/dist/jquery.d.ts'.", - "File '/a/node_modules/jquery/dist/jquery.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ 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 70ebb875899..727e13c40bc 100644 --- a/tests/baselines/reference/library-reference-13.trace.json +++ b/tests/baselines/reference/library-reference-13.trace.json @@ -2,7 +2,7 @@ "======== 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/package.json' does not exist.", - "File '/a/types/jquery/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ 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 70ebb875899..727e13c40bc 100644 --- a/tests/baselines/reference/library-reference-14.trace.json +++ b/tests/baselines/reference/library-reference-14.trace.json @@ -2,7 +2,7 @@ "======== 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/package.json' does not exist.", - "File '/a/types/jquery/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ 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 0f76cf52984..729744d190a 100644 --- a/tests/baselines/reference/library-reference-15.trace.json +++ b/tests/baselines/reference/library-reference-15.trace.json @@ -2,7 +2,7 @@ "======== Resolving type reference directive 'jquery', containing file '/a/__inferred type names__.ts', root directory 'types'. ========", "Resolving with primary search path 'types'.", "File 'types/jquery/package.json' does not exist.", - "File 'types/jquery/index.d.ts' exist - use it as a name resolution result.", + "File 'types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '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. ========" ] \ 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 da8ad8d4e55..bf333fd3212 100644 --- a/tests/baselines/reference/library-reference-2.trace.json +++ b/tests/baselines/reference/library-reference-2.trace.json @@ -5,7 +5,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'jquery.d.ts' that references '/types/jquery/jquery.d.ts'.", - "File '/types/jquery/jquery.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'jquery', containing file '/test/__inferred type names__.ts', root directory '/types'. ========", @@ -13,7 +13,7 @@ "File '/types/jquery/package.json' exists according to earlier cached lookups.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'jquery.d.ts' that references '/types/jquery/jquery.d.ts'.", - "File '/types/jquery/jquery.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ 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 5b084f13738..79516a61390 100644 --- a/tests/baselines/reference/library-reference-3.trace.json +++ b/tests/baselines/reference/library-reference-3.trace.json @@ -4,7 +4,7 @@ "Looking up in 'node_modules' folder, initial location '/src'.", "File '/src/node_modules/jquery/package.json' does not exist.", "File '/src/node_modules/jquery.d.ts' does not exist.", - "File '/src/node_modules/jquery/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ 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 ceeb754bb0b..60ce5559db2 100644 --- a/tests/baselines/reference/library-reference-4.trace.json +++ b/tests/baselines/reference/library-reference-4.trace.json @@ -5,7 +5,7 @@ "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "File '/node_modules/foo/package.json' does not exist.", "File '/node_modules/foo.d.ts' does not exist.", - "File '/node_modules/foo/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/foo/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/index.d.ts', result '/node_modules/foo/index.d.ts'.", "======== Type reference directive 'foo' was successfully resolved to '/node_modules/foo/index.d.ts', primary: false. ========", "======== Resolving type reference directive 'bar', containing file '/src/root.ts', root directory '/src'. ========", @@ -14,7 +14,7 @@ "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "File '/node_modules/bar/package.json' does not exist.", "File '/node_modules/bar.d.ts' does not exist.", - "File '/node_modules/bar/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'alpha', containing file '/node_modules/foo/index.d.ts', root directory '/src'. ========", @@ -22,7 +22,7 @@ "Looking up in 'node_modules' folder, initial location '/node_modules/foo'.", "File '/node_modules/foo/node_modules/alpha/package.json' does not exist.", "File '/node_modules/foo/node_modules/alpha.d.ts' does not exist.", - "File '/node_modules/foo/node_modules/alpha/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'alpha', containing file '/node_modules/bar/index.d.ts', root directory '/src'. ========", @@ -30,7 +30,7 @@ "Looking up in 'node_modules' folder, initial location '/node_modules/bar'.", "File '/node_modules/bar/node_modules/alpha/package.json' does not exist.", "File '/node_modules/bar/node_modules/alpha.d.ts' does not exist.", - "File '/node_modules/bar/node_modules/alpha/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ 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 0cac2a8fec6..127af0de623 100644 --- a/tests/baselines/reference/library-reference-5.trace.json +++ b/tests/baselines/reference/library-reference-5.trace.json @@ -6,7 +6,7 @@ "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "File '/node_modules/foo/package.json' does not exist.", "File '/node_modules/foo.d.ts' does not exist.", - "File '/node_modules/foo/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/foo/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/index.d.ts', result '/node_modules/foo/index.d.ts'.", "======== Type reference directive 'foo' was successfully resolved to '/node_modules/foo/index.d.ts', primary: false. ========", "======== Resolving type reference directive 'bar', containing file '/src/root.ts', root directory 'types'. ========", @@ -16,7 +16,7 @@ "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "File '/node_modules/bar/package.json' does not exist.", "File '/node_modules/bar.d.ts' does not exist.", - "File '/node_modules/bar/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'alpha', containing file '/node_modules/foo/index.d.ts', root directory 'types'. ========", @@ -25,7 +25,7 @@ "Looking up in 'node_modules' folder, initial location '/node_modules/foo'.", "File '/node_modules/foo/node_modules/alpha/package.json' does not exist.", "File '/node_modules/foo/node_modules/alpha.d.ts' does not exist.", - "File '/node_modules/foo/node_modules/alpha/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'alpha', containing file '/node_modules/bar/index.d.ts', root directory 'types'. ========", @@ -34,7 +34,7 @@ "Looking up in 'node_modules' folder, initial location '/node_modules/bar'.", "File '/node_modules/bar/node_modules/alpha/package.json' does not exist.", "File '/node_modules/bar/node_modules/alpha.d.ts' does not exist.", - "File '/node_modules/bar/node_modules/alpha/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ 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 33c7d2c28bc..9bb914da222 100644 --- a/tests/baselines/reference/library-reference-6.trace.json +++ b/tests/baselines/reference/library-reference-6.trace.json @@ -2,7 +2,7 @@ "======== 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' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'alpha', containing file '/__inferred type names__.ts'. ========", diff --git a/tests/baselines/reference/library-reference-7.trace.json b/tests/baselines/reference/library-reference-7.trace.json index 5b084f13738..79516a61390 100644 --- a/tests/baselines/reference/library-reference-7.trace.json +++ b/tests/baselines/reference/library-reference-7.trace.json @@ -4,7 +4,7 @@ "Looking up in 'node_modules' folder, initial location '/src'.", "File '/src/node_modules/jquery/package.json' does not exist.", "File '/src/node_modules/jquery.d.ts' does not exist.", - "File '/src/node_modules/jquery/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ 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 4d5f694c934..7332af0a1cb 100644 --- a/tests/baselines/reference/library-reference-8.trace.json +++ b/tests/baselines/reference/library-reference-8.trace.json @@ -2,25 +2,25 @@ "======== 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/package.json' does not exist.", - "File '/test/types/alpha/index.d.ts' exist - use it as a name resolution result.", + "File '/test/types/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/test/types/alpha/index.d.ts', result '/test/types/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/test/types/alpha/index.d.ts', primary: true. ========", "======== Resolving type reference directive 'beta', containing file '/test/foo.ts', root directory '/test/types'. ========", "Resolving with primary search path '/test/types'.", "File '/test/types/beta/package.json' does not exist.", - "File '/test/types/beta/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== 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/package.json' does not exist according to earlier cached lookups.", - "File '/test/types/beta/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== 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/package.json' does not exist according to earlier cached lookups.", - "File '/test/types/alpha/index.d.ts' exist - use it as a name resolution result.", + "File '/test/types/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/test/types/alpha/index.d.ts', result '/test/types/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/test/types/alpha/index.d.ts', primary: true. ========", "======== Resolving type reference directive 'alpha', containing file '/test/__inferred type names__.ts'. ========", diff --git a/tests/baselines/reference/library-reference-scoped-packages.trace.json b/tests/baselines/reference/library-reference-scoped-packages.trace.json index cfc88198201..c3576ed31bc 100644 --- a/tests/baselines/reference/library-reference-scoped-packages.trace.json +++ b/tests/baselines/reference/library-reference-scoped-packages.trace.json @@ -6,7 +6,7 @@ "Scoped package detected, looking in 'beep__boop'", "File '/node_modules/@types/beep__boop/package.json' does not exist.", "File '/node_modules/@types/beep__boop.d.ts' does not exist.", - "File '/node_modules/@types/beep__boop/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json b/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json index 68b1f8c2a68..1e986019cd4 100644 --- a/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json +++ b/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json @@ -14,7 +14,7 @@ "File '/node_modules/shortid/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/shortid.js' does not exist.", "File '/node_modules/shortid.jsx' does not exist.", - "File '/node_modules/shortid/index.js' exist - use it as a name resolution result.", + "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'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json b/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json index e8b2a3d78f4..18004b1f3de 100644 --- a/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json +++ b/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json @@ -18,7 +18,7 @@ "File '/project/node_modules/anotherLib.d.ts' does not exist.", "File '/project/node_modules/anotherLib/index.ts' does not exist.", "File '/project/node_modules/anotherLib/index.tsx' does not exist.", - "File '/project/node_modules/anotherLib/index.d.ts' exist - use it as a name resolution result.", + "File '/project/node_modules/anotherLib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/project/node_modules/anotherLib/index.d.ts', result '/project/node_modules/anotherLib/index.d.ts'.", "======== Module name 'anotherLib' was successfully resolved to '/project/node_modules/anotherLib/index.d.ts'. ========", "======== Resolving module '@shared/lib/app' from '/project/src/app.ts'. ========", @@ -30,7 +30,7 @@ "Loading module as file / folder, candidate module location '/shared/lib/app', target file types: TypeScript, Declaration.", "File '/shared/lib/app.ts' does not exist.", "File '/shared/lib/app.tsx' does not exist.", - "File '/shared/lib/app.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'troublesome-lib/lib/Compactable' from '/project/node_modules/anotherLib/index.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -45,7 +45,7 @@ "'package.json' does not have a 'typesVersions' field.", "File '/project/node_modules/troublesome-lib/lib/Compactable.ts' does not exist.", "File '/project/node_modules/troublesome-lib/lib/Compactable.tsx' does not exist.", - "File '/project/node_modules/troublesome-lib/lib/Compactable.d.ts' exist - use it as a name resolution result.", + "File '/project/node_modules/troublesome-lib/lib/Compactable.d.ts' exists - use it as a name resolution result.", "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'. ========", "======== Resolving module './Option' from '/project/node_modules/troublesome-lib/lib/Compactable.d.ts'. ========", @@ -53,7 +53,7 @@ "Loading module as file / folder, candidate module location '/project/node_modules/troublesome-lib/lib/Option', target file types: TypeScript, Declaration.", "File '/project/node_modules/troublesome-lib/lib/Option.ts' does not exist.", "File '/project/node_modules/troublesome-lib/lib/Option.tsx' does not exist.", - "File '/project/node_modules/troublesome-lib/lib/Option.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'troublesome-lib/lib/Option' from '/shared/lib/app.d.ts'. ========", @@ -69,7 +69,7 @@ "'package.json' does not have a 'typesVersions' field.", "File '/shared/node_modules/troublesome-lib/lib/Option.ts' does not exist.", "File '/shared/node_modules/troublesome-lib/lib/Option.tsx' does not exist.", - "File '/shared/node_modules/troublesome-lib/lib/Option.d.ts' exist - use it as a name resolution result.", + "File '/shared/node_modules/troublesome-lib/lib/Option.d.ts' exists - use it as a name resolution result.", "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'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithExtensions.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions.trace.json index 88e2ce78e42..6df7a48a93c 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions.trace.json @@ -2,13 +2,13 @@ "======== 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' exist - use it as a name resolution result.", + "File '/src/a.ts' exists - use it as a name resolution result.", "======== Module name './a' was successfully resolved to '/src/a.ts'. ========", "======== 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' exist - use it as a name resolution result.", + "File '/src/a.ts' exists - use it as a name resolution result.", "======== Module name './a.js' was successfully resolved to '/src/a.ts'. ========", "======== Resolving module './jquery.js' from '/src/jquery_user_1.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -16,6 +16,6 @@ "File name '/src/jquery.js' has a '.js' extension - stripping it.", "File '/src/jquery.ts' does not exist.", "File '/src/jquery.tsx' does not exist.", - "File '/src/jquery.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 398967533f8..dda8d2f0973 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported.trace.json @@ -3,7 +3,7 @@ "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/tsx', target file types: TypeScript, Declaration.", "File '/tsx.ts' does not exist.", - "File '/tsx.tsx' exist - use it as a name resolution result.", + "File '/tsx.tsx' exists - use it as a name resolution result.", "======== Module name './tsx' was successfully resolved to '/tsx.tsx'. ========", "======== Resolving module './jsx' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -14,7 +14,7 @@ "Directory '/jsx' does not exist, skipping all lookups in it.", "Loading module as file / folder, candidate module location '/jsx', target file types: JavaScript.", "File '/jsx.js' does not exist.", - "File '/jsx.jsx' exist - use it as a name resolution result.", + "File '/jsx.jsx' exists - use it as a name resolution result.", "======== Module name './jsx' was successfully resolved to '/jsx.jsx'. ========", "======== Resolving module './js' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -24,6 +24,6 @@ "File '/js.d.ts' does not exist.", "Directory '/js' does not exist, skipping all lookups in it.", "Loading module as file / folder, candidate module location '/js', target file types: JavaScript.", - "File '/js.js' exist - use it as a name resolution result.", + "File '/js.js' exists - use it as a name resolution result.", "======== Module name './js' was successfully resolved to '/js.js'. ========" ] \ 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 68cb9a05ca8..39140141c8f 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported2.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported2.trace.json @@ -8,6 +8,6 @@ "Directory '/jsx' does not exist, skipping all lookups in it.", "Loading module as file / folder, candidate module location '/jsx', target file types: JavaScript.", "File '/jsx.js' does not exist.", - "File '/jsx.jsx' exist - use it as a name resolution result.", + "File '/jsx.jsx' exists - use it as a name resolution result.", "======== Module name './jsx' was successfully resolved to '/jsx.jsx'. ========" ] \ 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 68cb9a05ca8..39140141c8f 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported3.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported3.trace.json @@ -8,6 +8,6 @@ "Directory '/jsx' does not exist, skipping all lookups in it.", "Loading module as file / folder, candidate module location '/jsx', target file types: JavaScript.", "File '/jsx.js' does not exist.", - "File '/jsx.jsx' exist - use it as a name resolution result.", + "File '/jsx.jsx' exists - use it as a name resolution result.", "======== Module name './jsx' was successfully resolved to '/jsx.jsx'. ========" ] \ 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 b2d80118a7a..f62564d9126 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json @@ -12,7 +12,7 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'normalize.css' that references '/node_modules/normalize.css/normalize.css'.", - "File '/node_modules/normalize.css/normalize.css' exist - use it as a name resolution result.", + "File '/node_modules/normalize.css/normalize.css' exists - use it as a name resolution result.", "File '/node_modules/normalize.css/normalize.css' has an unsupported extension, so skipping it.", "Loading module as file / folder, candidate module location '/node_modules/normalize.css/normalize.css', target file types: TypeScript, Declaration.", "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", @@ -32,7 +32,7 @@ "File '/node_modules/normalize.css.js' does not exist.", "File '/node_modules/normalize.css.jsx' does not exist.", "'package.json' has 'main' field 'normalize.css' that references '/node_modules/normalize.css/normalize.css'.", - "File '/node_modules/normalize.css/normalize.css' exist - use it as a name resolution result.", + "File '/node_modules/normalize.css/normalize.css' exists - use it as a name resolution result.", "File '/node_modules/normalize.css/normalize.css' has an unsupported extension, so skipping it.", "Loading module as file / folder, candidate module location '/node_modules/normalize.css/normalize.css', target file types: JavaScript.", "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json index 763ca67cbcf..a4bb7b420c0 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json @@ -9,7 +9,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'foo.js' that references '/node_modules/foo/foo.js'.", - "File '/node_modules/foo/foo.js' exist - use it as a name resolution result.", + "File '/node_modules/foo/foo.js' exists - use it as a name resolution result.", "File '/node_modules/foo/foo.js' has an unsupported extension, so skipping it.", "Loading module as file / folder, candidate module location '/node_modules/foo/foo.js', target file types: TypeScript, Declaration.", "File name '/node_modules/foo/foo.js' has a '.js' extension - stripping it.", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json index b1980d66bb2..03214ef1f4a 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json @@ -14,7 +14,7 @@ "File '/node_modules/js/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/js.js' does not exist.", "File '/node_modules/js.jsx' does not exist.", - "File '/node_modules/js/index.js' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 3c7d1bfb227..7b21069a139 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.trace.json @@ -9,7 +9,7 @@ "File name '/node_modules/foo/lib/test.js' has a '.js' extension - stripping it.", "File '/node_modules/foo/lib/test.ts' does not exist.", "File '/node_modules/foo/lib/test.tsx' does not exist.", - "File '/node_modules/foo/lib/test.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/foo/lib/test.d.ts' exists - use it as a name resolution result.", "File '/node_modules/foo/package.json' does not exist.", "======== Module name 'foo/test.js' was successfully resolved to '/node_modules/foo/lib/test.d.ts'. ========", "======== Resolving module 'foo/test' from '/test.ts'. ========", @@ -21,7 +21,7 @@ "Loading module as file / folder, candidate module location '/node_modules/foo/lib/test', target file types: TypeScript, Declaration.", "File '/node_modules/foo/lib/test.ts' does not exist.", "File '/node_modules/foo/lib/test.tsx' does not exist.", - "File '/node_modules/foo/lib/test.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/foo/lib/test.d.ts' exists - use it as a name resolution result.", "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", "======== Module name 'foo/test' was successfully resolved to '/node_modules/foo/lib/test.d.ts'. ========", "======== Resolving module './relative.js' from '/test.ts'. ========", @@ -30,13 +30,13 @@ "File name '/relative.js' has a '.js' extension - stripping it.", "File '/relative.ts' does not exist.", "File '/relative.tsx' does not exist.", - "File '/relative.d.ts' exist - use it as a name resolution result.", + "File '/relative.d.ts' exists - use it as a name resolution result.", "======== Module name './relative.js' was successfully resolved to '/relative.d.ts'. ========", "======== Resolving module './relative' from '/test.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/relative', target file types: TypeScript, Declaration.", "File '/relative.ts' does not exist.", "File '/relative.tsx' does not exist.", - "File '/relative.d.ts' exist - use it as a name resolution result.", + "File '/relative.d.ts' exists - use it as a name resolution result.", "======== Module name './relative' was successfully resolved to '/relative.d.ts'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json b/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json index 8ff75fbbc53..3054e252680 100644 --- a/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json +++ b/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json @@ -2,6 +2,6 @@ "======== 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' exist - use it as a name resolution result.", + "File '/other.ts' exists - use it as a name resolution result.", "======== Module name './other' was successfully resolved to '/other.ts'. ========" ] \ 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 88b7c6c215a..b40a3a5fa0c 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_empty.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_empty.trace.json @@ -2,6 +2,6 @@ "======== 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' exist - use it as a name resolution result.", + "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo.ts'. ========" ] \ 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 88b7c6c215a..b40a3a5fa0c 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_notSpecified.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_notSpecified.trace.json @@ -2,6 +2,6 @@ "======== 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' exist - use it as a name resolution result.", + "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo.ts'. ========" ] \ 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 397dbd92206..8fd9617dd03 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one.trace.json @@ -2,6 +2,6 @@ "======== 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' exist - use it as a name resolution result.", + "File '/foo.ios.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo.ios.ts'. ========" ] \ 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 88b7c6c215a..b40a3a5fa0c 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_oneBlank.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_oneBlank.trace.json @@ -2,6 +2,6 @@ "======== 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' exist - use it as a name resolution result.", + "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo.ts'. ========" ] \ 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 dc8bccadaf3..0a7eb222dcc 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_dirModuleWithIndex.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_dirModuleWithIndex.trace.json @@ -6,6 +6,6 @@ "File '/foo.ios.tsx' does not exist.", "File '/foo.ios.d.ts' does not exist.", "File '/foo/package.json' does not exist.", - "File '/foo/index.ios.ts' exist - use it as a name resolution result.", + "File '/foo/index.ios.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo/index.ios.ts'. ========" ] \ 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 ba12a608aa6..f99e891ffe8 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.trace.json @@ -8,7 +8,7 @@ "File '/node_modules/some-library.ios.d.ts' does not exist.", "File '/node_modules/some-library/index.ios.ts' does not exist.", "File '/node_modules/some-library/index.ios.tsx' does not exist.", - "File '/node_modules/some-library/index.ios.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 bd0cd57cd4c..93f59decfe3 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.trace.json @@ -5,7 +5,7 @@ "File '/node_modules/some-library/package.json' does not exist.", "File '/node_modules/some-library/foo.ios.ts' does not exist.", "File '/node_modules/some-library/foo.ios.tsx' does not exist.", - "File '/node_modules/some-library/foo.ios.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 d3c95ab9ee3..39f0d3445a3 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.trace.json @@ -12,7 +12,7 @@ "File '/node_modules/some-library/lib/package.json' does not exist.", "File '/node_modules/some-library/lib/index.ios.ts' does not exist.", "File '/node_modules/some-library/lib/index.ios.tsx' does not exist.", - "File '/node_modules/some-library/lib/index.ios.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/some-library/lib/index.ios.d.ts' exists - use it as a name resolution result.", "======== Module name 'some-library' was successfully resolved to '/node_modules/some-library/lib/index.ios.d.ts'. ========", "======== Resolving module 'some-library/index' from '/test.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", @@ -23,7 +23,7 @@ "Loading module as file / folder, candidate module location '/node_modules/some-library/lib/index', target file types: TypeScript, Declaration.", "File '/node_modules/some-library/lib/index.ios.ts' does not exist.", "File '/node_modules/some-library/lib/index.ios.tsx' does not exist.", - "File '/node_modules/some-library/lib/index.ios.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/some-library/lib/index.ios.d.ts' exists - use it as a name resolution result.", "File '/node_modules/some-library/package.json' does not exist.", "======== Module name 'some-library/index' was successfully resolved to '/node_modules/some-library/lib/index.ios.d.ts'. ========", "======== Resolving module 'some-library/index.js' from '/test.ts'. ========", @@ -36,7 +36,7 @@ "File name '/node_modules/some-library/lib/index.js' has a '.js' extension - stripping it.", "File '/node_modules/some-library/lib/index.ios.ts' does not exist.", "File '/node_modules/some-library/lib/index.ios.tsx' does not exist.", - "File '/node_modules/some-library/lib/index.ios.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/some-library/lib/index.ios.d.ts' exists - use it as a name resolution result.", "File '/node_modules/some-library/package.json' does not exist according to earlier cached lookups.", "======== Module name 'some-library/index.js' was successfully resolved to '/node_modules/some-library/lib/index.ios.d.ts'. ========" ] \ 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 096127c548a..360fb0ec923 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.trace.json @@ -6,7 +6,7 @@ "File '/node_modules/some-library.ios.ts' does not exist.", "File '/node_modules/some-library.ios.tsx' does not exist.", "File '/node_modules/some-library.ios.d.ts' does not exist.", - "File '/node_modules/some-library/index.ios.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 aa6b8b5f8cb..ca65243e56a 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsModule.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsModule.trace.json @@ -12,6 +12,6 @@ "Directory '/foo.js' does not exist, skipping all lookups in it.", "Loading module as file / folder, candidate module location '/foo.js', target file types: JavaScript.", "File name '/foo.js' has a '.js' extension - stripping it.", - "File '/foo.ios.js' exist - use it as a name resolution result.", + "File '/foo.ios.js' exists - use it as a name resolution result.", "======== Module name './foo.js' was successfully resolved to '/foo.ios.js'. ========" ] \ 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 c09cc1038a8..b3076e9b349 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsonModule.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsonModule.trace.json @@ -10,6 +10,6 @@ "Directory '/foo.json' does not exist, skipping all lookups in it.", "Loading module as file / folder, candidate module location '/foo.json', target file types: JavaScript, JSON.", "File name '/foo.json' has a '.json' extension - stripping it.", - "File '/foo.ios.json' exist - use it as a name resolution result.", + "File '/foo.ios.json' exists - use it as a name resolution result.", "======== Module name './foo.json' was successfully resolved to '/foo.ios.json'. ========" ] \ 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 0ded2f4d0a8..48eea36cb92 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank1.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank1.trace.json @@ -2,6 +2,6 @@ "======== 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' exist - use it as a name resolution result.", + "File '/foo-ios.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo-ios.ts'. ========" ] \ 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 6c7346228eb..03f0f1087af 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank2.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank2.trace.json @@ -3,6 +3,6 @@ "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' exist - use it as a name resolution result.", + "File '/foo__native.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo__native.ts'. ========" ] \ 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 5c630340ae2..8cb50125449 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank3.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank3.trace.json @@ -4,6 +4,6 @@ "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' does not exist.", - "File '/foo.ts' exist - use it as a name resolution result.", + "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo.ts'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json index beea294ae33..818c2d2608f 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json @@ -6,7 +6,7 @@ "File '/src/library-a.tsx' does not exist.", "File '/src/library-a.d.ts' does not exist.", "File '/src/library-a/package.json' does not exist.", - "File '/src/library-a/index.ts' exist - use it as a name resolution result.", + "File '/src/library-a/index.ts' exists - use it as a name resolution result.", "======== Module name './library-a' was successfully resolved to '/src/library-a/index.ts'. ========", "======== Resolving module './library-b' from '/src/app.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -15,7 +15,7 @@ "File '/src/library-b.tsx' does not exist.", "File '/src/library-b.d.ts' does not exist.", "File '/src/library-b/package.json' does not exist.", - "File '/src/library-b/index.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'library-a' from '/src/library-b/index.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -24,7 +24,7 @@ "File '/src/library-b/node_modules/library-a.ts' does not exist.", "File '/src/library-b/node_modules/library-a.tsx' does not exist.", "File '/src/library-b/node_modules/library-a.d.ts' does not exist.", - "File '/src/library-b/node_modules/library-a/index.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 e680b807d5e..ac1eac35058 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_notInNodeModules.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_notInNodeModules.trace.json @@ -2,11 +2,11 @@ "======== 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.", - "File '/src/shared/abc.ts' exist - use it as a name resolution result.", + "File '/src/shared/abc.ts' exists - use it as a name resolution result.", "======== Module name './shared/abc' was successfully resolved to '/src/shared/abc.ts'. ========", "======== Resolving module './shared2/abc' from '/src/app.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/src/shared2/abc', target file types: TypeScript, Declaration.", - "File '/src/shared2/abc.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 c650bbb4461..a48f4ea42f8 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json @@ -4,7 +4,7 @@ "Looking up in 'node_modules' folder, initial location '/app'.", "File '/app/node_modules/linked/package.json' does not exist.", "File '/app/node_modules/linked.d.ts' does not exist.", - "File '/app/node_modules/linked/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving module 'real' from '/app/node_modules/linked/index.d.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", @@ -16,7 +16,7 @@ "File '/app/node_modules/real.d.ts' does not exist.", "File '/app/node_modules/real/index.ts' does not exist.", "File '/app/node_modules/real/index.tsx' does not exist.", - "File '/app/node_modules/real/index.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'linked' from '/app/app.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", @@ -27,7 +27,7 @@ "File '/app/node_modules/linked.d.ts' does not exist.", "File '/app/node_modules/linked/index.ts' does not exist.", "File '/app/node_modules/linked/index.tsx' does not exist.", - "File '/app/node_modules/linked/index.d.ts' exist - use it as a name resolution result.", + "File '/app/node_modules/linked/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'linked' was successfully resolved to '/app/node_modules/linked/index.d.ts'. ========", "======== Resolving module 'linked2' from '/app/app.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", @@ -38,7 +38,7 @@ "File '/app/node_modules/linked2.d.ts' does not exist.", "File '/app/node_modules/linked2/index.ts' does not exist.", "File '/app/node_modules/linked2/index.tsx' does not exist.", - "File '/app/node_modules/linked2/index.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'real' from '/app/node_modules/linked2/index.d.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", @@ -50,6 +50,6 @@ "File '/app/node_modules/real.d.ts' does not exist.", "File '/app/node_modules/real/index.ts' does not exist.", "File '/app/node_modules/real/index.tsx' does not exist.", - "File '/app/node_modules/real/index.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 48be1a4cda8..612f6940e25 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.trace.json @@ -5,7 +5,7 @@ "File '/node_modules/library-a.d.ts' does not exist.", "File '/node_modules/@types/library-a/package.json' does not exist.", "File '/node_modules/@types/library-a.d.ts' does not exist.", - "File '/node_modules/@types/library-a/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/library-a/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/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. ========", "======== Resolving type reference directive 'library-b', containing file '/app.ts', root directory ''. ========", @@ -14,7 +14,7 @@ "File '/node_modules/library-b.d.ts' does not exist.", "File '/node_modules/@types/library-b/package.json' does not exist.", "File '/node_modules/@types/library-b.d.ts' does not exist.", - "File '/node_modules/@types/library-b/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'library-a', containing file '/node_modules/@types/library-b/index.d.ts', root directory ''. ========", @@ -23,7 +23,7 @@ "File '/node_modules/@types/library-b/node_modules/library-a.d.ts' does not exist.", "File '/node_modules/@types/library-b/node_modules/@types/library-a/package.json' does not exist.", "File '/node_modules/@types/library-b/node_modules/@types/library-a.d.ts' does not exist.", - "File '/node_modules/@types/library-b/node_modules/@types/library-a/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ 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 beea294ae33..818c2d2608f 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_withOutDir.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_withOutDir.trace.json @@ -6,7 +6,7 @@ "File '/src/library-a.tsx' does not exist.", "File '/src/library-a.d.ts' does not exist.", "File '/src/library-a/package.json' does not exist.", - "File '/src/library-a/index.ts' exist - use it as a name resolution result.", + "File '/src/library-a/index.ts' exists - use it as a name resolution result.", "======== Module name './library-a' was successfully resolved to '/src/library-a/index.ts'. ========", "======== Resolving module './library-b' from '/src/app.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -15,7 +15,7 @@ "File '/src/library-b.tsx' does not exist.", "File '/src/library-b.d.ts' does not exist.", "File '/src/library-b/package.json' does not exist.", - "File '/src/library-b/index.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'library-a' from '/src/library-b/index.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -24,7 +24,7 @@ "File '/src/library-b/node_modules/library-a.ts' does not exist.", "File '/src/library-b/node_modules/library-a.tsx' does not exist.", "File '/src/library-b/node_modules/library-a.d.ts' does not exist.", - "File '/src/library-b/node_modules/library-a/index.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 ab1fa51e7ae..2107c32aace 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json @@ -9,7 +9,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'types.d.ts' that references '/node_modules/foo/bar/types.d.ts'.", - "File '/node_modules/foo/bar/types.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 63d298654a2..8d2b32989cf 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json @@ -9,7 +9,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'types.d.ts' that references '/node_modules/foo/@bar/types.d.ts'.", - "File '/node_modules/foo/@bar/types.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 74d2a5651b5..6b0906831f5 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json @@ -9,7 +9,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'types.d.ts' that references '/node_modules/@foo/bar/types.d.ts'.", - "File '/node_modules/@foo/bar/types.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 51cc1aa2199..8d3018f3588 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot.trace.json @@ -30,7 +30,7 @@ "File '/node_modules/foo/bar.js' does not exist.", "File '/node_modules/foo/bar.jsx' does not exist.", "'package.json' does not have a 'main' field.", - "File '/node_modules/foo/bar/index.js' exist - use it as a name resolution result.", + "File '/node_modules/foo/bar/index.js' exists - use it as a name resolution result.", "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'. ========" ] \ 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 b68ea6c9c7f..6e472461e8b 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_fakeScopedPackage.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_fakeScopedPackage.trace.json @@ -30,7 +30,7 @@ "File '/node_modules/foo/@bar.js' does not exist.", "File '/node_modules/foo/@bar.jsx' does not exist.", "'package.json' does not have a 'main' field.", - "File '/node_modules/foo/@bar/index.js' exist - use it as a name resolution result.", + "File '/node_modules/foo/@bar/index.js' exists - use it as a name resolution result.", "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'. ========" ] \ 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 9530ebb813a..fdd8de393d3 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json @@ -15,7 +15,7 @@ "File name '/node_modules/foo/src/index.js' has a '.js' extension - stripping it.", "File '/node_modules/foo/src/index.ts' does not exist.", "File '/node_modules/foo/src/index.tsx' does not exist.", - "File '/node_modules/foo/src/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/foo/src/index.d.ts' exists - use it as a name resolution result.", "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'. ========" ] \ 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 b6dd002185a..dbfe06ad518 100644 --- a/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=bundler).trace.json +++ b/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=bundler).trace.json @@ -11,7 +11,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field '../esm/useMergedRefs.d.ts' that references '/node_modules/@restart/hooks/esm/useMergedRefs.d.ts'.", - "File '/node_modules/@restart/hooks/esm/useMergedRefs.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=node16).trace.json b/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=node16).trace.json index 986ba264c0f..535ac881f32 100644 --- a/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=node16).trace.json +++ b/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=node16).trace.json @@ -15,7 +15,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field '../esm/useMergedRefs.d.ts' that references '/node_modules/@restart/hooks/esm/useMergedRefs.d.ts'.", - "File '/node_modules/@restart/hooks/esm/useMergedRefs.d.ts' exist - use it as a name resolution result.", + "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 'package.json' does not exist.", diff --git a/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=nodenext).trace.json b/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=nodenext).trace.json index 5dfb35ce797..423fa1a6e92 100644 --- a/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=nodenext).trace.json +++ b/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=nodenext).trace.json @@ -15,7 +15,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field '../esm/useMergedRefs.d.ts' that references '/node_modules/@restart/hooks/esm/useMergedRefs.d.ts'.", - "File '/node_modules/@restart/hooks/esm/useMergedRefs.d.ts' exist - use it as a name resolution result.", + "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 'package.json' does not exist.", diff --git a/tests/baselines/reference/node10IsNode_node.trace.json b/tests/baselines/reference/node10IsNode_node.trace.json index fc26e432f02..64f126aa694 100644 --- a/tests/baselines/reference/node10IsNode_node.trace.json +++ b/tests/baselines/reference/node10IsNode_node.trace.json @@ -15,7 +15,7 @@ "File name '/node_modules/fancy-lib/index.js' has a '.js' extension - stripping it.", "File '/node_modules/fancy-lib/index.ts' does not exist.", "File '/node_modules/fancy-lib/index.tsx' does not exist.", - "File '/node_modules/fancy-lib/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/fancy-lib/index.d.ts' exists - use it as a name resolution result.", "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'. ========" ] \ 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 fc26e432f02..64f126aa694 100644 --- a/tests/baselines/reference/node10IsNode_node10.trace.json +++ b/tests/baselines/reference/node10IsNode_node10.trace.json @@ -15,7 +15,7 @@ "File name '/node_modules/fancy-lib/index.js' has a '.js' extension - stripping it.", "File '/node_modules/fancy-lib/index.ts' does not exist.", "File '/node_modules/fancy-lib/index.tsx' does not exist.", - "File '/node_modules/fancy-lib/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/fancy-lib/index.d.ts' exists - use it as a name resolution result.", "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'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesAtTypesPriority.trace.json b/tests/baselines/reference/nodeModulesAtTypesPriority.trace.json index a57c094e0df..55d99d60406 100644 --- a/tests/baselines/reference/nodeModulesAtTypesPriority.trace.json +++ b/tests/baselines/reference/nodeModulesAtTypesPriority.trace.json @@ -36,7 +36,7 @@ "File '/node_modules/react.d.ts' does not exist.", "File '/node_modules/@types/react/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/react.d.ts' does not exist.", - "File '/node_modules/@types/react/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/react/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/react/index.d.ts', result '/node_modules/@types/react/index.d.ts'.", "======== Module name 'react' was successfully resolved to '/node_modules/@types/react/index.d.ts'. ========", "======== Resolving module 'redux' from '/packages/a/index.ts'. ========", @@ -52,19 +52,19 @@ "File '/packages/a/node_modules/redux.d.ts' does not exist.", "File '/packages/a/node_modules/redux/index.ts' does not exist.", "File '/packages/a/node_modules/redux/index.tsx' does not exist.", - "File '/packages/a/node_modules/redux/index.d.ts' exist - use it as a name resolution result.", + "File '/packages/a/node_modules/redux/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/packages/a/node_modules/redux/index.d.ts', result '/packages/a/node_modules/redux/index.d.ts'.", "======== Module name 'redux' was successfully resolved to '/packages/a/node_modules/redux/index.d.ts'. ========", "======== Resolving type reference directive 'react', containing file '__inferred type names__.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/react/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/react/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/react/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/react/index.d.ts', result '/node_modules/@types/react/index.d.ts'.", "======== Type reference directive 'react' was successfully resolved to '/node_modules/@types/react/index.d.ts', primary: true. ========", "======== Resolving type reference directive 'redux', containing file '__inferred type names__.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/redux/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/redux/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/redux/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/redux/index.d.ts', result '/node_modules/@types/redux/index.d.ts'.", "======== Type reference directive 'redux' was successfully resolved to '/node_modules/@types/redux/index.d.ts', primary: true. ========", "File 'package.json' does not exist.", diff --git a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).trace.json b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).trace.json index 85626d1375d..0d6bc61258e 100644 --- a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).trace.json +++ b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).trace.json @@ -19,7 +19,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Using 'exports' subpath './foo' with target './dist/foo.js'.", "File name '/node_modules/exports-and-types-versions/dist/foo.js' has a '.js' extension - stripping it.", - "File '/node_modules/exports-and-types-versions/dist/foo.js' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/dist/foo.js' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/dist/foo.js', result '/node_modules/exports-and-types-versions/dist/foo.js'.", "======== Module name 'exports-and-types-versions/foo' was successfully resolved to '/node_modules/exports-and-types-versions/dist/foo.js' with Package ID 'exports-and-types-versions/dist/foo.js@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/nope' from '/main.cts'. ========", @@ -41,7 +41,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Matched 'exports' condition 'types'.", "Using 'exports' subpath './yep' with target './types/foo.d.ts'.", - "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", "======== Module name 'exports-and-types-versions/yep' was successfully resolved to '/node_modules/exports-and-types-versions/types/foo.d.ts' with Package ID 'exports-and-types-versions/types/foo.d.ts@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/versioned-yep' from '/main.cts'. ========", @@ -52,7 +52,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Matched 'exports' condition 'types@>=4'.", "Using 'exports' subpath './versioned-yep' with target './types/foo.d.ts'.", - "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", "======== Module name 'exports-and-types-versions/versioned-yep' was successfully resolved to '/node_modules/exports-and-types-versions/types/foo.d.ts' with Package ID 'exports-and-types-versions/types/foo.d.ts@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/versioned-nah' from '/main.cts'. ========", @@ -78,7 +78,7 @@ "'package.json' has a 'typesVersions' entry '*' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'foo'.", "Module name 'foo', matched pattern 'foo'.", "Trying substitution './types/foo.d.ts', candidate module location: './types/foo.d.ts'.", - "File '/node_modules/just-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/just-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/just-types-versions/types/foo.d.ts', result '/node_modules/just-types-versions/types/foo.d.ts'.", "======== Module name 'just-types-versions/foo' was successfully resolved to '/node_modules/just-types-versions/types/foo.d.ts'. ========", "======== Resolving module 'exports-and-types-versions/foo' from '/main.mts'. ========", @@ -97,7 +97,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Using 'exports' subpath './foo' with target './dist/foo.js'.", "File name '/node_modules/exports-and-types-versions/dist/foo.js' has a '.js' extension - stripping it.", - "File '/node_modules/exports-and-types-versions/dist/foo.js' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/dist/foo.js' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/dist/foo.js', result '/node_modules/exports-and-types-versions/dist/foo.js'.", "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", "File '/package.json' does not exist according to earlier cached lookups.", @@ -107,7 +107,7 @@ "'package.json' has a 'typesVersions' entry '*' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'foo'.", "Module name 'foo', matched pattern 'foo'.", "Trying substitution './types/foo.d.ts', candidate module location: './types/foo.d.ts'.", - "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", "======== Module name 'exports-and-types-versions/foo' was successfully resolved to '/node_modules/exports-and-types-versions/dist/foo.js' with Package ID 'exports-and-types-versions/dist/foo.js@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/nope' from '/main.mts'. ========", @@ -129,7 +129,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Matched 'exports' condition 'types'.", "Using 'exports' subpath './yep' with target './types/foo.d.ts'.", - "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", "======== Module name 'exports-and-types-versions/yep' was successfully resolved to '/node_modules/exports-and-types-versions/types/foo.d.ts' with Package ID 'exports-and-types-versions/types/foo.d.ts@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/versioned-yep' from '/main.mts'. ========", @@ -140,7 +140,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Matched 'exports' condition 'types@>=4'.", "Using 'exports' subpath './versioned-yep' with target './types/foo.d.ts'.", - "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", "======== Module name 'exports-and-types-versions/versioned-yep' was successfully resolved to '/node_modules/exports-and-types-versions/types/foo.d.ts' with Package ID 'exports-and-types-versions/types/foo.d.ts@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/versioned-nah' from '/main.mts'. ========", @@ -165,7 +165,7 @@ "'package.json' has a 'typesVersions' entry '*' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'foo'.", "Module name 'foo', matched pattern 'foo'.", "Trying substitution './types/foo.d.ts', candidate module location: './types/foo.d.ts'.", - "File '/node_modules/just-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/just-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/just-types-versions/types/foo.d.ts', result '/node_modules/just-types-versions/types/foo.d.ts'.", "======== Module name 'just-types-versions/foo' was successfully resolved to '/node_modules/just-types-versions/types/foo.d.ts'. ========", "File 'package.json' does not exist.", diff --git a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).trace.json b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).trace.json index d87b67457f1..9edc0b7b866 100644 --- a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).trace.json +++ b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).trace.json @@ -19,7 +19,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Using 'exports' subpath './foo' with target './dist/foo.js'.", "File name '/node_modules/exports-and-types-versions/dist/foo.js' has a '.js' extension - stripping it.", - "File '/node_modules/exports-and-types-versions/dist/foo.js' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/dist/foo.js' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/dist/foo.js', result '/node_modules/exports-and-types-versions/dist/foo.js'.", "======== Module name 'exports-and-types-versions/foo' was successfully resolved to '/node_modules/exports-and-types-versions/dist/foo.js' with Package ID 'exports-and-types-versions/dist/foo.js@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/nope' from '/main.cts'. ========", @@ -41,7 +41,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Matched 'exports' condition 'types'.", "Using 'exports' subpath './yep' with target './types/foo.d.ts'.", - "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", "======== Module name 'exports-and-types-versions/yep' was successfully resolved to '/node_modules/exports-and-types-versions/types/foo.d.ts' with Package ID 'exports-and-types-versions/types/foo.d.ts@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/versioned-yep' from '/main.cts'. ========", @@ -52,7 +52,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Matched 'exports' condition 'types@>=4'.", "Using 'exports' subpath './versioned-yep' with target './types/foo.d.ts'.", - "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", "======== Module name 'exports-and-types-versions/versioned-yep' was successfully resolved to '/node_modules/exports-and-types-versions/types/foo.d.ts' with Package ID 'exports-and-types-versions/types/foo.d.ts@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/versioned-nah' from '/main.cts'. ========", @@ -78,7 +78,7 @@ "'package.json' has a 'typesVersions' entry '*' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'foo'.", "Module name 'foo', matched pattern 'foo'.", "Trying substitution './types/foo.d.ts', candidate module location: './types/foo.d.ts'.", - "File '/node_modules/just-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/just-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/just-types-versions/types/foo.d.ts', result '/node_modules/just-types-versions/types/foo.d.ts'.", "======== Module name 'just-types-versions/foo' was successfully resolved to '/node_modules/just-types-versions/types/foo.d.ts'. ========", "======== Resolving module 'exports-and-types-versions/foo' from '/main.mts'. ========", @@ -97,7 +97,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Using 'exports' subpath './foo' with target './dist/foo.js'.", "File name '/node_modules/exports-and-types-versions/dist/foo.js' has a '.js' extension - stripping it.", - "File '/node_modules/exports-and-types-versions/dist/foo.js' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/dist/foo.js' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/dist/foo.js', result '/node_modules/exports-and-types-versions/dist/foo.js'.", "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", "File '/package.json' does not exist according to earlier cached lookups.", @@ -107,7 +107,7 @@ "'package.json' has a 'typesVersions' entry '*' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'foo'.", "Module name 'foo', matched pattern 'foo'.", "Trying substitution './types/foo.d.ts', candidate module location: './types/foo.d.ts'.", - "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", "======== Module name 'exports-and-types-versions/foo' was successfully resolved to '/node_modules/exports-and-types-versions/dist/foo.js' with Package ID 'exports-and-types-versions/dist/foo.js@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/nope' from '/main.mts'. ========", @@ -129,7 +129,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Matched 'exports' condition 'types'.", "Using 'exports' subpath './yep' with target './types/foo.d.ts'.", - "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", "======== Module name 'exports-and-types-versions/yep' was successfully resolved to '/node_modules/exports-and-types-versions/types/foo.d.ts' with Package ID 'exports-and-types-versions/types/foo.d.ts@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/versioned-yep' from '/main.mts'. ========", @@ -140,7 +140,7 @@ "File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", "Matched 'exports' condition 'types@>=4'.", "Using 'exports' subpath './versioned-yep' with target './types/foo.d.ts'.", - "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/exports-and-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", "======== Module name 'exports-and-types-versions/versioned-yep' was successfully resolved to '/node_modules/exports-and-types-versions/types/foo.d.ts' with Package ID 'exports-and-types-versions/types/foo.d.ts@1.0.0'. ========", "======== Resolving module 'exports-and-types-versions/versioned-nah' from '/main.mts'. ========", @@ -165,7 +165,7 @@ "'package.json' has a 'typesVersions' entry '*' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'foo'.", "Module name 'foo', matched pattern 'foo'.", "Trying substitution './types/foo.d.ts', candidate module location: './types/foo.d.ts'.", - "File '/node_modules/just-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/just-types-versions/types/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/just-types-versions/types/foo.d.ts', result '/node_modules/just-types-versions/types/foo.d.ts'.", "======== Module name 'just-types-versions/foo' was successfully resolved to '/node_modules/just-types-versions/types/foo.d.ts'. ========", "File 'package.json' does not exist.", diff --git a/tests/baselines/reference/nodeModulesPackageImports(module=node16).trace.json b/tests/baselines/reference/nodeModulesPackageImports(module=node16).trace.json index 2bc0174a861..aef5226d97e 100644 --- a/tests/baselines/reference/nodeModulesPackageImports(module=node16).trace.json +++ b/tests/baselines/reference/nodeModulesPackageImports(module=node16).trace.json @@ -6,7 +6,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/index.cjs' has a '.cjs' extension - stripping it.", - "File 'tests/cases/conformance/node/index.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.cts', result 'tests/cases/conformance/node/index.cts'.", "======== Module name '#cjs' was successfully resolved to 'tests/cases/conformance/node/index.cts'. ========", "======== Resolving module '#mjs' from 'tests/cases/conformance/node/index.ts'. ========", @@ -15,7 +15,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/index.mjs' has a '.mjs' extension - stripping it.", - "File 'tests/cases/conformance/node/index.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.mts', result 'tests/cases/conformance/node/index.mts'.", "======== Module name '#mjs' was successfully resolved to 'tests/cases/conformance/node/index.mts'. ========", "======== Resolving module '#type' from 'tests/cases/conformance/node/index.ts'. ========", @@ -24,7 +24,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#type' with target './index.js'.", "File name 'tests/cases/conformance/node/index.js' has a '.js' extension - stripping it.", - "File 'tests/cases/conformance/node/index.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.ts', result 'tests/cases/conformance/node/index.ts'.", "======== Module name '#type' was successfully resolved to 'tests/cases/conformance/node/index.ts'. ========", "======== Resolving module '#cjs' from 'tests/cases/conformance/node/index.cts'. ========", @@ -33,7 +33,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/index.cjs' has a '.cjs' extension - stripping it.", - "File 'tests/cases/conformance/node/index.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.cts', result 'tests/cases/conformance/node/index.cts'.", "======== Module name '#cjs' was successfully resolved to 'tests/cases/conformance/node/index.cts'. ========", "======== Resolving module '#mjs' from 'tests/cases/conformance/node/index.cts'. ========", @@ -42,7 +42,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/index.mjs' has a '.mjs' extension - stripping it.", - "File 'tests/cases/conformance/node/index.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.mts', result 'tests/cases/conformance/node/index.mts'.", "======== Module name '#mjs' was successfully resolved to 'tests/cases/conformance/node/index.mts'. ========", "======== Resolving module '#type' from 'tests/cases/conformance/node/index.cts'. ========", @@ -51,7 +51,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#type' with target './index.js'.", "File name 'tests/cases/conformance/node/index.js' has a '.js' extension - stripping it.", - "File 'tests/cases/conformance/node/index.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.ts', result 'tests/cases/conformance/node/index.ts'.", "======== Module name '#type' was successfully resolved to 'tests/cases/conformance/node/index.ts'. ========", "======== Resolving module '#cjs' from 'tests/cases/conformance/node/index.mts'. ========", diff --git a/tests/baselines/reference/nodeModulesPackageImports(module=nodenext).trace.json b/tests/baselines/reference/nodeModulesPackageImports(module=nodenext).trace.json index fe767320bdd..c2596f45a55 100644 --- a/tests/baselines/reference/nodeModulesPackageImports(module=nodenext).trace.json +++ b/tests/baselines/reference/nodeModulesPackageImports(module=nodenext).trace.json @@ -6,7 +6,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/index.cjs' has a '.cjs' extension - stripping it.", - "File 'tests/cases/conformance/node/index.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.cts', result 'tests/cases/conformance/node/index.cts'.", "======== Module name '#cjs' was successfully resolved to 'tests/cases/conformance/node/index.cts'. ========", "======== Resolving module '#mjs' from 'tests/cases/conformance/node/index.ts'. ========", @@ -15,7 +15,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/index.mjs' has a '.mjs' extension - stripping it.", - "File 'tests/cases/conformance/node/index.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.mts', result 'tests/cases/conformance/node/index.mts'.", "======== Module name '#mjs' was successfully resolved to 'tests/cases/conformance/node/index.mts'. ========", "======== Resolving module '#type' from 'tests/cases/conformance/node/index.ts'. ========", @@ -24,7 +24,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#type' with target './index.js'.", "File name 'tests/cases/conformance/node/index.js' has a '.js' extension - stripping it.", - "File 'tests/cases/conformance/node/index.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.ts', result 'tests/cases/conformance/node/index.ts'.", "======== Module name '#type' was successfully resolved to 'tests/cases/conformance/node/index.ts'. ========", "======== Resolving module '#cjs' from 'tests/cases/conformance/node/index.cts'. ========", @@ -33,7 +33,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/index.cjs' has a '.cjs' extension - stripping it.", - "File 'tests/cases/conformance/node/index.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.cts', result 'tests/cases/conformance/node/index.cts'.", "======== Module name '#cjs' was successfully resolved to 'tests/cases/conformance/node/index.cts'. ========", "======== Resolving module '#mjs' from 'tests/cases/conformance/node/index.cts'. ========", @@ -42,7 +42,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/index.mjs' has a '.mjs' extension - stripping it.", - "File 'tests/cases/conformance/node/index.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.mts', result 'tests/cases/conformance/node/index.mts'.", "======== Module name '#mjs' was successfully resolved to 'tests/cases/conformance/node/index.mts'. ========", "======== Resolving module '#type' from 'tests/cases/conformance/node/index.cts'. ========", @@ -51,7 +51,7 @@ "File 'tests/cases/conformance/node/package.json' exists according to earlier cached lookups.", "Using 'imports' subpath '#type' with target './index.js'.", "File name 'tests/cases/conformance/node/index.js' has a '.js' extension - stripping it.", - "File 'tests/cases/conformance/node/index.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/index.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/index.ts', result 'tests/cases/conformance/node/index.ts'.", "======== Module name '#type' was successfully resolved to 'tests/cases/conformance/node/index.ts'. ========", "======== Resolving module '#cjs' from 'tests/cases/conformance/node/index.mts'. ========", diff --git a/tests/baselines/reference/nodeModulesPackagePatternExportsTrailers(module=node16).trace.json b/tests/baselines/reference/nodeModulesPackagePatternExportsTrailers(module=node16).trace.json index 2e8e5834079..9edd8505e0c 100644 --- a/tests/baselines/reference/nodeModulesPackagePatternExportsTrailers(module=node16).trace.json +++ b/tests/baselines/reference/nodeModulesPackagePatternExportsTrailers(module=node16).trace.json @@ -9,7 +9,7 @@ "Using 'exports' subpath './cjs/*.cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.cjs' has a '.cjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.cts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.cts', result 'tests/cases/conformance/node/node_modules/inner/index.d.cts'.", "======== Module name 'inner/cjs/index.cjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", "======== Resolving module 'inner/mjs/index.mjs' from 'tests/cases/conformance/node/index.ts'. ========", @@ -21,7 +21,7 @@ "Using 'exports' subpath './mjs/*.mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.mjs' has a '.mjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.mts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.mts', result 'tests/cases/conformance/node/node_modules/inner/index.d.mts'.", "======== Module name 'inner/mjs/index.mjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", "======== Resolving module 'inner/js/index.js' from 'tests/cases/conformance/node/index.ts'. ========", @@ -34,7 +34,7 @@ "File name 'tests/cases/conformance/node/node_modules/inner/index.js' has a '.js' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.ts' does not exist.", "File 'tests/cases/conformance/node/node_modules/inner/index.tsx' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.ts', result 'tests/cases/conformance/node/node_modules/inner/index.d.ts'.", "======== Module name 'inner/js/index.js' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.ts'. ========", "======== Resolving module 'inner/cjs/index.cjs' from 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", @@ -44,7 +44,7 @@ "Using 'exports' subpath './cjs/*.cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.cjs' has a '.cjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.cts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.cts', result 'tests/cases/conformance/node/node_modules/inner/index.d.cts'.", "======== Module name 'inner/cjs/index.cjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", "======== Resolving module 'inner/mjs/index.mjs' from 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", @@ -54,7 +54,7 @@ "Using 'exports' subpath './mjs/*.mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.mjs' has a '.mjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.mts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.mts', result 'tests/cases/conformance/node/node_modules/inner/index.d.mts'.", "======== Module name 'inner/mjs/index.mjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", "======== Resolving module 'inner/js/index.js' from 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", @@ -65,7 +65,7 @@ "File name 'tests/cases/conformance/node/node_modules/inner/index.js' has a '.js' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.ts' does not exist.", "File 'tests/cases/conformance/node/node_modules/inner/index.tsx' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.ts', result 'tests/cases/conformance/node/node_modules/inner/index.d.ts'.", "======== Module name 'inner/js/index.js' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.ts'. ========", "======== Resolving module 'inner/cjs/index.cjs' from 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", @@ -75,7 +75,7 @@ "Using 'exports' subpath './cjs/*.cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.cjs' has a '.cjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.cts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.cts', result 'tests/cases/conformance/node/node_modules/inner/index.d.cts'.", "======== Module name 'inner/cjs/index.cjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", "======== Resolving module 'inner/mjs/index.mjs' from 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", @@ -85,7 +85,7 @@ "Using 'exports' subpath './mjs/*.mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.mjs' has a '.mjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.mts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.mts', result 'tests/cases/conformance/node/node_modules/inner/index.d.mts'.", "======== Module name 'inner/mjs/index.mjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", "======== Resolving module 'inner/js/index.js' from 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", @@ -96,7 +96,7 @@ "File name 'tests/cases/conformance/node/node_modules/inner/index.js' has a '.js' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.ts' does not exist.", "File 'tests/cases/conformance/node/node_modules/inner/index.tsx' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.ts', result 'tests/cases/conformance/node/node_modules/inner/index.d.ts'.", "======== Module name 'inner/js/index.js' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.ts'. ========", "File 'tests/cases/conformance/node/node_modules/inner/package.json' exists according to earlier cached lookups.", @@ -127,7 +127,7 @@ "Using 'exports' subpath './cjs/*.cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.cjs' has a '.cjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.cts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.cts', result 'tests/cases/conformance/node/node_modules/inner/index.d.cts'.", "======== Module name 'inner/cjs/index.cjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", "======== Resolving module 'inner/mjs/index.mjs' from 'tests/cases/conformance/node/index.cts'. ========", @@ -139,7 +139,7 @@ "Using 'exports' subpath './mjs/*.mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.mjs' has a '.mjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.mts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.mts', result 'tests/cases/conformance/node/node_modules/inner/index.d.mts'.", "======== Module name 'inner/mjs/index.mjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", "======== Resolving module 'inner/js/index.js' from 'tests/cases/conformance/node/index.cts'. ========", @@ -152,7 +152,7 @@ "File name 'tests/cases/conformance/node/node_modules/inner/index.js' has a '.js' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.ts' does not exist.", "File 'tests/cases/conformance/node/node_modules/inner/index.tsx' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.ts', result 'tests/cases/conformance/node/node_modules/inner/index.d.ts'.", "======== Module name 'inner/js/index.js' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.ts'. ========", "======== Resolving module 'inner/cjs/index.cjs' from 'tests/cases/conformance/node/node_modules/inner/index.d.ts'. ========", diff --git a/tests/baselines/reference/nodeModulesPackagePatternExportsTrailers(module=nodenext).trace.json b/tests/baselines/reference/nodeModulesPackagePatternExportsTrailers(module=nodenext).trace.json index 939099488d3..7966c10b39b 100644 --- a/tests/baselines/reference/nodeModulesPackagePatternExportsTrailers(module=nodenext).trace.json +++ b/tests/baselines/reference/nodeModulesPackagePatternExportsTrailers(module=nodenext).trace.json @@ -9,7 +9,7 @@ "Using 'exports' subpath './cjs/*.cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.cjs' has a '.cjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.cts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.cts', result 'tests/cases/conformance/node/node_modules/inner/index.d.cts'.", "======== Module name 'inner/cjs/index.cjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", "======== Resolving module 'inner/mjs/index.mjs' from 'tests/cases/conformance/node/index.ts'. ========", @@ -21,7 +21,7 @@ "Using 'exports' subpath './mjs/*.mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.mjs' has a '.mjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.mts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.mts', result 'tests/cases/conformance/node/node_modules/inner/index.d.mts'.", "======== Module name 'inner/mjs/index.mjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", "======== Resolving module 'inner/js/index.js' from 'tests/cases/conformance/node/index.ts'. ========", @@ -34,7 +34,7 @@ "File name 'tests/cases/conformance/node/node_modules/inner/index.js' has a '.js' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.ts' does not exist.", "File 'tests/cases/conformance/node/node_modules/inner/index.tsx' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.ts', result 'tests/cases/conformance/node/node_modules/inner/index.d.ts'.", "======== Module name 'inner/js/index.js' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.ts'. ========", "======== Resolving module 'inner/cjs/index.cjs' from 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", @@ -44,7 +44,7 @@ "Using 'exports' subpath './cjs/*.cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.cjs' has a '.cjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.cts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.cts', result 'tests/cases/conformance/node/node_modules/inner/index.d.cts'.", "======== Module name 'inner/cjs/index.cjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", "======== Resolving module 'inner/mjs/index.mjs' from 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", @@ -54,7 +54,7 @@ "Using 'exports' subpath './mjs/*.mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.mjs' has a '.mjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.mts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.mts', result 'tests/cases/conformance/node/node_modules/inner/index.d.mts'.", "======== Module name 'inner/mjs/index.mjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", "======== Resolving module 'inner/js/index.js' from 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", @@ -65,7 +65,7 @@ "File name 'tests/cases/conformance/node/node_modules/inner/index.js' has a '.js' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.ts' does not exist.", "File 'tests/cases/conformance/node/node_modules/inner/index.tsx' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.ts', result 'tests/cases/conformance/node/node_modules/inner/index.d.ts'.", "======== Module name 'inner/js/index.js' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.ts'. ========", "======== Resolving module 'inner/cjs/index.cjs' from 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", @@ -75,7 +75,7 @@ "Using 'exports' subpath './cjs/*.cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.cjs' has a '.cjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.cts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.cts', result 'tests/cases/conformance/node/node_modules/inner/index.d.cts'.", "======== Module name 'inner/cjs/index.cjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", "======== Resolving module 'inner/mjs/index.mjs' from 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", @@ -85,7 +85,7 @@ "Using 'exports' subpath './mjs/*.mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.mjs' has a '.mjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.mts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.mts', result 'tests/cases/conformance/node/node_modules/inner/index.d.mts'.", "======== Module name 'inner/mjs/index.mjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", "======== Resolving module 'inner/js/index.js' from 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", @@ -96,7 +96,7 @@ "File name 'tests/cases/conformance/node/node_modules/inner/index.js' has a '.js' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.ts' does not exist.", "File 'tests/cases/conformance/node/node_modules/inner/index.tsx' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.ts', result 'tests/cases/conformance/node/node_modules/inner/index.d.ts'.", "======== Module name 'inner/js/index.js' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.ts'. ========", "File 'tests/cases/conformance/node/node_modules/inner/package.json' exists according to earlier cached lookups.", @@ -127,7 +127,7 @@ "Using 'exports' subpath './cjs/*.cjs' with target './index.cjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.cjs' has a '.cjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.cts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.cts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.cts', result 'tests/cases/conformance/node/node_modules/inner/index.d.cts'.", "======== Module name 'inner/cjs/index.cjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.cts'. ========", "======== Resolving module 'inner/mjs/index.mjs' from 'tests/cases/conformance/node/index.cts'. ========", @@ -139,7 +139,7 @@ "Using 'exports' subpath './mjs/*.mjs' with target './index.mjs'.", "File name 'tests/cases/conformance/node/node_modules/inner/index.mjs' has a '.mjs' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.mts' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.mts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.mts', result 'tests/cases/conformance/node/node_modules/inner/index.d.mts'.", "======== Module name 'inner/mjs/index.mjs' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.mts'. ========", "======== Resolving module 'inner/js/index.js' from 'tests/cases/conformance/node/index.cts'. ========", @@ -152,7 +152,7 @@ "File name 'tests/cases/conformance/node/node_modules/inner/index.js' has a '.js' extension - stripping it.", "File 'tests/cases/conformance/node/node_modules/inner/index.ts' does not exist.", "File 'tests/cases/conformance/node/node_modules/inner/index.tsx' does not exist.", - "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/node/node_modules/inner/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/node/node_modules/inner/index.d.ts', result 'tests/cases/conformance/node/node_modules/inner/index.d.ts'.", "======== Module name 'inner/js/index.js' was successfully resolved to 'tests/cases/conformance/node/node_modules/inner/index.d.ts'. ========", "======== Resolving module 'inner/cjs/index.cjs' from 'tests/cases/conformance/node/node_modules/inner/index.d.ts'. ========", diff --git a/tests/baselines/reference/packageJsonMain.trace.json b/tests/baselines/reference/packageJsonMain.trace.json index 58fd3ec074a..2f2c406dfa0 100644 --- a/tests/baselines/reference/packageJsonMain.trace.json +++ b/tests/baselines/reference/packageJsonMain.trace.json @@ -27,7 +27,7 @@ "'package.json' has 'main' field 'oof' that references '/node_modules/foo/oof'.", "File '/node_modules/foo/oof' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: JavaScript.", - "File '/node_modules/foo/oof.js' exist - use it as a name resolution result.", + "File '/node_modules/foo/oof.js' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/oof.js', result '/node_modules/foo/oof.js'.", "======== Module name 'foo' was successfully resolved to '/node_modules/foo/oof.js'. ========", "======== Resolving module 'bar' from '/a.ts'. ========", @@ -41,7 +41,7 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'rab.js' that references '/node_modules/bar/rab.js'.", - "File '/node_modules/bar/rab.js' exist - use it as a name resolution result.", + "File '/node_modules/bar/rab.js' exists - use it as a name resolution result.", "File '/node_modules/bar/rab.js' has an unsupported extension, so skipping it.", "Loading module as file / folder, candidate module location '/node_modules/bar/rab.js', target file types: TypeScript, Declaration.", "File name '/node_modules/bar/rab.js' has a '.js' extension - stripping it.", @@ -61,7 +61,7 @@ "File '/node_modules/bar.js' does not exist.", "File '/node_modules/bar.jsx' does not exist.", "'package.json' has 'main' field 'rab.js' that references '/node_modules/bar/rab.js'.", - "File '/node_modules/bar/rab.js' exist - use it as a name resolution result.", + "File '/node_modules/bar/rab.js' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/bar/rab.js', result '/node_modules/bar/rab.js'.", "======== Module name 'bar' was successfully resolved to '/node_modules/bar/rab.js'. ========", "======== Resolving module 'baz' from '/a.ts'. ========", @@ -96,7 +96,7 @@ "Loading module as file / folder, candidate module location '/node_modules/baz/zab', target file types: JavaScript.", "File '/node_modules/baz/zab.js' does not exist.", "File '/node_modules/baz/zab.jsx' does not exist.", - "File '/node_modules/baz/zab/index.js' exist - use it as a name resolution result.", + "File '/node_modules/baz/zab/index.js' exists - use it as a name resolution result.", "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'. ========" ] \ 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 cd76270105b..82730cb9353 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution3_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution3_classic.trace.json @@ -3,11 +3,11 @@ "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' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module './file3' from 'c:/root/folder2/file2.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", - "File 'c:/root/folder2/file3.ts' exist - use it as a name resolution result.", + "File 'c:/root/folder2/file3.ts' exists - use it as a name resolution result.", "======== Module name './file3' was successfully resolved to 'c:/root/folder2/file3.ts'. ========", "======== Resolving module 'file4' from 'c:/root/folder2/file2.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", @@ -22,6 +22,6 @@ "File 'c:/root/file4.ts' does not exist.", "File 'c:/root/file4.tsx' does not exist.", "File 'c:/root/file4.d.ts' does not exist.", - "File 'c:/file4.ts' exist - use it as a name resolution result.", + "File 'c:/file4.ts' exists - use it as a name resolution result.", "======== Module name 'file4' was successfully resolved to 'c:/file4.ts'. ========" ] \ 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 b6d071c79ef..6888ae3a5ee 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json @@ -4,12 +4,12 @@ "'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'.", "Loading module as file / folder, candidate module location 'c:/root/folder2/file2', target file types: TypeScript, Declaration.", - "File 'c:/root/folder2/file2.ts' exist - use it as a name resolution result.", + "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'. ========", "======== 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.", - "File 'c:/root/folder2/file3.ts' exist - use it as a name resolution result.", + "File 'c:/root/folder2/file3.ts' exists - use it as a name resolution result.", "======== Module name './file3' was successfully resolved to 'c:/root/folder2/file3.ts'. ========", "======== Resolving module 'file4' from 'c:/root/folder2/file2.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", @@ -29,7 +29,7 @@ "File 'c:/node_modules/file4.d.ts' does not exist.", "File 'c:/node_modules/file4/index.ts' does not exist.", "File 'c:/node_modules/file4/index.tsx' does not exist.", - "File 'c:/node_modules/file4/index.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 cd76270105b..82730cb9353 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution4_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution4_classic.trace.json @@ -3,11 +3,11 @@ "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' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module './file3' from 'c:/root/folder2/file2.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", - "File 'c:/root/folder2/file3.ts' exist - use it as a name resolution result.", + "File 'c:/root/folder2/file3.ts' exists - use it as a name resolution result.", "======== Module name './file3' was successfully resolved to 'c:/root/folder2/file3.ts'. ========", "======== Resolving module 'file4' from 'c:/root/folder2/file2.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", @@ -22,6 +22,6 @@ "File 'c:/root/file4.ts' does not exist.", "File 'c:/root/file4.tsx' does not exist.", "File 'c:/root/file4.d.ts' does not exist.", - "File 'c:/file4.ts' exist - use it as a name resolution result.", + "File 'c:/file4.ts' exists - use it as a name resolution result.", "======== Module name 'file4' was successfully resolved to 'c:/file4.ts'. ========" ] \ 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 b6d071c79ef..6888ae3a5ee 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json @@ -4,12 +4,12 @@ "'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'.", "Loading module as file / folder, candidate module location 'c:/root/folder2/file2', target file types: TypeScript, Declaration.", - "File 'c:/root/folder2/file2.ts' exist - use it as a name resolution result.", + "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'. ========", "======== 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.", - "File 'c:/root/folder2/file3.ts' exist - use it as a name resolution result.", + "File 'c:/root/folder2/file3.ts' exists - use it as a name resolution result.", "======== Module name './file3' was successfully resolved to 'c:/root/folder2/file3.ts'. ========", "======== Resolving module 'file4' from 'c:/root/folder2/file2.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", @@ -29,7 +29,7 @@ "File 'c:/node_modules/file4.d.ts' does not exist.", "File 'c:/node_modules/file4/index.ts' does not exist.", "File 'c:/node_modules/file4/index.tsx' does not exist.", - "File 'c:/node_modules/file4/index.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 4fa08fc9cc1..0669c66f30b 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution5_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution5_classic.trace.json @@ -5,7 +5,7 @@ "'paths' option is specified, looking for a pattern to match module name 'folder2/file1'.", "Module name 'folder2/file1', matched pattern '*'.", "Trying substitution '*', candidate module location: 'folder2/file1'.", - "File 'c:/root/folder2/file1.ts' exist - use it as a name resolution result.", + "File 'c:/root/folder2/file1.ts' exists - use it as a name resolution result.", "======== Module name 'folder2/file1' was successfully resolved to 'c:/root/folder2/file1.ts'. ========", "======== Resolving module 'folder3/file2' from 'c:/root/folder1/file1.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", @@ -14,7 +14,7 @@ "Module name 'folder3/file2', matched pattern '*'.", "Trying substitution '*', candidate module location: 'folder3/file2'.", "Trying substitution 'generated/*', candidate module location: 'generated/folder3/file2'.", - "File 'c:/root/generated/folder3/file2.ts' exist - use it as a name resolution result.", + "File 'c:/root/generated/folder3/file2.ts' exists - use it as a name resolution result.", "======== Module name 'folder3/file2' was successfully resolved to 'c:/root/generated/folder3/file2.ts'. ========", "======== Resolving module 'components/file3' from 'c:/root/folder1/file1.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", @@ -22,7 +22,7 @@ "'paths' option is specified, looking for a pattern to match module name 'components/file3'.", "Module name 'components/file3', matched pattern 'components/*'.", "Trying substitution 'shared/components/*', candidate module location: 'shared/components/file3'.", - "File 'c:/root/shared/components/file3.ts' exist - use it as a name resolution result.", + "File 'c:/root/shared/components/file3.ts' exists - use it as a name resolution result.", "======== Module name 'components/file3' was successfully resolved to 'c:/root/shared/components/file3.ts'. ========", "======== Resolving module 'file4' from 'c:/root/folder1/file1.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", @@ -43,6 +43,6 @@ "File 'c:/root/file4.ts' does not exist.", "File 'c:/root/file4.tsx' does not exist.", "File 'c:/root/file4.d.ts' does not exist.", - "File 'c:/file4.ts' exist - use it as a name resolution result.", + "File 'c:/file4.ts' exists - use it as a name resolution result.", "======== Module name 'file4' was successfully resolved to 'c:/file4.ts'. ========" ] \ 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 7916ad49603..c47afb6b59c 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json @@ -6,7 +6,7 @@ "Module name 'folder2/file1', matched pattern '*'.", "Trying substitution '*', candidate module location: 'folder2/file1'.", "Loading module as file / folder, candidate module location 'c:/root/folder2/file1', target file types: TypeScript, Declaration.", - "File 'c:/root/folder2/file1.ts' exist - use it as a name resolution result.", + "File 'c:/root/folder2/file1.ts' exists - use it as a name resolution result.", "======== Module name 'folder2/file1' was successfully resolved to 'c:/root/folder2/file1.ts'. ========", "======== Resolving module 'folder3/file2' from 'c:/root/folder1/file1.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -17,7 +17,7 @@ "Loading module as file / folder, candidate module location 'c:/root/folder3/file2', target file types: TypeScript, Declaration.", "Trying substitution 'generated/*', candidate module location: 'generated/folder3/file2'.", "Loading module as file / folder, candidate module location 'c:/root/generated/folder3/file2', target file types: TypeScript, Declaration.", - "File 'c:/root/generated/folder3/file2.ts' exist - use it as a name resolution result.", + "File 'c:/root/generated/folder3/file2.ts' exists - use it as a name resolution result.", "======== Module name 'folder3/file2' was successfully resolved to 'c:/root/generated/folder3/file2.ts'. ========", "======== Resolving module 'components/file3' from 'c:/root/folder1/file1.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -32,7 +32,7 @@ "File 'c:/root/shared/components/file3/package.json' does not exist.", "File 'c:/root/shared/components/file3/index.ts' does not exist.", "File 'c:/root/shared/components/file3/index.tsx' does not exist.", - "File 'c:/root/shared/components/file3/index.d.ts' exist - use it as a name resolution result.", + "File 'c:/root/shared/components/file3/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'components/file3' was successfully resolved to 'c:/root/shared/components/file3/index.d.ts'. ========", "======== Resolving module 'file4' from 'c:/root/folder1/file1.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -54,7 +54,7 @@ "Loading module 'file4' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Directory 'c:/root/folder1/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", - "File 'c:/node_modules/file4.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 93bc0e4db89..26eb65d8d15 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution6_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution6_classic.trace.json @@ -8,7 +8,7 @@ "Loading 'project/file3' from the root dir 'c:/root/src/', candidate location 'c:/root/src/project/file3'.", "Trying other entries in 'rootDirs'.", "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' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module '../file2' from 'c:/root/generated/src/project/file3.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", @@ -24,6 +24,6 @@ "Loading 'file2' from the root dir 'c:/root/src', candidate location 'c:/root/src/file2'.", "File 'c:/root/src/file2.ts' does not exist.", "File 'c:/root/src/file2.tsx' does not exist.", - "File 'c:/root/src/file2.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 245c2ddc5c9..ee022590317 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution6_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution6_node.trace.json @@ -11,7 +11,7 @@ "Trying other entries in 'rootDirs'.", "Loading 'project/file3' from the root dir 'c:/root/generated/src', candidate location 'c:/root/generated/src/project/file3'.", "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' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module '../file2' from 'c:/root/generated/src/project/file3.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -34,6 +34,6 @@ "File 'c:/root/src/file2/package.json' does not exist.", "File 'c:/root/src/file2/index.ts' does not exist.", "File 'c:/root/src/file2/index.tsx' does not exist.", - "File 'c:/root/src/file2/index.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 9ee972c70ee..69f0347ba49 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution7_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution7_classic.trace.json @@ -8,7 +8,7 @@ "Loading 'project/file2' from the root dir 'c:/root/src/', candidate location 'c:/root/src/project/file2'.", "Trying other entries in 'rootDirs'.", "Loading 'project/file2' from the root dir 'c:/root/generated/src', candidate location 'c:/root/generated/src/project/file2'.", - "File 'c:/root/generated/src/project/file2.ts' exist - use it as a name resolution result.", + "File 'c:/root/generated/src/project/file2.ts' exists - use it as a name resolution result.", "======== Module name './project/file2' was successfully resolved to 'c:/root/generated/src/project/file2.ts'. ========", "======== Resolving module 'module3' from 'c:/root/src/file1.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", @@ -31,7 +31,7 @@ "File 'c:/root/module3.d.ts' does not exist.", "File 'c:/module3.ts' does not exist.", "File 'c:/module3.tsx' does not exist.", - "File 'c:/module3.d.ts' exist - use it as a name resolution result.", + "File 'c:/module3.d.ts' exists - use it as a name resolution result.", "======== Module name 'module3' was successfully resolved to 'c:/module3.d.ts'. ========", "======== Resolving module 'module1' from 'c:/root/generated/src/project/file2.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", @@ -45,7 +45,7 @@ "Trying substitution 'c:/shared/*', candidate module location: 'c:/shared/module1'.", "File 'c:/shared/module1.ts' does not exist.", "File 'c:/shared/module1.tsx' does not exist.", - "File 'c:/shared/module1.d.ts' exist - use it as a name resolution result.", + "File 'c:/shared/module1.d.ts' exists - use it as a name resolution result.", "======== Module name 'module1' was successfully resolved to 'c:/shared/module1.d.ts'. ========", "======== Resolving module 'templates/module2' from 'c:/root/generated/src/project/file2.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", @@ -53,7 +53,7 @@ "'paths' option is specified, looking for a pattern to match module name 'templates/module2'.", "Module name 'templates/module2', matched pattern 'templates/*'.", "Trying substitution 'generated/src/templates/*', candidate module location: 'generated/src/templates/module2'.", - "File 'c:/root/generated/src/templates/module2.ts' exist - use it as a name resolution result.", + "File 'c:/root/generated/src/templates/module2.ts' exists - use it as a name resolution result.", "======== Module name 'templates/module2' was successfully resolved to 'c:/root/generated/src/templates/module2.ts'. ========", "======== Resolving module '../file3' from 'c:/root/generated/src/project/file2.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", @@ -69,6 +69,6 @@ "Loading 'file3' from the root dir 'c:/root/src', candidate location 'c:/root/src/file3'.", "File 'c:/root/src/file3.ts' does not exist.", "File 'c:/root/src/file3.tsx' does not exist.", - "File 'c:/root/src/file3.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 bb7457e8674..2a5e7a47ee3 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json @@ -11,7 +11,7 @@ "Trying other entries in 'rootDirs'.", "Loading 'project/file2' from the root dir 'c:/root/generated/src', candidate location 'c:/root/generated/src/project/file2'.", "Loading module as file / folder, candidate module location 'c:/root/generated/src/project/file2', target file types: TypeScript, Declaration.", - "File 'c:/root/generated/src/project/file2.ts' exist - use it as a name resolution result.", + "File 'c:/root/generated/src/project/file2.ts' exists - use it as a name resolution result.", "======== Module name './project/file2' was successfully resolved to 'c:/root/generated/src/project/file2.ts'. ========", "======== Resolving module 'module3' from 'c:/root/src/file1.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -35,7 +35,7 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "File 'c:/node_modules/module3.ts' does not exist.", "File 'c:/node_modules/module3.tsx' does not exist.", - "File 'c:/node_modules/module3.d.ts' exist - use it as a name resolution result.", + "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'. ========", "======== Resolving module 'module1' from 'c:/root/generated/src/project/file2.ts'. ========", @@ -57,7 +57,7 @@ "File 'c:/shared/module1/package.json' does not exist.", "File 'c:/shared/module1/index.ts' does not exist.", "File 'c:/shared/module1/index.tsx' does not exist.", - "File 'c:/shared/module1/index.d.ts' exist - use it as a name resolution result.", + "File 'c:/shared/module1/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'module1' was successfully resolved to 'c:/shared/module1/index.d.ts'. ========", "======== Resolving module 'templates/module2' from 'c:/root/generated/src/project/file2.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -66,7 +66,7 @@ "Module name 'templates/module2', matched pattern 'templates/*'.", "Trying substitution 'generated/src/templates/*', candidate module location: 'generated/src/templates/module2'.", "Loading module as file / folder, candidate module location 'c:/root/generated/src/templates/module2', target file types: TypeScript, Declaration.", - "File 'c:/root/generated/src/templates/module2.ts' exist - use it as a name resolution result.", + "File 'c:/root/generated/src/templates/module2.ts' exists - use it as a name resolution result.", "======== Module name 'templates/module2' was successfully resolved to 'c:/root/generated/src/templates/module2.ts'. ========", "======== Resolving module '../file3' from 'c:/root/generated/src/project/file2.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -89,6 +89,6 @@ "File 'c:/root/src/file3/package.json' does not exist.", "File 'c:/root/src/file3/index.ts' does not exist.", "File 'c:/root/src/file3/index.tsx' does not exist.", - "File 'c:/root/src/file3/index.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 2f236bda9be..01830c47853 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution8_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution8_classic.trace.json @@ -5,6 +5,6 @@ "'paths' option is specified, looking for a pattern to match module name '@speedy/folder1/testing'.", "Module name '@speedy/folder1/testing', matched pattern '@speedy/*/testing'.", "Trying substitution '*/dist/index.ts', candidate module location: 'folder1/dist/index.ts'.", - "File 'c:/root/folder1/dist/index.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 28377bade1b..0cae5dd9807 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution8_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution8_node.trace.json @@ -5,6 +5,6 @@ "'paths' option is specified, looking for a pattern to match module name '@speedy/folder1/testing'.", "Module name '@speedy/folder1/testing', matched pattern '@speedy/*/testing'.", "Trying substitution '*/dist/index.ts', candidate module location: 'folder1/dist/index.ts'.", - "File 'c:/root/folder1/dist/index.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 034f8d4cf6c..1ce30181c4c 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot.trace.json @@ -6,7 +6,7 @@ "Module name '/foo', matched pattern '/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "File '/root/src/foo.ts' exist - use it as a name resolution result.", + "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name '/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module '/bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -29,6 +29,6 @@ "Module name '/bar', matched pattern '/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "File '/root/src/bar.js' exist - use it as a name resolution result.", + "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/root/src/bar.js'. ========" ] \ 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 a73e02497d2..25aa7025fd3 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json @@ -6,7 +6,7 @@ "Module name '/foo', matched pattern '/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "File '/root/src/foo.ts' exist - use it as a name resolution result.", + "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name '/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module '/bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -29,7 +29,7 @@ "Module name '/bar', matched pattern '/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "File '/root/src/bar.js' exist - use it as a name resolution result.", + "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'c:/foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -38,7 +38,7 @@ "Module name 'c:/foo', matched pattern 'c:/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "File '/root/src/foo.ts' exist - use it as a name resolution result.", + "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'c:/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'c:/bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -58,7 +58,7 @@ "Module name 'c:/bar', matched pattern 'c:/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "File '/root/src/bar.js' exist - use it as a name resolution result.", + "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'c:/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'c:\\foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -67,7 +67,7 @@ "Module name 'c:\\foo', matched pattern 'c:\\*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "File '/root/src/foo.ts' exist - use it as a name resolution result.", + "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'c:\\foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'c:\\bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -87,7 +87,7 @@ "Module name 'c:\\bar', matched pattern 'c:\\*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "File '/root/src/bar.js' exist - use it as a name resolution result.", + "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'c:\\bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module '//server/foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -96,7 +96,7 @@ "Module name '//server/foo', matched pattern '//server/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "File '/root/src/foo.ts' exist - use it as a name resolution result.", + "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name '//server/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module '//server/bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -116,7 +116,7 @@ "Module name '//server/bar', matched pattern '//server/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "File '/root/src/bar.js' exist - use it as a name resolution result.", + "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '//server/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module '\\\\server\\foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -125,7 +125,7 @@ "Module name '\\\\server\\foo', matched pattern '\\\\server\\*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "File '/root/src/foo.ts' exist - use it as a name resolution result.", + "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name '\\\\server\\foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module '\\\\server\\bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -145,7 +145,7 @@ "Module name '\\\\server\\bar', matched pattern '\\\\server\\*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "File '/root/src/bar.js' exist - use it as a name resolution result.", + "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '\\\\server\\bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'file:///foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -154,7 +154,7 @@ "Module name 'file:///foo', matched pattern 'file:///*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "File '/root/src/foo.ts' exist - use it as a name resolution result.", + "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'file:///foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'file:///bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -175,7 +175,7 @@ "Module name 'file:///bar', matched pattern 'file:///*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "File '/root/src/bar.js' exist - use it as a name resolution result.", + "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'file:///bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'file://c:/foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -184,7 +184,7 @@ "Module name 'file://c:/foo', matched pattern 'file://c:/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "File '/root/src/foo.ts' exist - use it as a name resolution result.", + "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'file://c:/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'file://c:/bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -205,7 +205,7 @@ "Module name 'file://c:/bar', matched pattern 'file://c:/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "File '/root/src/bar.js' exist - use it as a name resolution result.", + "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'file://c:/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'file://server/foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -214,7 +214,7 @@ "Module name 'file://server/foo', matched pattern 'file://server/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "File '/root/src/foo.ts' exist - use it as a name resolution result.", + "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'file://server/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'file://server/bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -235,7 +235,7 @@ "Module name 'file://server/bar', matched pattern 'file://server/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "File '/root/src/bar.js' exist - use it as a name resolution result.", + "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'file://server/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'http://server/foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -244,7 +244,7 @@ "Module name 'http://server/foo', matched pattern 'http://server/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "File '/root/src/foo.ts' exist - use it as a name resolution result.", + "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'http://server/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'http://server/bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -265,6 +265,6 @@ "Module name 'http://server/bar', matched pattern 'http://server/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "File '/root/src/bar.js' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 c768d32abd3..40083a2981d 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.trace.json @@ -6,7 +6,7 @@ "Module name '/import/foo', matched pattern '/import/*'.", "Trying substitution './import/*', candidate module location: './import/foo'.", "Loading module as file / folder, candidate module location '/root/import/foo', target file types: TypeScript, Declaration.", - "File '/root/import/foo.ts' exist - use it as a name resolution result.", + "File '/root/import/foo.ts' exists - use it as a name resolution result.", "======== Module name '/import/foo' was successfully resolved to '/root/import/foo.ts'. ========", "======== Resolving module '/client/bar' from '/root/src/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -26,6 +26,6 @@ "Module name '/client/bar', matched pattern '/client/*'.", "Trying substitution './client/*', candidate module location: './client/bar'.", "Loading module as file / folder, candidate module location '/root/client/bar', target file types: JavaScript.", - "File '/root/client/bar.js' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 549bb024404..49e993e9a14 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_realRootFile.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_realRootFile.trace.json @@ -7,7 +7,7 @@ "Trying substitution './src/*', candidate module location: './src/foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", - "File '/foo.ts' exist - use it as a name resolution result.", + "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name '/foo' was successfully resolved to '/foo.ts'. ========", "======== Resolving module '/bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -27,6 +27,6 @@ "Trying substitution './src/*', candidate module location: './src/bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "Loading module as file / folder, candidate module location '/bar', target file types: JavaScript.", - "File '/bar.js' exist - use it as a name resolution result.", + "File '/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/bar.js'. ========" ] \ 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 97c043aeaf4..12a9d73071e 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot.trace.json @@ -6,7 +6,7 @@ "Module name '/foo', matched pattern '*'.", "Trying substitution './src/*', candidate module location: './src//foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "File '/root/src/foo.ts' exist - use it as a name resolution result.", + "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name '/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module '/bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -29,6 +29,6 @@ "Module name '/bar', matched pattern '*'.", "Trying substitution './src/*', candidate module location: './src//bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "File '/root/src/bar.js' exist - use it as a name resolution result.", + "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/root/src/bar.js'. ========" ] \ 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 cff4a9d525f..499a7b398f5 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot_realRootFile.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot_realRootFile.trace.json @@ -7,7 +7,7 @@ "Trying substitution './src/*', candidate module location: './src//foo'.", "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", - "File '/foo.ts' exist - use it as a name resolution result.", + "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name '/foo' was successfully resolved to '/foo.ts'. ========", "======== Resolving module '/bar' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -27,6 +27,6 @@ "Trying substitution './src/*', candidate module location: './src//bar'.", "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "Loading module as file / folder, candidate module location '/bar', target file types: JavaScript.", - "File '/bar.js' exist - use it as a name resolution result.", + "File '/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/bar.js'. ========" ] \ 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 6bd115cd1d1..3ca4900a5bc 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension.trace.json @@ -5,7 +5,7 @@ "'paths' option is specified, looking for a pattern to match module name 'foo'.", "Module name 'foo', matched pattern 'foo'.", "Trying substitution 'foo/foo.ts', candidate module location: 'foo/foo.ts'.", - "File '/foo/foo.ts' exist - use it as a name resolution result.", + "File '/foo/foo.ts' exists - use it as a name resolution result.", "======== Module name 'foo' was successfully resolved to '/foo/foo.ts'. ========", "======== Resolving module 'bar' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -13,6 +13,6 @@ "'paths' option is specified, looking for a pattern to match module name 'bar'.", "Module name 'bar', matched pattern 'bar'.", "Trying substitution 'bar/bar.js', candidate module location: 'bar/bar.js'.", - "File '/bar/bar.js' exist - use it as a name resolution result.", + "File '/bar/bar.js' exists - use it as a name resolution result.", "======== Module name 'bar' was successfully resolved to '/bar/bar.js'. ========" ] \ 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 8c5c12e2900..7a738d6611b 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtensionInName.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtensionInName.trace.json @@ -16,7 +16,7 @@ "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' exist - use it as a name resolution result.", + "File '/foo/zone.js/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'zone.js' was successfully resolved to '/foo/zone.js/index.d.ts'. ========", "======== Resolving module 'zone.tsx' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", @@ -35,6 +35,6 @@ "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' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 b84195a2d1f..b1d3b687f28 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.trace.json @@ -33,7 +33,7 @@ "Trying substitution 'node_modules/*', candidate module location: 'node_modules/foo/bar/foobar.js'.", "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.js', target file types: JavaScript.", "File name '/node_modules/foo/bar/foobar.js' has a '.js' extension - stripping it.", - "File '/node_modules/foo/bar/foobar.js' exist - use it as a name resolution result.", + "File '/node_modules/foo/bar/foobar.js' exists - use it as a name resolution result.", "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", "======== Module name 'foo/bar/foobar.js' was successfully resolved to '/node_modules/foo/bar/foobar.js'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/reactJsxReactResolvedNodeNext.trace.json b/tests/baselines/reference/reactJsxReactResolvedNodeNext.trace.json index 1df1348cd42..275766d2d51 100644 --- a/tests/baselines/reference/reactJsxReactResolvedNodeNext.trace.json +++ b/tests/baselines/reference/reactJsxReactResolvedNodeNext.trace.json @@ -15,7 +15,7 @@ "Loading module 'react/jsx-runtime' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration.", "Found 'package.json' at 'tests/cases/compiler/node_modules/@types/react/package.json'.", "'package.json' does not have a 'typesVersions' field.", - "File 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts', result 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts'.", "======== Module name 'react/jsx-runtime' was successfully resolved to 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts' with Package ID '@types/react/jsx-runtime.d.ts@0.0.1'. ========", "File 'tests/cases/compiler/node_modules/@types/react/package.json' exists according to earlier cached lookups.", @@ -26,7 +26,7 @@ "File 'tests/cases/compiler/node_modules/@types/react/package.json' exists according to earlier cached lookups.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'index.d.ts' that references 'tests/cases/compiler/node_modules/@types/react/index.d.ts'.", - "File 'tests/cases/compiler/node_modules/@types/react/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/compiler/node_modules/@types/react/index.d.ts' exists - use it as a name resolution result.", "======== Module name './' was successfully resolved to 'tests/cases/compiler/node_modules/@types/react/index.d.ts' with Package ID '@types/react/ndex.d.ts@0.0.1'. ========", "File 'tests/cases/compiler/node_modules/@types/react/package.json' exists according to earlier cached lookups.", "======== Resolving module './' from 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts'. ========", diff --git a/tests/baselines/reference/reactJsxReactResolvedNodeNextEsm.trace.json b/tests/baselines/reference/reactJsxReactResolvedNodeNextEsm.trace.json index 8e96e0cc2a3..a15bee50d92 100644 --- a/tests/baselines/reference/reactJsxReactResolvedNodeNextEsm.trace.json +++ b/tests/baselines/reference/reactJsxReactResolvedNodeNextEsm.trace.json @@ -8,7 +8,7 @@ "Found 'package.json' at 'tests/cases/compiler/node_modules/@types/react/package.json'.", "Using 'exports' subpath './*' with target './jsx-runtime.js'.", "File name 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.js' has a '.js' extension - stripping it.", - "File 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts', result 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts'.", "======== Module name 'react/jsx-runtime' was successfully resolved to 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts' with Package ID '@types/react/jsx-runtime.d.ts@0.0.1'. ========", "File 'tests/cases/compiler/node_modules/@types/react/package.json' exists according to earlier cached lookups.", @@ -20,7 +20,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'index.d.ts' that references 'tests/cases/compiler/node_modules/@types/react/index.d.ts'.", - "File 'tests/cases/compiler/node_modules/@types/react/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/compiler/node_modules/@types/react/index.d.ts' exists - use it as a name resolution result.", "======== Module name './' was successfully resolved to 'tests/cases/compiler/node_modules/@types/react/index.d.ts' with Package ID '@types/react/ndex.d.ts@0.0.1'. ========", "File 'tests/cases/compiler/node_modules/@types/react/package.json' exists according to earlier cached lookups.", "======== Resolving module './' from 'tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts'. ========", diff --git a/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json b/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json index 1e380684667..17b2d9a9218 100644 --- a/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json +++ b/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json @@ -29,7 +29,7 @@ "Trying substitution 'node_modules/*', candidate module location: 'node_modules/foo/bar/foobar.json'.", "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.json', target file types: JavaScript, JSON.", "File name '/node_modules/foo/bar/foobar.json' has a '.json' extension - stripping it.", - "File '/node_modules/foo/bar/foobar.json' exist - use it as a name resolution result.", + "File '/node_modules/foo/bar/foobar.json' exists - use it as a name resolution result.", "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", "======== Module name 'foo/bar/foobar.json' was successfully resolved to '/node_modules/foo/bar/foobar.json'. ========" ] \ 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 2859c27f861..5a7ce317b2f 100644 --- a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json +++ b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json @@ -15,7 +15,7 @@ "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './index.mjs'.", "File name '/node_modules/foo/index.mjs' has a '.mjs' extension - stripping it.", - "File '/node_modules/foo/index.mjs' exist - use it as a name resolution result.", + "File '/node_modules/foo/index.mjs' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/index.mjs', result '/node_modules/foo/index.mjs'.", "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", "File '/package.json' does not exist according to earlier cached lookups.", @@ -27,7 +27,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'index.d.ts' that references '/node_modules/foo/index.d.ts'.", - "File '/node_modules/foo/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/foo/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/index.d.ts', result '/node_modules/foo/index.d.ts'.", "======== Module name 'foo' was successfully resolved to '/node_modules/foo/index.mjs' with Package ID 'foo/index.mjs@1.0.0'. ========", "======== Resolving module 'bar' from '/index.mts'. ========", @@ -47,7 +47,7 @@ "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './index.mjs'.", "File name '/node_modules/bar/index.mjs' has a '.mjs' extension - stripping it.", - "File '/node_modules/bar/index.mjs' exist - use it as a name resolution result.", + "File '/node_modules/bar/index.mjs' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/bar/index.mjs', result '/node_modules/bar/index.mjs'.", "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", "File '/package.json' does not exist according to earlier cached lookups.", @@ -60,7 +60,7 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'index.js' that references '/node_modules/bar/index.js'.", - "File '/node_modules/bar/index.js' exist - use it as a name resolution result.", + "File '/node_modules/bar/index.js' exists - use it as a name resolution result.", "File '/node_modules/bar/index.js' has an unsupported extension, so skipping it.", "Loading module as file / folder, candidate module location '/node_modules/bar/index.js', target file types: TypeScript, Declaration.", "File name '/node_modules/bar/index.js' has a '.js' extension - stripping it.", @@ -79,7 +79,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'index.d.ts' that references '/node_modules/@types/bar/index.d.ts'.", - "File '/node_modules/@types/bar/index.d.ts' exist - use it as a name resolution result.", + "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'.", "======== Module name 'bar' was successfully resolved to '/node_modules/bar/index.mjs' with Package ID 'bar/index.mjs@1.0.0'. ========", "======== Resolving type reference directive 'bar', containing file '__inferred type names__.ts', root directory '/node_modules/@types'. ========", @@ -87,7 +87,7 @@ "File '/node_modules/@types/bar/package.json' exists according to earlier cached lookups.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'index.d.ts' that references '/node_modules/@types/bar/index.d.ts'.", - "File '/node_modules/@types/bar/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json index 07fb87e30c1..d75700393ca 100644 --- a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json +++ b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json @@ -17,7 +17,7 @@ "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './index.mjs'.", "File name '/node_modules/foo/index.mjs' has a '.mjs' extension - stripping it.", - "File '/node_modules/foo/index.mjs' exist - use it as a name resolution result.", + "File '/node_modules/foo/index.mjs' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/index.mjs', result '/node_modules/foo/index.mjs'.", "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", "File '/package.json' does not exist according to earlier cached lookups.", @@ -26,7 +26,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'index.d.ts' that references '/node_modules/foo/index.d.ts'.", - "File '/node_modules/foo/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/foo/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/index.d.ts', result '/node_modules/foo/index.d.ts'.", "======== Module name 'foo' was successfully resolved to '/node_modules/foo/index.mjs' with Package ID 'foo/index.mjs@1.0.0'. ========", "======== Resolving module 'bar' from '/index.mts'. ========", @@ -47,7 +47,7 @@ "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './index.mjs'.", "File name '/node_modules/bar/index.mjs' has a '.mjs' extension - stripping it.", - "File '/node_modules/bar/index.mjs' exist - use it as a name resolution result.", + "File '/node_modules/bar/index.mjs' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/bar/index.mjs', result '/node_modules/bar/index.mjs'.", "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", "File '/package.json' does not exist according to earlier cached lookups.", @@ -57,7 +57,7 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'index.js' that references '/node_modules/bar/index.js'.", - "File '/node_modules/bar/index.js' exist - use it as a name resolution result.", + "File '/node_modules/bar/index.js' exists - use it as a name resolution result.", "File '/node_modules/bar/index.js' has an unsupported extension, so skipping it.", "Loading module as file / folder, candidate module location '/node_modules/bar/index.js', target file types: TypeScript, Declaration.", "File name '/node_modules/bar/index.js' has a '.js' extension - stripping it.", @@ -72,7 +72,7 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'index.d.ts' that references '/node_modules/@types/bar/index.d.ts'.", - "File '/node_modules/@types/bar/index.d.ts' exist - use it as a name resolution result.", + "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'.", "======== Module name 'bar' was successfully resolved to '/node_modules/bar/index.mjs' with Package ID 'bar/index.mjs@1.0.0'. ========", "======== Resolving type reference directive 'bar', containing file '__inferred type names__.ts', root directory '/node_modules/@types'. ========", @@ -80,7 +80,7 @@ "File '/node_modules/@types/bar/package.json' exists according to earlier cached lookups.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'index.d.ts' that references '/node_modules/@types/bar/index.d.ts'.", - "File '/node_modules/@types/bar/index.d.ts' exist - use it as a name resolution result.", + "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 'package.json' 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 0bbadac80d0..c2a6635ca85 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 @@ -107,24 +107,24 @@ typerefs2: { ======== 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. -File 'node_modules/@types/typerefs1/index.d.ts' exist - use it as a name resolution result. +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' exist - use it as a name resolution result. +File 'b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to 'b1.ts'. ======== ======== 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. -File 'node_modules/@types/typerefs2/index.d.ts' exist - use it as a name resolution result. +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'. ======== Explicitly specified module resolution kind: 'Classic'. -File 'b2.ts' exist - use it as a name resolution result. +File 'b2.ts' exists - use it as a name resolution result. ======== Module name './b2' was successfully resolved to 'b2.ts'. ======== ======== Resolving module './f1' from 'f2.ts'. ======== Explicitly specified module resolution kind: 'Classic'. -File 'f1.ts' exist - use it as a name resolution result. +File 'f1.ts' exists - use it as a name resolution result. ======== Module name './f1' was successfully resolved to 'f1.ts'. ======== MissingPaths:: [] @@ -244,11 +244,11 @@ typerefs2: { ======== 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. -File 'node_modules/@types/typerefs1/index.d.ts' exist - use it as a name resolution result. +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' exist - use it as a name resolution result. +File 'b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to 'b1.ts'. ======== 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'. @@ -359,7 +359,7 @@ typerefs2: { ======== Resolving module './b1' from 'f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. -File 'b1.ts' exist - use it as a name resolution result. +File 'b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to 'b1.ts'. ======== 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'. @@ -470,7 +470,7 @@ typerefs2: { ======== Resolving module './b1' from 'f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. -File 'b1.ts' exist - use it as a name resolution result. +File 'b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to 'b1.ts'. ======== 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'. @@ -580,7 +580,7 @@ typerefs2: { ======== Resolving module './b1' from 'f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. -File 'b1.ts' exist - use it as a name resolution result. +File 'b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to 'b1.ts'. ======== MissingPaths:: ["lib.d.ts"] @@ -688,7 +688,7 @@ typerefs2: { ======== Resolving module './b1' from 'f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. -File 'b1.ts' exist - use it as a name resolution result. +File 'b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to 'b1.ts'. ======== 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'. 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 e73f4ab5266..a3e14fb994a 100644 --- a/tests/baselines/reference/reuseProgramStructure/fetches-imports-after-npm-install.js +++ b/tests/baselines/reference/reuseProgramStructure/fetches-imports-after-npm-install.js @@ -106,7 +106,7 @@ File 'node_modules/a.tsx' does not exist. File 'node_modules/a.d.ts' does not exist. 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' exist - use it as a name resolution result. +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'. ======== MissingPaths:: [] diff --git a/tests/baselines/reference/scopedPackages.trace.json b/tests/baselines/reference/scopedPackages.trace.json index cfdcf517294..6234794befc 100644 --- a/tests/baselines/reference/scopedPackages.trace.json +++ b/tests/baselines/reference/scopedPackages.trace.json @@ -8,7 +8,7 @@ "File '/node_modules/@cow/boy.d.ts' does not exist.", "File '/node_modules/@cow/boy/index.ts' does not exist.", "File '/node_modules/@cow/boy/index.tsx' does not exist.", - "File '/node_modules/@cow/boy/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@cow/boy/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@cow/boy/index.d.ts', result '/node_modules/@cow/boy/index.d.ts'.", "======== Module name '@cow/boy' was successfully resolved to '/node_modules/@cow/boy/index.d.ts'. ========", "======== Resolving module '@be/bop' from '/a.ts'. ========", @@ -17,7 +17,7 @@ "Scoped package detected, looking in 'be__bop'", "File '/node_modules/@types/be__bop/package.json' does not exist.", "File '/node_modules/@types/be__bop.d.ts' does not exist.", - "File '/node_modules/@types/be__bop/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/be__bop/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/be__bop/index.d.ts', result '/node_modules/@types/be__bop/index.d.ts'.", "======== Module name '@be/bop' was successfully resolved to '/node_modules/@types/be__bop/index.d.ts'. ========", "======== Resolving module '@be/bop/e/z' from '/a.ts'. ========", @@ -25,7 +25,7 @@ "Loading module '@be/bop/e/z' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Scoped package detected, looking in 'be__bop/e/z'", "File '/node_modules/@types/be__bop/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/be__bop/e/z.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/scopedPackagesClassic.trace.json b/tests/baselines/reference/scopedPackagesClassic.trace.json index b28156d1c33..0df0725692b 100644 --- a/tests/baselines/reference/scopedPackagesClassic.trace.json +++ b/tests/baselines/reference/scopedPackagesClassic.trace.json @@ -4,6 +4,6 @@ "Scoped package detected, looking in 'see__saw'", "File '/node_modules/@types/see__saw/package.json' does not exist.", "File '/node_modules/@types/see__saw.d.ts' does not exist.", - "File '/node_modules/@types/see__saw/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/see__saw/index.d.ts' exists - use it as a name resolution result.", "======== Module name '@see/saw' was successfully resolved to '/node_modules/@types/see__saw/index.d.ts'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/selfNameModuleAugmentation.trace.json b/tests/baselines/reference/selfNameModuleAugmentation.trace.json index 8dbb624c695..f9b4d54f55d 100644 --- a/tests/baselines/reference/selfNameModuleAugmentation.trace.json +++ b/tests/baselines/reference/selfNameModuleAugmentation.trace.json @@ -14,7 +14,7 @@ "File name '/node_modules/acorn-walk/dist/walk.js' has a '.js' extension - stripping it.", "File '/node_modules/acorn-walk/dist/walk.ts' does not exist.", "File '/node_modules/acorn-walk/dist/walk.tsx' does not exist.", - "File '/node_modules/acorn-walk/dist/walk.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/acorn-walk/dist/walk.d.ts' exists - use it as a name resolution result.", "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'. ========", "======== Resolving module 'acorn-walk' from '/index.ts'. ========", @@ -33,7 +33,7 @@ "File name '/node_modules/acorn-walk/dist/walk.js' has a '.js' extension - stripping it.", "File '/node_modules/acorn-walk/dist/walk.ts' does not exist.", "File '/node_modules/acorn-walk/dist/walk.tsx' does not exist.", - "File '/node_modules/acorn-walk/dist/walk.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/acorn-walk/dist/walk.d.ts' exists - use it as a name resolution result.", "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'. ========" ] \ No newline at end of file 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 8f1263fda82..d906886cd49 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 @@ -42,7 +42,7 @@ Output:: ======== Resolving module '../child/child2' from '/src/child/child.ts'. ======== Module resolution kind is not specified, using 'Classic'. -File '/src/child/child2.ts' exist - use it as a name resolution result. +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'. ======== lib/lib.d.ts Default library for target 'es5' 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 6bbc6196886..d8cdbe25fa6 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/deleted-file-without-composite.js +++ b/tests/baselines/reference/tsbuild/fileDelete/deleted-file-without-composite.js @@ -43,7 +43,7 @@ Output:: ======== 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' exist - use it as a name resolution result. +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'. ======== lib/lib.d.ts Default library for target 'es5' 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 53f755b6ec5..20a14bb5981 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 @@ -53,7 +53,7 @@ Output:: ======== Resolving module '../child/child2' from '/src/child/child.ts'. ======== Module resolution kind is not specified, using 'Classic'. -File '/src/child/child2.ts' exist - use it as a name resolution result. +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'. ======== lib/lib.d.ts Default library for target 'es5' diff --git a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js index 2238ceef6b3..b67b3141faf 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js +++ b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js @@ -54,7 +54,7 @@ Output:: ======== 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' exist - use it as a name resolution result. +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'. ======== lib/lib.d.ts Default library for target 'es5' @@ -70,7 +70,7 @@ src/child/child.ts ======== 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' exist - use it as a name resolution result. +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'. ======== lib/lib.d.ts Default library for target 'es5' 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 3fe8274c03f..461771b69e5 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 @@ -68,7 +68,7 @@ Found 'package.json' at '/src/projects/node_modules/@types/pg/package.json'. 'package.json' does not have a 'typesVersions' field. 'package.json' does not have a 'typings' field. 'package.json' has 'types' field 'index.d.ts' that references '/src/projects/node_modules/@types/pg/index.d.ts'. -File '/src/projects/node_modules/@types/pg/index.d.ts' exist - use it as a name resolution result. +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. ======== lib/lib.d.ts @@ -94,7 +94,7 @@ Directory '/src/projects/b/node_modules' does not exist, skipping all lookups in File '/src/projects/node_modules/@types/pg/package.json' exists according to earlier cached lookups. 'package.json' does not have a 'typings' field. 'package.json' has 'types' field 'index.d.ts' that references '/src/projects/node_modules/@types/pg/index.d.ts'. -File '/src/projects/node_modules/@types/pg/index.d.ts' exist - use it as a name resolution result. +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'. ======== Module name 'pg' was successfully resolved to '/src/projects/node_modules/@types/pg/index.d.ts'. ======== File '/src/projects/node_modules/@types/pg/package.json' exists according to earlier cached lookups. @@ -103,7 +103,7 @@ Resolving with primary search path '/src/projects/node_modules/@types'. File '/src/projects/node_modules/@types/pg/package.json' exists according to earlier cached lookups. 'package.json' does not have a 'typings' field. 'package.json' has 'types' field 'index.d.ts' that references '/src/projects/node_modules/@types/pg/index.d.ts'. -File '/src/projects/node_modules/@types/pg/index.d.ts' exist - use it as a name resolution result. +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. 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 a9076b4451c..352cf72e3a7 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 @@ -48,7 +48,7 @@ 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'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. 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' exist - use it as a name resolution result. +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'. ======== [12:00:58 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist @@ -67,13 +67,13 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. '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 '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. ======== 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'. ======== ======== 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'. @@ -81,7 +81,7 @@ 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'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. 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' exist - use it as a name resolution result. +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'. ======== 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 58c80f2e043..ba7a283822b 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 @@ -48,7 +48,7 @@ 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'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. 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' exist - use it as a name resolution result. +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'. ======== [12:00:58 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist @@ -67,13 +67,13 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. '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 '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. 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' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== @@ -82,7 +82,7 @@ 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'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. 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' exist - use it as a name resolution result. +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'. ======== 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 eda88d36915..e96879a4e3f 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 @@ -47,7 +47,7 @@ Output:: ======== 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/package.json' does not exist. -File '/src/packages/typeroot1/sometype/index.d.ts' exist - use it as a name resolution result. +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. ======== [12:00:25 AM] Project 'src/packages/pkg2.tsconfig.json' is out of date because output file 'src/packages/pkg2.tsconfig.tsbuildinfo' does not exist @@ -57,7 +57,7 @@ Resolving real path for '/src/packages/typeroot1/sometype/index.d.ts', result '/ ======== 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/package.json' does not exist. -File '/src/packages/typeroot2/sometype/index.d.ts' exist - use it as a name resolution result. +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. ======== exitCode:: ExitStatus.Success 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 9abb0e70dfa..646ecec3029 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 @@ -56,7 +56,7 @@ Output:: 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' exist - use it as a name resolution result. +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'. ======== [12:01:07 AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist @@ -75,13 +75,13 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. '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 '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. 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'. ======== @@ -91,7 +91,7 @@ Loading module as file / folder, candidate module location '/user/username/proje 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' exist - use it as a name resolution result. +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'. ======== [12:01:15 AM] Found 0 errors. Watching for file changes. @@ -319,13 +319,13 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. '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 '/user/username/projects/myproject/node_modules/pkg2/build/other.js' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/other.js' exists - use it as a name resolution result. File '/user/username/projects/myproject/node_modules/pkg2/build/other.js' has an unsupported extension, so skipping it. Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/other.js', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts' exists - use it as a name resolution result. 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'. @@ -408,13 +408,13 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. '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 '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. 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'. ======== @@ -424,7 +424,7 @@ Loading module as file / folder, candidate module location '/user/username/proje 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' exist - use it as a name resolution result. +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'. ======== [12:01:33 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 2321dbae58d..c519f8e24b0 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -55,7 +55,7 @@ Module resolution kind is not specified, using 'Node16'. Resolving in ESM mode with conditions 'node', 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const.cjs', target file types: TypeScript, JavaScript, Declaration. File name '/user/username/projects/myproject/packages/pkg2/const.cjs' has a '.cjs' extension - stripping it. -File '/user/username/projects/myproject/packages/pkg2/const.cts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/packages/pkg2/const.cts' exists - use it as a name resolution result. ======== Module name './const.cjs' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.cts'. ======== File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. @@ -77,13 +77,13 @@ Found 'package.json' at '/user/username/projects/myproject/node_modules/pkg2/pac '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 '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. 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. @@ -95,7 +95,7 @@ Resolving in ESM mode with conditions 'node', 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.cjs', target file types: TypeScript, JavaScript, Declaration. File name '/user/username/projects/myproject/packages/pkg2/build/const.cjs' has a '.cjs' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.cts' does not exist. -File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exists - use it as a name resolution result. ======== Module name './const.cjs' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.cts'. ======== 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. @@ -315,13 +315,13 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. '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 '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. 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. @@ -333,7 +333,7 @@ Resolving in ESM mode with conditions 'node', 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.cjs', target file types: TypeScript, JavaScript, Declaration. File name '/user/username/projects/myproject/packages/pkg2/build/const.cjs' has a '.cjs' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.cts' does not exist. -File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exists - use it as a name resolution result. ======== Module name './const.cjs' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.cts'. ======== File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. @@ -426,13 +426,13 @@ Found 'package.json' at '/user/username/projects/myproject/node_modules/pkg2/pac '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 '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. 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. @@ -444,7 +444,7 @@ Resolving in ESM mode with conditions 'node', 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.cjs', target file types: TypeScript, JavaScript, Declaration. File name '/user/username/projects/myproject/packages/pkg2/build/const.cjs' has a '.cjs' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.cts' does not exist. -File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exists - use it as a name resolution result. ======== Module name './const.cjs' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.cts'. ======== File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. @@ -535,13 +535,13 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. '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 '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. 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. @@ -553,7 +553,7 @@ Resolving in ESM mode with conditions 'node', 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.cjs', target file types: TypeScript, JavaScript, Declaration. File name '/user/username/projects/myproject/packages/pkg2/build/const.cjs' has a '.cjs' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.cts' does not exist. -File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exists - use it as a name resolution result. ======== Module name './const.cjs' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.cts'. ======== File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. @@ -642,7 +642,7 @@ Module resolution kind is not specified, using 'Node16'. Resolving in CJS mode with conditions 'node', 'require', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const.cjs', target file types: TypeScript, JavaScript, Declaration. File name '/user/username/projects/myproject/packages/pkg2/const.cjs' has a '.cjs' extension - stripping it. -File '/user/username/projects/myproject/packages/pkg2/const.cts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/packages/pkg2/const.cts' exists - use it as a name resolution result. ======== Module name './const.cjs' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.cts'. ======== File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. @@ -667,12 +667,12 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.cjs' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.cjs'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.cjs' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.cjs' exists - use it as a name resolution result. File '/user/username/projects/myproject/node_modules/pkg2/build/index.cjs' has an unsupported extension, so skipping it. Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.cjs', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.cjs' has a '.cjs' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.cts' does not exist. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.cts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.cts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/index.d.cts', result '/user/username/projects/myproject/packages/pkg2/build/index.d.cts'. ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.cts' with Package ID 'pkg2/build/index.d.cts@1.0.0'. ======== ======== Resolving module './const.cjs' from '/user/username/projects/myproject/packages/pkg2/build/index.d.cts'. ======== @@ -682,7 +682,7 @@ Resolving in CJS mode with conditions 'node', 'require', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.cjs', target file types: TypeScript, JavaScript, Declaration. File name '/user/username/projects/myproject/packages/pkg2/build/const.cjs' has a '.cjs' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.cts' does not exist. -File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exists - use it as a name resolution result. ======== Module name './const.cjs' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.cts'. ======== 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. 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 47a89cf6048..da601519789 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,7 +100,7 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d 'package.json' does not have a 'main' field. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx' does not exist. -File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exists - use it as a name resolution result. 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'. ======== ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== @@ -112,7 +112,7 @@ File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx' File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.tsx' does not exist. -File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts' exist - use it as a name resolution result. +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'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myProject/plugin-two/index.d.ts'. ======== @@ -128,7 +128,7 @@ File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa.d 'package.json' does not have a 'main' field. File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.ts' does not exist. File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.tsx' does not exist. -File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' exists - use it as a name resolution result. 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'. ======== ../../../../a/lib/lib.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 bad8018892d..35775f1a5da 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 @@ -105,7 +105,7 @@ Loading module as file / folder, candidate module location '/user/username/proje File name '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.tsx' does not exist. -File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/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/dist/commonjs/index.d.ts', result '/user/username/projects/myProject/plugin-two/dist/commonjs/index.d.ts'. ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myProject/plugin-two/dist/commonjs/index.d.ts' with Package ID 'plugin-two/dist/commonjs/index.d.ts@0.1.3'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== @@ -121,7 +121,7 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d 'package.json' does not have a 'main' field. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx' does not exist. -File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exists - use it as a name resolution result. 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'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myProject/plugin-two/dist/commonjs/index.d.ts'. ======== @@ -139,7 +139,7 @@ File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa.d 'package.json' does not have a 'main' field. File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.ts' does not exist. File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.tsx' does not exist. -File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' exists - use it as a name resolution result. 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'. ======== ../../../../a/lib/lib.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 fb9d623f44f..3b599c0d394 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 @@ -105,7 +105,7 @@ Loading module as file / folder, candidate module location '/user/username/proje File name '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.tsx' does not exist. -File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/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/dist/commonjs/index.d.ts', result '/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts'. ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts' with Package ID 'plugin-two/dist/commonjs/index.d.ts@0.1.3'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== @@ -121,7 +121,7 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d 'package.json' does not have a 'main' field. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx' does not exist. -File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exists - use it as a name resolution result. 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'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts'. ======== @@ -139,7 +139,7 @@ File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.d 'package.json' does not have a 'main' field. File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.ts' does not exist. File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.tsx' does not exist. -File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' exists - use it as a name resolution result. 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'. ======== ../../../../a/lib/lib.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 5672a9e68c3..8c264f124a2 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,7 +100,7 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.d 'package.json' does not have a 'main' field. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.tsx' does not exist. -File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exists - use it as a name resolution result. 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'. ======== ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== @@ -112,7 +112,7 @@ File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.tsx' File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.tsx' does not exist. -File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts' exist - use it as a name resolution result. +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'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-two/index.d.ts'. ======== @@ -128,7 +128,7 @@ File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.d 'package.json' does not have a 'main' field. File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.ts' does not exist. File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.tsx' does not exist. -File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' exists - use it as a name resolution result. 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'. ======== ../../../../a/lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/package-json-is-looked-up-for-file.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/package-json-is-looked-up-for-file.js index c32282f5b80..c888e2b10d3 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/package-json-is-looked-up-for-file.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/package-json-is-looked-up-for-file.js @@ -42,7 +42,7 @@ Resolving in ESM mode with conditions 'node', 'import', 'types'. File '/Users/name/projects/lib-boilerplate/test/package.json' does not exist according to earlier cached lookups. File '/Users/name/projects/lib-boilerplate/package.json' exists according to earlier cached lookups. Using 'exports' subpath '.' with target './src/index.ts'. -File '/Users/name/projects/lib-boilerplate/src/index.ts' exist - use it as a name resolution result. +File '/Users/name/projects/lib-boilerplate/src/index.ts' exists - use it as a name resolution result. Resolving real path for '/Users/name/projects/lib-boilerplate/src/index.ts', result '/Users/name/projects/lib-boilerplate/src/index.ts'. ======== Module name 'lib-boilerplate' was successfully resolved to '/Users/name/projects/lib-boilerplate/src/index.ts' with Package ID 'lib-boilerplate/src/index.ts@0.0.2'. ======== File '/a/lib/package.json' does not exist. diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js index 3690d253fc6..bce07424877 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js @@ -36,7 +36,7 @@ Module resolution kind is not specified, using 'NodeNext'. Resolving in ESM mode with conditions 'node', 'import', 'types'. File '/Users/name/projects/web/package.json' exists according to earlier cached lookups. Using 'exports' subpath '.' with target './dist/index.js'. -File '/Users/name/projects/web/index.ts' exist - use it as a name resolution result. +File '/Users/name/projects/web/index.ts' exists - use it as a name resolution result. Resolving real path for '/Users/name/projects/web/index.ts', result '/Users/name/projects/web/index.ts'. ======== Module name '@this/package' was successfully resolved to '/Users/name/projects/web/index.ts'. ======== File '/a/lib/package.json' does not exist. diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js index 921820e7f64..02144e83804 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js @@ -58,7 +58,7 @@ Matched 'exports' condition 'types'. Saw non-matching condition 'import'. Matched 'exports' condition 'default'. Using 'exports' subpath '.' with target './index.d.ts'. -File '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' exist - use it as a name resolution result. +File '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts', result '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts'. ======== Module name 'yargs' was successfully resolved to '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' with Package ID 'yargs/index.d.ts@17.0.12'. ======== File '/Users/name/projects/web/node_modules/@types/yargs/package.json' exists according to earlier cached lookups. @@ -69,7 +69,7 @@ File '/Users/name/projects/web/node_modules/@types/yargs/package.json' exists ac 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' does not have a 'main' field. -File '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' exist - use it as a name resolution result. +File '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts', result '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts'. ======== Type reference directive 'yargs' was successfully resolved to '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' with Package ID 'yargs/index.d.ts@17.0.12', primary: true. ======== File '/a/lib/package.json' does not exist. diff --git a/tests/baselines/reference/tscWatch/moduleResolution/diagnostics-from-cache.js b/tests/baselines/reference/tscWatch/moduleResolution/diagnostics-from-cache.js index ba47f07a421..5ef1629af56 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/diagnostics-from-cache.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/diagnostics-from-cache.js @@ -41,7 +41,7 @@ Resolving in ESM mode with conditions 'node', 'import', 'types'. File '/user/username/projects/myproject/package.json' exists according to earlier cached lookups. Matched 'exports' condition 'default'. Using 'exports' subpath '.' with target './dist/index.js'. -File '/user/username/projects/myproject/index.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/index.ts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/index.ts', result '/user/username/projects/myproject/index.ts'. ======== Module name '@this/package' was successfully resolved to '/user/username/projects/myproject/index.ts'. ======== File '/user/username/projects/myproject/package.json' exists according to earlier cached lookups. @@ -143,7 +143,7 @@ Explicitly specified module resolution kind: 'NodeNext'. Resolving in ESM mode with conditions 'node', 'import', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/index.js', target file types: TypeScript, JavaScript, Declaration. File name '/user/username/projects/myproject/index.js' has a '.js' extension - stripping it. -File '/user/username/projects/myproject/index.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/index.ts' exists - use it as a name resolution result. ======== Module name './index.js' was successfully resolved to '/user/username/projects/myproject/index.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. diff --git a/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-file-are-partially-used.js b/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-file-are-partially-used.js index 99ac0dfe2e5..a1db17bcd32 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-file-are-partially-used.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/module-resolutions-from-file-are-partially-used.js @@ -71,7 +71,7 @@ Using 'exports' subpath '.' with target './import.js'. File name '/user/username/projects/myproject/node_modules/pkg/import.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg/import.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg/import.tsx' does not exist. -File '/user/username/projects/myproject/node_modules/pkg/import.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg/import.d.ts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/node_modules/pkg/import.d.ts', result '/user/username/projects/myproject/node_modules/pkg/import.d.ts'. ======== Module name 'pkg' was successfully resolved to '/user/username/projects/myproject/node_modules/pkg/import.d.ts' with Package ID 'pkg/import.d.ts@0.0.1'. ======== ======== Resolving module 'pkg1' from '/user/username/projects/myproject/index.ts'. ======== @@ -112,7 +112,7 @@ Directory '/node_modules' does not exist, skipping all lookups in it. Explicitly specified module resolution kind: 'Node16'. Resolving in CJS mode with conditions 'node', 'require', 'types'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/a', target file types: TypeScript, JavaScript, Declaration. -File '/user/username/projects/myproject/a.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/a.ts' exists - use it as a name resolution result. ======== Module name './a' was successfully resolved to '/user/username/projects/myproject/a.ts'. ======== File '/user/username/projects/myproject/node_modules/pkg/package.json' exists according to earlier cached lookups. File '/a/lib/package.json' does not exist. @@ -241,7 +241,7 @@ Using 'exports' subpath '.' with target './import.js'. File name '/user/username/projects/myproject/node_modules/pkg/import.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg/import.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg/import.tsx' does not exist. -File '/user/username/projects/myproject/node_modules/pkg/import.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg/import.d.ts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/node_modules/pkg/import.d.ts', result '/user/username/projects/myproject/node_modules/pkg/import.d.ts'. ======== Module name 'pkg' was successfully resolved to '/user/username/projects/myproject/node_modules/pkg/import.d.ts' with Package ID 'pkg/import.d.ts@0.0.1'. ======== File '/user/username/projects/myproject/node_modules/pkg/package.json' exists according to earlier cached lookups. diff --git a/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js b/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js index aae2a2a6c20..fc84db6c074 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js @@ -78,7 +78,7 @@ Found 'package.json' at '/user/username/projects/myproject/node_modules/pkg/pack Matched 'exports' condition 'import'. Using 'exports' subpath '.' with target './import.js'. File name '/user/username/projects/myproject/node_modules/pkg/import.js' has a '.js' extension - stripping it. -File '/user/username/projects/myproject/node_modules/pkg/import.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg/import.d.ts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/node_modules/pkg/import.d.ts', result '/user/username/projects/myproject/node_modules/pkg/import.d.ts'. ======== Type reference directive 'pkg' was successfully resolved to '/user/username/projects/myproject/node_modules/pkg/import.d.ts' with Package ID 'pkg/import.d.ts@0.0.1', primary: false. ======== ======== Resolving type reference directive 'pkg1', containing file '/user/username/projects/myproject/index.ts', root directory '/user/username/projects/myproject/node_modules/@types'. ======== @@ -100,7 +100,7 @@ File '/user/username/projects/myproject/node_modules/pkg/package.json' exists ac ======== Resolving type reference directive 'pkg2', containing file '/user/username/projects/myproject/__inferred type names__.ts', root directory '/user/username/projects/myproject/node_modules/@types'. ======== Resolving with primary search path '/user/username/projects/myproject/node_modules/@types'. File '/user/username/projects/myproject/node_modules/@types/pkg2/package.json' does not exist. -File '/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts', result '/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts'. ======== Type reference directive 'pkg2' was successfully resolved to '/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts', primary: true. ======== File '/user/username/projects/myproject/node_modules/@types/pkg2/package.json' does not exist according to earlier cached lookups. @@ -254,7 +254,7 @@ File '/user/username/projects/myproject/node_modules/pkg/package.json' exists ac Matched 'exports' condition 'import'. Using 'exports' subpath '.' with target './import.js'. File name '/user/username/projects/myproject/node_modules/pkg/import.js' has a '.js' extension - stripping it. -File '/user/username/projects/myproject/node_modules/pkg/import.d.ts' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg/import.d.ts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/node_modules/pkg/import.d.ts', result '/user/username/projects/myproject/node_modules/pkg/import.d.ts'. ======== Type reference directive 'pkg' was successfully resolved to '/user/username/projects/myproject/node_modules/pkg/import.d.ts' with Package ID 'pkg/import.d.ts@0.0.1', primary: false. ======== File '/user/username/projects/myproject/node_modules/pkg/package.json' exists according to earlier cached lookups. 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 e9807a86ab9..b050db421d4 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 @@ -59,7 +59,7 @@ Loading module as file / folder, candidate module location '/user/username/proje 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. 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'. ======== @@ -68,7 +68,7 @@ Loading module as file / folder, candidate module location '/user/username/proje 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' exist - use it as a name resolution result. +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'. ======== [12:00:49 AM] Found 0 errors. Watching for file changes. @@ -168,7 +168,7 @@ Loading module as file / folder, candidate module location '/user/username/proje 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts' exists - use it as a name resolution result. 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'. @@ -259,7 +259,7 @@ Loading module as file / folder, candidate module location '/user/username/proje 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' exist - use it as a name resolution result. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. 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'. ======== @@ -268,7 +268,7 @@ Loading module as file / folder, candidate module location '/user/username/proje 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' exist - use it as a name resolution result. +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'. ======== [12:01:06 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index b6693444ded..ccbe5ead3f7 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -428,17 +428,17 @@ Output:: ======== 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. -File '/user/username/projects/sample1/core/index.ts' exist - use it as a name resolution result. +File '/user/username/projects/sample1/core/index.ts' exists - use it as a name resolution result. ======== Module name '../core/index' was successfully resolved to '/user/username/projects/sample1/core/index.ts'. ======== ======== Resolving module '../logic/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/logic/index', target file types: TypeScript, Declaration. -File '/user/username/projects/sample1/logic/index.ts' exist - use it as a name resolution result. +File '/user/username/projects/sample1/logic/index.ts' exists - use it as a name resolution result. ======== Module name '../logic/index' was successfully resolved to '/user/username/projects/sample1/logic/index.ts'. ======== ======== Resolving module '../core/anotherModule' 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/anotherModule', target file types: TypeScript, Declaration. -File '/user/username/projects/sample1/core/anotherModule.ts' exist - use it as a name resolution result. +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'. ======== ======== 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'. 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 d2d493b5a01..ff552d69c50 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 @@ -210,7 +210,7 @@ File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist. -File '/user/username/projects/transitiveReferences/b/index.ts' exist - use it as a name resolution result. +File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -221,7 +221,7 @@ Trying substitution '../refs/*', candidate module location: '../refs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== ======== 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'. @@ -542,7 +542,7 @@ File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist. -File '/user/username/projects/transitiveReferences/b/index.ts' exist - use it as a name resolution result. +File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -553,7 +553,7 @@ Trying substitution '../nrefs/*', candidate module location: '../nrefs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/nrefs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== ======== 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'. @@ -671,7 +671,7 @@ File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist. -File '/user/username/projects/transitiveReferences/b/index.ts' exist - use it as a name resolution result. +File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -682,7 +682,7 @@ Trying substitution '../refs/*', candidate module location: '../refs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== ======== 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'. @@ -1012,7 +1012,7 @@ Trying substitution '../refs/*', candidate module location: '../refs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== c/tsconfig.json:1:84 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 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 947be4add9e..e8670ab88fb 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 @@ -210,7 +210,7 @@ File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist. -File '/user/username/projects/transitiveReferences/b/index.ts' exist - use it as a name resolution result. +File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -221,7 +221,7 @@ Trying substitution '../refs/*', candidate module location: '../refs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== ======== 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'. @@ -538,7 +538,7 @@ File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist. -File '/user/username/projects/transitiveReferences/b/index.ts' exist - use it as a name resolution result. +File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -549,7 +549,7 @@ Trying substitution '../nrefs/*', candidate module location: '../nrefs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/nrefs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== ======== 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'. @@ -665,7 +665,7 @@ File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist. -File '/user/username/projects/transitiveReferences/b/index.ts' exist - use it as a name resolution result. +File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -676,7 +676,7 @@ Trying substitution '../refs/*', candidate module location: '../refs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== ======== 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'. @@ -996,7 +996,7 @@ Trying substitution '../refs/*', candidate module location: '../refs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== c/tsconfig.json:1:105 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index b48df3a593f..6e858d68283 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -230,7 +230,7 @@ Output:: ======== 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. -File '/user/username/projects/transitiveReferences/b.ts' exist - use it as a name resolution result. +File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -241,7 +241,7 @@ Trying substitution './refs/*', candidate module location: './refs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== ======== 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'. @@ -539,7 +539,7 @@ Output:: ======== 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. -File '/user/username/projects/transitiveReferences/b.ts' exist - use it as a name resolution result. +File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -550,7 +550,7 @@ Trying substitution './nrefs/*', candidate module location: './nrefs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/nrefs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== ======== 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'. @@ -654,7 +654,7 @@ Output:: ======== 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. -File '/user/username/projects/transitiveReferences/b.ts' exist - use it as a name resolution result. +File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -665,7 +665,7 @@ Trying substitution './refs/*', candidate module location: './refs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== ======== 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'. @@ -965,7 +965,7 @@ Trying substitution './refs/*', candidate module location: './refs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== tsconfig.c.json:1:100 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.b.json' not found. 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 d533ee85b9c..4a71d6e7d7e 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 @@ -184,12 +184,12 @@ Output:: ======== 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. -File '/user/username/projects/sample1/core/index.ts' exist - use it as a name resolution result. +File '/user/username/projects/sample1/core/index.ts' exists - use it as a name resolution result. ======== Module name '../core/index' was successfully resolved to '/user/username/projects/sample1/core/index.ts'. ======== ======== Resolving module '../core/anotherModule' 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/anotherModule', target file types: TypeScript, Declaration. -File '/user/username/projects/sample1/core/anotherModule.ts' exist - use it as a name resolution result. +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'. ======== ../../../../a/lib/lib.d.ts Default library for target 'es5' 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 19e6c8ea3d3..c9a2d56811e 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 @@ -217,7 +217,7 @@ Output:: ======== 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. -File '/user/username/projects/transitiveReferences/b.ts' exist - use it as a name resolution result. +File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -228,7 +228,7 @@ Trying substitution './refs/*', candidate module location: './refs/a'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. 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' exist - use it as a name resolution result. +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'. ======== ======== Resolving module 'a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. 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 3661eda6139..f05f093e479 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js @@ -54,7 +54,7 @@ File '/src/project/node_modules/pkg0.tsx' does not exist. File '/src/project/node_modules/pkg0.d.ts' does not exist. File '/src/project/node_modules/pkg0/index.ts' does not exist. File '/src/project/node_modules/pkg0/index.tsx' does not exist. -File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +File '/src/project/node_modules/pkg0/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== ======== Resolving module 'pkg1' from '/src/project/fileWithImports.ts'. ======== @@ -79,7 +79,7 @@ Root directory cannot be determined, skipping primary search paths. Looking up in 'node_modules' folder, initial location '/src/project'. File '/src/project/node_modules/pkg2/package.json' does not exist. File '/src/project/node_modules/pkg2.d.ts' does not exist. -File '/src/project/node_modules/pkg2/index.d.ts' exist - use it as a name resolution result. +File '/src/project/node_modules/pkg2/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/src/project/node_modules/pkg2/index.d.ts', result '/src/project/node_modules/pkg2/index.d.ts'. ======== Type reference directive 'pkg2' was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts', primary: false. ======== ======== Resolving type reference directive 'pkg3', containing file '/src/project/fileWithTypeRefs.ts', root directory not set. ======== @@ -357,7 +357,7 @@ File '/src/project/node_modules/pkg1.tsx' does not exist. File '/src/project/node_modules/pkg1.d.ts' does not exist. File '/src/project/node_modules/pkg1/index.ts' does not exist. File '/src/project/node_modules/pkg1/index.tsx' does not exist. -File '/src/project/node_modules/pkg1/index.d.ts' exist - use it as a name resolution result. +File '/src/project/node_modules/pkg1/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/src/project/node_modules/pkg1/index.d.ts', result '/src/project/node_modules/pkg1/index.d.ts'. ======== Module name 'pkg1' was successfully resolved to '/src/project/node_modules/pkg1/index.d.ts'. ======== FileWatcher:: Added:: WatchInfo: /src/project/node_modules/pkg1/index.d.ts 250 undefined Source file @@ -591,7 +591,7 @@ Root directory cannot be determined, skipping primary search paths. Looking up in 'node_modules' folder, initial location '/src/project'. File '/src/project/node_modules/pkg3/package.json' does not exist. File '/src/project/node_modules/pkg3.d.ts' does not exist. -File '/src/project/node_modules/pkg3/index.d.ts' exist - use it as a name resolution result. +File '/src/project/node_modules/pkg3/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/src/project/node_modules/pkg3/index.d.ts', result '/src/project/node_modules/pkg3/index.d.ts'. ======== Type reference directive 'pkg3' was successfully resolved to '/src/project/node_modules/pkg3/index.d.ts', primary: false. ======== FileWatcher:: Added:: WatchInfo: /src/project/node_modules/pkg3/index.d.ts 250 undefined Source file 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 126e4fa7ea1..2e254df6748 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 @@ -39,7 +39,7 @@ 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' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. -File '/user/username/projects/myproject/other.d.ts' exist - use it as a name resolution result. +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'. ======== FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file @@ -111,7 +111,7 @@ 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' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. -File '/user/username/projects/myproject/other.d.ts' exist - use it as a name resolution result. +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'. ======== [12:00:30 AM] Found 0 errors. Watching for file changes. @@ -170,7 +170,7 @@ 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' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. -File '/user/username/projects/myproject/other.d.ts' exist - use it as a name resolution result. +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'. ======== [12:00:37 AM] Found 0 errors. Watching for file changes. @@ -233,7 +233,7 @@ CreatingProgramWith:: ======== 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' exist - use it as a name resolution result. +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'. ======== FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.ts 250 undefined Source file [12:00:48 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js b/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js index f85ae018434..0b6fdb190d7 100644 --- a/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js +++ b/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js @@ -39,7 +39,7 @@ 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' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. -File '/user/username/projects/myproject/other.d.ts' exist - use it as a name resolution result. +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'. ======== FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file @@ -200,7 +200,7 @@ CreatingProgramWith:: ======== 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' exist - use it as a name resolution result. +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'. ======== FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.ts 250 undefined Source file [12:00:46 AM] Found 0 errors. Watching for file changes. 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 b93451beca3..37d0cb8478d 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 @@ -50,7 +50,7 @@ File '/home/user/projects/myproject/node_modules/a.tsx' does not exist. File '/home/user/projects/myproject/node_modules/a.d.ts' does not exist. File '/home/user/projects/myproject/node_modules/a/index.ts' does not exist. File '/home/user/projects/myproject/node_modules/a/index.tsx' does not exist. -File '/home/user/projects/myproject/node_modules/a/index.d.ts' exist - use it as a name resolution result. +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'. ======== FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 undefined Source file diff --git a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js index 5b4949ce9d4..768e7249e33 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js +++ b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js @@ -75,7 +75,7 @@ Info 15 [00:00:42.000] Module resolution kind is not specified, using 'Node16' Info 16 [00:00:43.000] Resolving in ESM mode with conditions 'node', 'import', 'types'. Info 17 [00:00:44.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file types: TypeScript, JavaScript, Declaration. Info 18 [00:00:45.000] File name '/user/username/projects/myproject/src/fileB.mjs' has a '.mjs' extension - stripping it. -Info 19 [00:00:46.000] File '/user/username/projects/myproject/src/fileB.mts' exist - use it as a name resolution result. +Info 19 [00:00:46.000] File '/user/username/projects/myproject/src/fileB.mts' exists - use it as a name resolution result. Info 20 [00:00:47.000] ======== Module name './fileB.mjs' was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. ======== Info 21 [00:00:48.000] File '/a/lib/package.json' does not exist. Info 22 [00:00:49.000] File '/a/package.json' does not exist. @@ -245,7 +245,7 @@ Info 59 [00:01:35.000] Module resolution kind is not specified, using 'Node16' Info 60 [00:01:36.000] Resolving in CJS mode with conditions 'node', 'require', 'types'. Info 61 [00:01:37.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file types: TypeScript, JavaScript, Declaration. Info 62 [00:01:38.000] File name '/user/username/projects/myproject/src/fileB.mjs' has a '.mjs' extension - stripping it. -Info 63 [00:01:39.000] File '/user/username/projects/myproject/src/fileB.mts' exist - use it as a name resolution result. +Info 63 [00:01:39.000] File '/user/username/projects/myproject/src/fileB.mts' exists - use it as a name resolution result. Info 64 [00:01:40.000] ======== Module name './fileB.mjs' was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. ======== Info 65 [00:01:41.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info 66 [00:01:42.000] File '/a/package.json' does not exist according to earlier cached lookups. @@ -610,7 +610,7 @@ Info 100 [00:02:31.000] Module resolution kind is not specified, using 'Node16' Info 101 [00:02:32.000] Resolving in ESM mode with conditions 'node', 'import', 'types'. Info 102 [00:02:33.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file types: TypeScript, JavaScript, Declaration. Info 103 [00:02:34.000] File name '/user/username/projects/myproject/src/fileB.mjs' has a '.mjs' extension - stripping it. -Info 104 [00:02:35.000] File '/user/username/projects/myproject/src/fileB.mts' exist - use it as a name resolution result. +Info 104 [00:02:35.000] File '/user/username/projects/myproject/src/fileB.mts' exists - use it as a name resolution result. Info 105 [00:02:36.000] ======== Module name './fileB.mjs' was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. ======== Info 106 [00:02:37.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info 107 [00:02:38.000] File '/a/package.json' does not exist according to earlier cached lookups. @@ -1363,7 +1363,7 @@ Info 183 [00:04:21.000] Module resolution kind is not specified, using 'Node16' Info 184 [00:04:22.000] Resolving in CJS mode with conditions 'node', 'require', 'types'. Info 185 [00:04:23.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file types: TypeScript, JavaScript, Declaration. Info 186 [00:04:24.000] File name '/user/username/projects/myproject/src/fileB.mjs' has a '.mjs' extension - stripping it. -Info 187 [00:04:25.000] File '/user/username/projects/myproject/src/fileB.mts' exist - use it as a name resolution result. +Info 187 [00:04:25.000] File '/user/username/projects/myproject/src/fileB.mts' exists - use it as a name resolution result. Info 188 [00:04:26.000] ======== Module name './fileB.mjs' was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. ======== Info 189 [00:04:27.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info 190 [00:04:28.000] File '/a/package.json' does not exist according to earlier cached lookups. diff --git a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js index 03d58c40a63..e18134d999b 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js +++ b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js @@ -75,7 +75,7 @@ Info 15 [00:00:42.000] Module resolution kind is not specified, using 'Node16' Info 16 [00:00:43.000] Resolving in CJS mode with conditions 'node', 'require', 'types'. Info 17 [00:00:44.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file types: TypeScript, JavaScript, Declaration. Info 18 [00:00:45.000] File name '/user/username/projects/myproject/src/fileB.mjs' has a '.mjs' extension - stripping it. -Info 19 [00:00:46.000] File '/user/username/projects/myproject/src/fileB.mts' exist - use it as a name resolution result. +Info 19 [00:00:46.000] File '/user/username/projects/myproject/src/fileB.mts' exists - use it as a name resolution result. Info 20 [00:00:47.000] ======== Module name './fileB.mjs' was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. ======== Info 21 [00:00:48.000] File '/a/lib/package.json' does not exist. Info 22 [00:00:49.000] File '/a/package.json' does not exist. @@ -245,7 +245,7 @@ Info 59 [00:01:35.000] Module resolution kind is not specified, using 'Node16' Info 60 [00:01:36.000] Resolving in ESM mode with conditions 'node', 'import', 'types'. Info 61 [00:01:37.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file types: TypeScript, JavaScript, Declaration. Info 62 [00:01:38.000] File name '/user/username/projects/myproject/src/fileB.mjs' has a '.mjs' extension - stripping it. -Info 63 [00:01:39.000] File '/user/username/projects/myproject/src/fileB.mts' exist - use it as a name resolution result. +Info 63 [00:01:39.000] File '/user/username/projects/myproject/src/fileB.mts' exists - use it as a name resolution result. Info 64 [00:01:40.000] ======== Module name './fileB.mjs' was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. ======== Info 65 [00:01:41.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info 66 [00:01:42.000] File '/a/package.json' does not exist according to earlier cached lookups. @@ -610,7 +610,7 @@ Info 100 [00:02:31.000] Module resolution kind is not specified, using 'Node16' Info 101 [00:02:32.000] Resolving in CJS mode with conditions 'node', 'require', 'types'. Info 102 [00:02:33.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file types: TypeScript, JavaScript, Declaration. Info 103 [00:02:34.000] File name '/user/username/projects/myproject/src/fileB.mjs' has a '.mjs' extension - stripping it. -Info 104 [00:02:35.000] File '/user/username/projects/myproject/src/fileB.mts' exist - use it as a name resolution result. +Info 104 [00:02:35.000] File '/user/username/projects/myproject/src/fileB.mts' exists - use it as a name resolution result. Info 105 [00:02:36.000] ======== Module name './fileB.mjs' was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. ======== Info 106 [00:02:37.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info 107 [00:02:38.000] File '/a/package.json' does not exist according to earlier cached lookups. 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 0f78daf498e..230f5979523 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 @@ -55,7 +55,7 @@ Info 12 [00:00:47.000] File '/user/username/projects/myproject/src/node_module Info 13 [00:00:48.000] File '/user/username/projects/myproject/src/node_modules/module1.ts' does not exist. Info 14 [00:00:49.000] File '/user/username/projects/myproject/src/node_modules/module1.tsx' does not exist. Info 15 [00:00:50.000] File '/user/username/projects/myproject/src/node_modules/module1.d.ts' does not exist. -Info 16 [00:00:51.000] File '/user/username/projects/myproject/src/node_modules/module1/index.ts' exist - use it as a name resolution result. +Info 16 [00:00:51.000] File '/user/username/projects/myproject/src/node_modules/module1/index.ts' exists - use it as a name resolution result. Info 17 [00:00:52.000] Resolving real path for '/user/username/projects/myproject/src/node_modules/module1/index.ts', result '/user/username/projects/myproject/src/node_modules/module1/index.ts'. Info 18 [00:00:53.000] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. ======== Info 19 [00:00:54.000] ======== Resolving module 'module2' from '/user/username/projects/myproject/src/file1.ts'. ======== @@ -69,7 +69,7 @@ Info 26 [00:01:01.000] File '/user/username/projects/myproject/node_modules/mo Info 27 [00:01:02.000] File '/user/username/projects/myproject/node_modules/module2.ts' does not exist. Info 28 [00:01:03.000] File '/user/username/projects/myproject/node_modules/module2.tsx' does not exist. Info 29 [00:01:04.000] File '/user/username/projects/myproject/node_modules/module2.d.ts' does not exist. -Info 30 [00:01:05.000] File '/user/username/projects/myproject/node_modules/module2/index.ts' exist - use it as a name resolution result. +Info 30 [00:01:05.000] File '/user/username/projects/myproject/node_modules/module2/index.ts' exists - use it as a name resolution result. Info 31 [00:01:06.000] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'. Info 32 [00:01:07.000] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info 33 [00:01:08.000] 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 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 6ee3cfe9548..4801bc42bb5 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 @@ -31,7 +31,7 @@ Info 15 [00:00:34.000] Auto discovery for typings is enabled in project '/dev/ Info 16 [00:00:35.000] File '/a/cache/node_modules/lib.d.ts' does not exist. Info 17 [00:00:36.000] File '/a/cache/node_modules/@types/lib/package.json' does not exist. Info 18 [00:00:37.000] File '/a/cache/node_modules/@types/lib.d.ts' does not exist. -Info 19 [00:00:38.000] File '/a/cache/node_modules/@types/lib/index.d.ts' exist - use it as a name resolution result. +Info 19 [00:00:38.000] File '/a/cache/node_modules/@types/lib/index.d.ts' exists - use it as a name resolution result. Info 20 [00:00:39.000] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info 21 [00:00:40.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info 22 [00:00:41.000] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file 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 d2f2e6c3064..2e7572f85cb 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 @@ -71,7 +71,7 @@ Info 16 [00:01:05.000] File '/user/username/projects/myproject/product/node_mo Info 17 [00:01:06.000] File '/user/username/projects/myproject/product/node_modules/module1.ts' does not exist. Info 18 [00:01:07.000] File '/user/username/projects/myproject/product/node_modules/module1.tsx' does not exist. Info 19 [00:01:08.000] File '/user/username/projects/myproject/product/node_modules/module1.d.ts' does not exist. -Info 20 [00:01:09.000] File '/user/username/projects/myproject/product/node_modules/module1/index.ts' exist - use it as a name resolution result. +Info 20 [00:01:09.000] File '/user/username/projects/myproject/product/node_modules/module1/index.ts' exists - use it as a name resolution result. Info 21 [00:01:10.000] Resolving real path for '/user/username/projects/myproject/product/node_modules/module1/index.ts', result '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info 22 [00:01:11.000] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info 23 [00:01:12.000] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== @@ -86,7 +86,7 @@ Info 31 [00:01:20.000] File '/user/username/projects/myproject/node_modules/mo Info 32 [00:01:21.000] File '/user/username/projects/myproject/node_modules/module2.ts' does not exist. Info 33 [00:01:22.000] File '/user/username/projects/myproject/node_modules/module2.tsx' does not exist. Info 34 [00:01:23.000] File '/user/username/projects/myproject/node_modules/module2.d.ts' does not exist. -Info 35 [00:01:24.000] File '/user/username/projects/myproject/node_modules/module2/index.ts' exist - use it as a name resolution result. +Info 35 [00:01:24.000] File '/user/username/projects/myproject/node_modules/module2/index.ts' exists - use it as a name resolution result. Info 36 [00:01:25.000] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'. Info 37 [00:01:26.000] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info 38 [00:01:27.000] 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 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 1b188fd1952..f71b7fc4c99 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 @@ -60,7 +60,7 @@ Info 13 [00:00:50.000] File '/user/username/projects/myproject/src/node_module Info 14 [00:00:51.000] File '/user/username/projects/myproject/src/node_modules/module1.ts' does not exist. Info 15 [00:00:52.000] File '/user/username/projects/myproject/src/node_modules/module1.tsx' does not exist. Info 16 [00:00:53.000] File '/user/username/projects/myproject/src/node_modules/module1.d.ts' does not exist. -Info 17 [00:00:54.000] File '/user/username/projects/myproject/src/node_modules/module1/index.ts' exist - use it as a name resolution result. +Info 17 [00:00:54.000] File '/user/username/projects/myproject/src/node_modules/module1/index.ts' exists - use it as a name resolution result. Info 18 [00:00:55.000] Resolving real path for '/user/username/projects/myproject/src/node_modules/module1/index.ts', result '/user/username/projects/myproject/src/node_modules/module1/index.ts'. Info 19 [00:00:56.000] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. ======== Info 20 [00:00:57.000] ======== Resolving module 'module2' from '/user/username/projects/myproject/src/file1.ts'. ======== @@ -74,7 +74,7 @@ Info 27 [00:01:04.000] File '/user/username/projects/myproject/node_modules/mo Info 28 [00:01:05.000] File '/user/username/projects/myproject/node_modules/module2.ts' does not exist. Info 29 [00:01:06.000] File '/user/username/projects/myproject/node_modules/module2.tsx' does not exist. Info 30 [00:01:07.000] File '/user/username/projects/myproject/node_modules/module2.d.ts' does not exist. -Info 31 [00:01:08.000] File '/user/username/projects/myproject/node_modules/module2/index.ts' exist - use it as a name resolution result. +Info 31 [00:01:08.000] File '/user/username/projects/myproject/node_modules/module2/index.ts' exists - use it as a name resolution result. Info 32 [00:01:09.000] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'. Info 33 [00:01:10.000] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info 34 [00:01:11.000] 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 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 3ac944c40d1..a12f5fbe27d 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 @@ -50,17 +50,17 @@ Info 9 [00:00:56.000] Starting updateGraphWorker: Project: /dev/null/inferred Info 10 [00:00:57.000] ======== Resolving module './feature/file2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info 11 [00:00:58.000] Module resolution kind is not specified, using 'Node10'. Info 12 [00:00:59.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/feature/file2', target file types: TypeScript, Declaration. -Info 13 [00:01:00.000] File '/user/username/projects/myproject/product/src/feature/file2.ts' exist - use it as a name resolution result. +Info 13 [00:01:00.000] File '/user/username/projects/myproject/product/src/feature/file2.ts' exists - use it as a name resolution result. Info 14 [00:01:01.000] ======== Module name './feature/file2' was successfully resolved to '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info 15 [00:01:02.000] ======== Resolving module '../test/file4' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info 16 [00:01:03.000] Module resolution kind is not specified, using 'Node10'. Info 17 [00:01:04.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/test/file4', target file types: TypeScript, Declaration. -Info 18 [00:01:05.000] File '/user/username/projects/myproject/product/test/file4.ts' exist - use it as a name resolution result. +Info 18 [00:01:05.000] File '/user/username/projects/myproject/product/test/file4.ts' exists - use it as a name resolution result. Info 19 [00:01:06.000] ======== Module name '../test/file4' was successfully resolved to '/user/username/projects/myproject/product/test/file4.ts'. ======== Info 20 [00:01:07.000] ======== Resolving module '../test/src/file3' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info 21 [00:01:08.000] Module resolution kind is not specified, using 'Node10'. Info 22 [00:01:09.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/test/src/file3', target file types: TypeScript, Declaration. -Info 23 [00:01:10.000] File '/user/username/projects/myproject/product/test/src/file3.ts' exist - use it as a name resolution result. +Info 23 [00:01:10.000] File '/user/username/projects/myproject/product/test/src/file3.ts' exists - use it as a name resolution result. Info 24 [00:01:11.000] ======== Module name '../test/src/file3' was successfully resolved to '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info 25 [00:01:12.000] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info 26 [00:01:13.000] Module resolution kind is not specified, using 'Node10'. @@ -70,7 +70,7 @@ Info 29 [00:01:16.000] File '/user/username/projects/myproject/product/node_mo Info 30 [00:01:17.000] File '/user/username/projects/myproject/product/node_modules/module1.ts' does not exist. Info 31 [00:01:18.000] File '/user/username/projects/myproject/product/node_modules/module1.tsx' does not exist. Info 32 [00:01:19.000] File '/user/username/projects/myproject/product/node_modules/module1.d.ts' does not exist. -Info 33 [00:01:20.000] File '/user/username/projects/myproject/product/node_modules/module1/index.ts' exist - use it as a name resolution result. +Info 33 [00:01:20.000] File '/user/username/projects/myproject/product/node_modules/module1/index.ts' exists - use it as a name resolution result. Info 34 [00:01:21.000] Resolving real path for '/user/username/projects/myproject/product/node_modules/module1/index.ts', result '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info 35 [00:01:22.000] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info 36 [00:01:23.000] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== @@ -85,7 +85,7 @@ Info 44 [00:01:31.000] File '/user/username/projects/myproject/node_modules/mo Info 45 [00:01:32.000] File '/user/username/projects/myproject/node_modules/module2.ts' does not exist. Info 46 [00:01:33.000] File '/user/username/projects/myproject/node_modules/module2.tsx' does not exist. Info 47 [00:01:34.000] File '/user/username/projects/myproject/node_modules/module2.d.ts' does not exist. -Info 48 [00:01:35.000] File '/user/username/projects/myproject/node_modules/module2/index.ts' exist - use it as a name resolution result. +Info 48 [00:01:35.000] File '/user/username/projects/myproject/node_modules/module2/index.ts' exists - use it as a name resolution result. Info 49 [00:01:36.000] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'. Info 50 [00:01:37.000] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info 51 [00:01:38.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/feature/file2.ts 500 undefined WatchType: Closed Script info 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 fee44aff291..c42b906dd20 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js @@ -93,7 +93,7 @@ Info 21 [00:00:50.000] File '/src/projects/node_modules/moduleX.tsx' does not Info 22 [00:00:51.000] File '/src/projects/node_modules/moduleX.d.ts' does not exist. Info 23 [00:00:52.000] File '/src/projects/node_modules/moduleX/index.ts' does not exist. Info 24 [00:00:53.000] File '/src/projects/node_modules/moduleX/index.tsx' does not exist. -Info 25 [00:00:54.000] File '/src/projects/node_modules/moduleX/index.d.ts' exist - use it as a name resolution result. +Info 25 [00:00:54.000] File '/src/projects/node_modules/moduleX/index.d.ts' exists - use it as a name resolution result. Info 26 [00:00:55.000] Resolving real path for '/src/projects/node_modules/moduleX/index.d.ts', result '/src/projects/node_modules/moduleX/index.d.ts'. Info 27 [00:00:56.000] ======== Module name 'moduleX' was successfully resolved to '/src/projects/node_modules/moduleX/index.d.ts'. ======== Info 28 [00:00:57.000] DirectoryWatcher:: Added:: WatchInfo: /src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache @@ -101,7 +101,7 @@ Info 29 [00:00:58.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /sr Info 30 [00:00:59.000] ======== Resolving module '../common/moduleB' from '/src/projects/app/appB.ts'. ======== Info 31 [00:01:00.000] Module resolution kind is not specified, using 'Node10'. Info 32 [00:01:01.000] Loading module as file / folder, candidate module location '/src/projects/common/moduleB', target file types: TypeScript, Declaration. -Info 33 [00:01:02.000] File '/src/projects/common/moduleB.ts' exist - use it as a name resolution result. +Info 33 [00:01:02.000] File '/src/projects/common/moduleB.ts' exists - use it as a name resolution result. Info 34 [00:01:03.000] ======== Module name '../common/moduleB' was successfully resolved to '/src/projects/common/moduleB.ts'. ======== Info 35 [00:01:04.000] FileWatcher:: Added:: WatchInfo: /src/projects/common/moduleB.ts 500 undefined WatchType: Closed Script info Info 36 [00:01:05.000] ======== Resolving module 'moduleX' from '/src/projects/common/moduleB.ts'. ======== @@ -115,7 +115,7 @@ Info 43 [00:01:12.000] File '/src/projects/node_modules/moduleX.tsx' does not Info 44 [00:01:13.000] File '/src/projects/node_modules/moduleX.d.ts' does not exist. Info 45 [00:01:14.000] File '/src/projects/node_modules/moduleX/index.ts' does not exist. Info 46 [00:01:15.000] File '/src/projects/node_modules/moduleX/index.tsx' does not exist. -Info 47 [00:01:16.000] File '/src/projects/node_modules/moduleX/index.d.ts' exist - use it as a name resolution result. +Info 47 [00:01:16.000] File '/src/projects/node_modules/moduleX/index.d.ts' exists - use it as a name resolution result. Info 48 [00:01:17.000] Resolving real path for '/src/projects/node_modules/moduleX/index.d.ts', result '/src/projects/node_modules/moduleX/index.d.ts'. Info 49 [00:01:18.000] ======== Module name 'moduleX' was successfully resolved to '/src/projects/node_modules/moduleX/index.d.ts'. ======== Info 50 [00:01:19.000] DirectoryWatcher:: Added:: WatchInfo: /src/projects/app/node_modules 1 undefined Project: /src/projects/app/tsconfig.json WatchType: Failed Lookup Locations 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 b8bc1ff0180..3ca8d4db642 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 @@ -70,22 +70,22 @@ Info 13 [00:00:54.000] Starting updateGraphWorker: Project: /user/username/pro Info 14 [00:00:55.000] ======== Resolving module './module1' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info 15 [00:00:56.000] Module resolution kind is not specified, using 'Node10'. Info 16 [00:00:57.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, Declaration. -Info 17 [00:00:58.000] File '/user/username/projects/myproject/product/src/module1.ts' exist - use it as a name resolution result. +Info 17 [00:00:58.000] File '/user/username/projects/myproject/product/src/module1.ts' exists - use it as a name resolution result. Info 18 [00:00:59.000] ======== Module name './module1' was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. ======== Info 19 [00:01:00.000] ======== Resolving module '../module2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info 20 [00:01:01.000] Module resolution kind is not specified, using 'Node10'. Info 21 [00:01:02.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. -Info 22 [00:01:03.000] File '/user/username/projects/myproject/product/module2.ts' exist - use it as a name resolution result. +Info 22 [00:01:03.000] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info 23 [00:01:04.000] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== Info 24 [00:01:05.000] ======== Resolving module '../module1' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info 25 [00:01:06.000] Module resolution kind is not specified, using 'Node10'. Info 26 [00:01:07.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, Declaration. -Info 27 [00:01:08.000] File '/user/username/projects/myproject/product/src/module1.ts' exist - use it as a name resolution result. +Info 27 [00:01:08.000] File '/user/username/projects/myproject/product/src/module1.ts' exists - use it as a name resolution result. Info 28 [00:01:09.000] ======== Module name '../module1' was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. ======== Info 29 [00:01:10.000] ======== Resolving module '../../module2' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info 30 [00:01:11.000] Module resolution kind is not specified, using 'Node10'. Info 31 [00:01:12.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. -Info 32 [00:01:13.000] File '/user/username/projects/myproject/product/module2.ts' exist - use it as a name resolution result. +Info 32 [00:01:13.000] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info 33 [00:01:14.000] ======== Module name '../../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== Info 34 [00:01:15.000] ======== Resolving module '../src/module1}' from '/user/username/projects/myproject/product/test/file4.ts'. ======== Info 35 [00:01:16.000] Module resolution kind is not specified, using 'Node10'. @@ -104,17 +104,17 @@ Info 47 [00:01:28.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info 48 [00:01:29.000] ======== Resolving module '../module2' from '/user/username/projects/myproject/product/test/file4.ts'. ======== Info 49 [00:01:30.000] Module resolution kind is not specified, using 'Node10'. Info 50 [00:01:31.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. -Info 51 [00:01:32.000] File '/user/username/projects/myproject/product/module2.ts' exist - use it as a name resolution result. +Info 51 [00:01:32.000] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info 52 [00:01:33.000] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== Info 53 [00:01:34.000] ======== Resolving module '../../src/module1' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info 54 [00:01:35.000] Module resolution kind is not specified, using 'Node10'. Info 55 [00:01:36.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, Declaration. -Info 56 [00:01:37.000] File '/user/username/projects/myproject/product/src/module1.ts' exist - use it as a name resolution result. +Info 56 [00:01:37.000] File '/user/username/projects/myproject/product/src/module1.ts' exists - use it as a name resolution result. Info 57 [00:01:38.000] ======== Module name '../../src/module1' was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. ======== Info 58 [00:01:39.000] ======== Resolving module '../../module2' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info 59 [00:01:40.000] Module resolution kind is not specified, using 'Node10'. Info 60 [00:01:41.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. -Info 61 [00:01:42.000] File '/user/username/projects/myproject/product/module2.ts' exist - use it as a name resolution result. +Info 61 [00:01:42.000] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info 62 [00:01:43.000] ======== Module name '../../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== Info 63 [00:01:44.000] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info 64 [00:01:45.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots 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 6d67c8b82e6..64031647a5c 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 @@ -60,12 +60,12 @@ Info 11 [00:00:40.000] Starting updateGraphWorker: Project: /user/username/pro Info 12 [00:00:41.000] ======== Resolving module './module1' from '/user/username/projects/myproject/src/file1.ts'. ======== Info 13 [00:00:42.000] Module resolution kind is not specified, using 'Node10'. Info 14 [00:00:43.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/module1', target file types: TypeScript, Declaration. -Info 15 [00:00:44.000] File '/user/username/projects/myproject/src/module1.ts' exist - use it as a name resolution result. +Info 15 [00:00:44.000] File '/user/username/projects/myproject/src/module1.ts' exists - use it as a name resolution result. Info 16 [00:00:45.000] ======== Module name './module1' was successfully resolved to '/user/username/projects/myproject/src/module1.ts'. ======== Info 17 [00:00:46.000] ======== Resolving module '../module2' from '/user/username/projects/myproject/src/file1.ts'. ======== Info 18 [00:00:47.000] Module resolution kind is not specified, using 'Node10'. Info 19 [00:00:48.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/module2', target file types: TypeScript, Declaration. -Info 20 [00:00:49.000] File '/user/username/projects/myproject/module2.ts' exist - use it as a name resolution result. +Info 20 [00:00:49.000] File '/user/username/projects/myproject/module2.ts' exists - use it as a name resolution result. Info 21 [00:00:50.000] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/module2.ts'. ======== Info 22 [00:00:51.000] ======== Resolving module './module1' from '/user/username/projects/myproject/src/file2.ts'. ======== Info 23 [00:00:52.000] Resolution for module './module1' was found in cache from location '/user/username/projects/myproject/src'. diff --git a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js index 27a4d01eb0b..9d487b1fa59 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js @@ -92,7 +92,7 @@ Info 21 [00:00:50.000] File '/src/projects/node_modules/moduleX.tsx' does not Info 22 [00:00:51.000] File '/src/projects/node_modules/moduleX.d.ts' does not exist. Info 23 [00:00:52.000] File '/src/projects/node_modules/moduleX/index.ts' does not exist. Info 24 [00:00:53.000] File '/src/projects/node_modules/moduleX/index.tsx' does not exist. -Info 25 [00:00:54.000] File '/src/projects/node_modules/moduleX/index.d.ts' exist - use it as a name resolution result. +Info 25 [00:00:54.000] File '/src/projects/node_modules/moduleX/index.d.ts' exists - use it as a name resolution result. Info 26 [00:00:55.000] Resolving real path for '/src/projects/node_modules/moduleX/index.d.ts', result '/src/projects/node_modules/moduleX/index.d.ts'. Info 27 [00:00:56.000] ======== Module name 'moduleX' was successfully resolved to '/src/projects/node_modules/moduleX/index.d.ts'. ======== Info 28 [00:00:57.000] DirectoryWatcher:: Added:: WatchInfo: /src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache @@ -100,7 +100,7 @@ Info 29 [00:00:58.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /sr Info 30 [00:00:59.000] ======== Resolving module '../common/moduleB' from '/src/projects/app/appB.ts'. ======== Info 31 [00:01:00.000] Module resolution kind is not specified, using 'Node10'. Info 32 [00:01:01.000] Loading module as file / folder, candidate module location '/src/projects/common/moduleB', target file types: TypeScript, Declaration. -Info 33 [00:01:02.000] File '/src/projects/common/moduleB.ts' exist - use it as a name resolution result. +Info 33 [00:01:02.000] File '/src/projects/common/moduleB.ts' exists - use it as a name resolution result. Info 34 [00:01:03.000] ======== Module name '../common/moduleB' was successfully resolved to '/src/projects/common/moduleB.ts'. ======== Info 35 [00:01:04.000] FileWatcher:: Added:: WatchInfo: /src/projects/common/moduleB.ts 500 undefined WatchType: Closed Script info Info 36 [00:01:05.000] ======== Resolving module 'moduleX' from '/src/projects/common/moduleB.ts'. ======== diff --git a/tests/baselines/reference/typeReferenceDirectives1.trace.json b/tests/baselines/reference/typeReferenceDirectives1.trace.json index 8be3b668a2b..123efd357b8 100644 --- a/tests/baselines/reference/typeReferenceDirectives1.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives1.trace.json @@ -2,7 +2,7 @@ "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", diff --git a/tests/baselines/reference/typeReferenceDirectives10.trace.json b/tests/baselines/reference/typeReferenceDirectives10.trace.json index cec0b4fcd6e..a4e91143469 100644 --- a/tests/baselines/reference/typeReferenceDirectives10.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives10.trace.json @@ -2,7 +2,7 @@ "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving module './ref' from '/app.ts'. ========", @@ -10,7 +10,7 @@ "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, Declaration.", "File '/ref.ts' does not exist.", "File '/ref.tsx' does not exist.", - "File '/ref.d.ts' exist - use it as a name resolution result.", + "File '/ref.d.ts' exists - use it as a name resolution result.", "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", diff --git a/tests/baselines/reference/typeReferenceDirectives11.trace.json b/tests/baselines/reference/typeReferenceDirectives11.trace.json index eb40eeef0db..8b23b436de5 100644 --- a/tests/baselines/reference/typeReferenceDirectives11.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives11.trace.json @@ -2,12 +2,12 @@ "======== 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' exist - use it as a name resolution result.", + "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives12.trace.json b/tests/baselines/reference/typeReferenceDirectives12.trace.json index 50530623c40..ed1f49c7afd 100644 --- a/tests/baselines/reference/typeReferenceDirectives12.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives12.trace.json @@ -2,17 +2,17 @@ "======== 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.", - "File '/main.ts' exist - use it as a name resolution result.", + "File '/main.ts' exists - use it as a name resolution result.", "======== Module name './main' was successfully resolved to '/main.ts'. ========", "======== 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' exist - use it as a name resolution result.", + "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/mod1.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving module './main' from '/mod1.ts'. ========", diff --git a/tests/baselines/reference/typeReferenceDirectives13.trace.json b/tests/baselines/reference/typeReferenceDirectives13.trace.json index cec0b4fcd6e..a4e91143469 100644 --- a/tests/baselines/reference/typeReferenceDirectives13.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives13.trace.json @@ -2,7 +2,7 @@ "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving module './ref' from '/app.ts'. ========", @@ -10,7 +10,7 @@ "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, Declaration.", "File '/ref.ts' does not exist.", "File '/ref.tsx' does not exist.", - "File '/ref.d.ts' exist - use it as a name resolution result.", + "File '/ref.d.ts' exists - use it as a name resolution result.", "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", diff --git a/tests/baselines/reference/typeReferenceDirectives2.trace.json b/tests/baselines/reference/typeReferenceDirectives2.trace.json index 47ae2761584..fb124aa978d 100644 --- a/tests/baselines/reference/typeReferenceDirectives2.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives2.trace.json @@ -2,7 +2,7 @@ "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives3.trace.json b/tests/baselines/reference/typeReferenceDirectives3.trace.json index 8be3b668a2b..123efd357b8 100644 --- a/tests/baselines/reference/typeReferenceDirectives3.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives3.trace.json @@ -2,7 +2,7 @@ "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", diff --git a/tests/baselines/reference/typeReferenceDirectives4.trace.json b/tests/baselines/reference/typeReferenceDirectives4.trace.json index 8be3b668a2b..123efd357b8 100644 --- a/tests/baselines/reference/typeReferenceDirectives4.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives4.trace.json @@ -2,7 +2,7 @@ "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", diff --git a/tests/baselines/reference/typeReferenceDirectives5.trace.json b/tests/baselines/reference/typeReferenceDirectives5.trace.json index cec0b4fcd6e..a4e91143469 100644 --- a/tests/baselines/reference/typeReferenceDirectives5.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives5.trace.json @@ -2,7 +2,7 @@ "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving module './ref' from '/app.ts'. ========", @@ -10,7 +10,7 @@ "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, Declaration.", "File '/ref.ts' does not exist.", "File '/ref.tsx' does not exist.", - "File '/ref.d.ts' exist - use it as a name resolution result.", + "File '/ref.d.ts' exists - use it as a name resolution result.", "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", diff --git a/tests/baselines/reference/typeReferenceDirectives6.trace.json b/tests/baselines/reference/typeReferenceDirectives6.trace.json index 8be3b668a2b..123efd357b8 100644 --- a/tests/baselines/reference/typeReferenceDirectives6.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives6.trace.json @@ -2,7 +2,7 @@ "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", diff --git a/tests/baselines/reference/typeReferenceDirectives7.trace.json b/tests/baselines/reference/typeReferenceDirectives7.trace.json index 8be3b668a2b..123efd357b8 100644 --- a/tests/baselines/reference/typeReferenceDirectives7.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives7.trace.json @@ -2,7 +2,7 @@ "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", diff --git a/tests/baselines/reference/typeReferenceDirectives8.trace.json b/tests/baselines/reference/typeReferenceDirectives8.trace.json index eb40eeef0db..8b23b436de5 100644 --- a/tests/baselines/reference/typeReferenceDirectives8.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives8.trace.json @@ -2,12 +2,12 @@ "======== 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' exist - use it as a name resolution result.", + "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives9.trace.json b/tests/baselines/reference/typeReferenceDirectives9.trace.json index 50530623c40..ed1f49c7afd 100644 --- a/tests/baselines/reference/typeReferenceDirectives9.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives9.trace.json @@ -2,17 +2,17 @@ "======== 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.", - "File '/main.ts' exist - use it as a name resolution result.", + "File '/main.ts' exists - use it as a name resolution result.", "======== Module name './main' was successfully resolved to '/main.ts'. ========", "======== 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' exist - use it as a name resolution result.", + "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/mod1.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib/package.json' does not exist.", - "File '/types/lib/index.d.ts' exist - use it as a name resolution result.", + "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. ========", "======== Resolving module './main' from '/mod1.ts'. ========", diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json index 396bc1a48e3..702c3590910 100644 --- a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json +++ b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json @@ -59,19 +59,19 @@ "======== Resolving type reference directive 'grumpy', containing file '/foo/bar/__inferred type names__.ts', root directory '/foo/node_modules/@types,/node_modules/@types'. ========", "Resolving with primary search path '/foo/node_modules/@types, /node_modules/@types'.", "File '/foo/node_modules/@types/grumpy/package.json' does not exist.", - "File '/foo/node_modules/@types/grumpy/index.d.ts' exist - use it as a name resolution result.", + "File '/foo/node_modules/@types/grumpy/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/foo/node_modules/@types/grumpy/index.d.ts', result '/foo/node_modules/@types/grumpy/index.d.ts'.", "======== Type reference directive 'grumpy' was successfully resolved to '/foo/node_modules/@types/grumpy/index.d.ts', primary: true. ========", "======== Resolving type reference directive 'sneezy', containing file '/foo/bar/__inferred type names__.ts', root directory '/foo/node_modules/@types,/node_modules/@types'. ========", "Resolving with primary search path '/foo/node_modules/@types, /node_modules/@types'.", "File '/foo/node_modules/@types/sneezy/package.json' does not exist.", - "File '/foo/node_modules/@types/sneezy/index.d.ts' exist - use it as a name resolution result.", + "File '/foo/node_modules/@types/sneezy/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/foo/node_modules/@types/sneezy/index.d.ts', result '/foo/node_modules/@types/sneezy/index.d.ts'.", "======== Type reference directive 'sneezy' was successfully resolved to '/foo/node_modules/@types/sneezy/index.d.ts', primary: true. ========", "======== Resolving type reference directive 'dopey', containing file '/foo/bar/__inferred type names__.ts', root directory '/foo/node_modules/@types,/node_modules/@types'. ========", "Resolving with primary search path '/foo/node_modules/@types, /node_modules/@types'.", "File '/node_modules/@types/dopey/package.json' does not exist.", - "File '/node_modules/@types/dopey/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json index d110957a2ec..f63c1df7b54 100644 --- a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json +++ b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json @@ -15,7 +15,7 @@ "======== Resolving type reference directive 'foo', containing file '/src/__inferred type names__.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/foo/package.json' does not exist.", - "File '/node_modules/@types/foo/index.d.ts' exist - use it as a name resolution result.", + "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. ========" ] \ 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 40e17aa135f..26dcd7b6467 100644 --- a/tests/baselines/reference/typesVersions.ambientModules.trace.json +++ b/tests/baselines/reference/typesVersions.ambientModules.trace.json @@ -16,7 +16,7 @@ "Loading module as file / folder, candidate module location 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.ts' does not exist.", "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.tsx' does not exist.", - "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts', result 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from 'tests/cases/conformance/moduleResolution/main.ts'. ========", diff --git a/tests/baselines/reference/typesVersions.emptyTypes.trace.json b/tests/baselines/reference/typesVersions.emptyTypes.trace.json index 3cfa2214971..0d1310d34d9 100644 --- a/tests/baselines/reference/typesVersions.emptyTypes.trace.json +++ b/tests/baselines/reference/typesVersions.emptyTypes.trace.json @@ -19,6 +19,6 @@ "Loading module as file / folder, candidate module location '/a/ts3.1/index', target file types: TypeScript, Declaration.", "File '/a/ts3.1/index.ts' does not exist.", "File '/a/ts3.1/index.tsx' does not exist.", - "File '/a/ts3.1/index.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 ecb04a7aa8c..158d46fcec4 100644 --- a/tests/baselines/reference/typesVersions.justIndex.trace.json +++ b/tests/baselines/reference/typesVersions.justIndex.trace.json @@ -19,6 +19,6 @@ "Loading module as file / folder, candidate module location '/a/ts3.1/index', target file types: TypeScript, Declaration.", "File '/a/ts3.1/index.ts' does not exist.", "File '/a/ts3.1/index.tsx' does not exist.", - "File '/a/ts3.1/index.d.ts' exist - use it as a name resolution result.", + "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'. ========" ] \ 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 02149991669..828bca79743 100644 --- a/tests/baselines/reference/typesVersions.multiFile.trace.json +++ b/tests/baselines/reference/typesVersions.multiFile.trace.json @@ -16,7 +16,7 @@ "Loading module as file / folder, candidate module location 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.ts' does not exist.", "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.tsx' does not exist.", - "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts', result 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from 'tests/cases/conformance/moduleResolution/main.ts'. ========", @@ -28,7 +28,7 @@ "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/other'.", "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/other.ts' does not exist.", "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/other.tsx' does not exist.", - "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/other.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/other.d.ts', result 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to 'tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/other.d.ts' with Package ID 'ext/ts3.1/other.d.ts@1.0.0'. ========" ] \ 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 8f2d2637d25..abb2cbed00e 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json @@ -16,7 +16,7 @@ "Loading module as file / folder, candidate module location 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.ts' does not exist.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.tsx' does not exist.", - "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts', result 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from 'tests/cases/conformance/declarationEmit/main.ts'. ========", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json index dae91f88b6e..997959868ae 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json @@ -16,7 +16,7 @@ "Loading module as file / folder, candidate module location 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.ts' does not exist.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.tsx' does not exist.", - "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts', result 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from 'tests/cases/conformance/declarationEmit/main.ts'. ========", @@ -28,7 +28,7 @@ "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/other'.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.ts' does not exist.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.tsx' does not exist.", - "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.d.ts', result 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.d.ts' with Package ID 'ext/ts3.1/other.d.ts@1.0.0'. ========" ] \ 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 455dbcf182e..7fe6894ef38 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json @@ -13,14 +13,14 @@ "Loading module as file / folder, candidate module location 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.ts' does not exist.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.tsx' does not exist.", - "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.", "======== Module name '../' was successfully resolved to 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/s3.1/index.d.ts@1.0.0'. ========", "======== Resolving module '../other' from 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location 'tests/cases/conformance/declarationEmit/node_modules/ext/other', target file types: TypeScript, Declaration.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.ts' does not exist.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.tsx' does not exist.", - "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts' exists - use it as a name resolution result.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Module name '../other' was successfully resolved to 'tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts' with Package ID 'ext/other.d.ts@1.0.0'. ========", "======== Resolving module 'ext' from 'tests/cases/conformance/declarationEmit/main.ts'. ========", @@ -39,7 +39,7 @@ "Loading module as file / folder, candidate module location 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.ts' does not exist.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.tsx' does not exist.", - "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts', result 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from 'tests/cases/conformance/declarationEmit/main.ts'. ========", @@ -51,7 +51,7 @@ "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/other'.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.ts' does not exist.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.tsx' does not exist.", - "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.d.ts', result 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/other.d.ts' with Package ID 'ext/ts3.1/other.d.ts@1.0.0'. ========" ] \ 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 94c3e9ac381..7b5092cb7f0 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json @@ -4,7 +4,7 @@ "Loading module as file / folder, candidate module location 'tests/cases/conformance/declarationEmit/node_modules/ext/other', target file types: TypeScript, Declaration.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.ts' does not exist.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.tsx' does not exist.", - "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts' exists - use it as a name resolution result.", "Found 'package.json' at 'tests/cases/conformance/declarationEmit/node_modules/ext/package.json'.", "======== Module name '../other' was successfully resolved to 'tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts' with Package ID 'ext/other.d.ts@1.0.0'. ========", "======== Resolving module 'ext' from 'tests/cases/conformance/declarationEmit/main.ts'. ========", @@ -24,7 +24,7 @@ "Loading module as file / folder, candidate module location 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.ts' does not exist.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.tsx' does not exist.", - "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts', result 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to 'tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from 'tests/cases/conformance/declarationEmit/main.ts'. ========", @@ -34,7 +34,7 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'other'.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.ts' does not exist.", "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.tsx' does not exist.", - "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts' exist - use it as a name resolution result.", + "File 'tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts', result 'tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to 'tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts' with Package ID 'ext/other.d.ts@1.0.0'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typingsLookup1.trace.json b/tests/baselines/reference/typingsLookup1.trace.json index 6914a6ea965..6ac79387ff4 100644 --- a/tests/baselines/reference/typingsLookup1.trace.json +++ b/tests/baselines/reference/typingsLookup1.trace.json @@ -2,7 +2,7 @@ "======== 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' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts'. ========", diff --git a/tests/baselines/reference/typingsLookup3.trace.json b/tests/baselines/reference/typingsLookup3.trace.json index 6914a6ea965..6ac79387ff4 100644 --- a/tests/baselines/reference/typingsLookup3.trace.json +++ b/tests/baselines/reference/typingsLookup3.trace.json @@ -2,7 +2,7 @@ "======== 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' exist - use it as a name resolution result.", + "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. ========", "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts'. ========", diff --git a/tests/baselines/reference/typingsLookup4.trace.json b/tests/baselines/reference/typingsLookup4.trace.json index e88316ee6a5..9a138c347e5 100644 --- a/tests/baselines/reference/typingsLookup4.trace.json +++ b/tests/baselines/reference/typingsLookup4.trace.json @@ -9,7 +9,7 @@ "File '/node_modules/@types/jquery.d.ts' does not exist.", "'package.json' does not have a 'typesVersions' field.", "'package.json' has 'typings' field 'jquery.d.ts' that references '/node_modules/@types/jquery/jquery.d.ts'.", - "File '/node_modules/@types/jquery/jquery.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/jquery/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/jquery/jquery.d.ts', result '/node_modules/@types/jquery/jquery.d.ts'.", "======== Module name 'jquery' was successfully resolved to '/node_modules/@types/jquery/jquery.d.ts'. ========", "======== Resolving module 'kquery' from '/a.ts'. ========", @@ -26,7 +26,7 @@ "Loading module as file / folder, candidate module location '/node_modules/@types/kquery/kquery', target file types: TypeScript, Declaration.", "File '/node_modules/@types/kquery/kquery.ts' does not exist.", "File '/node_modules/@types/kquery/kquery.tsx' does not exist.", - "File '/node_modules/@types/kquery/kquery.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/kquery/kquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/kquery/kquery.d.ts', result '/node_modules/@types/kquery/kquery.d.ts'.", "======== Module name 'kquery' was successfully resolved to '/node_modules/@types/kquery/kquery.d.ts'. ========", "======== Resolving module 'lquery' from '/a.ts'. ========", @@ -41,7 +41,7 @@ "'package.json' has 'typings' field 'lquery' that references '/node_modules/@types/lquery/lquery'.", "File '/node_modules/@types/lquery/lquery' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/@types/lquery/lquery', target file types: TypeScript, Declaration.", - "File '/node_modules/@types/lquery/lquery.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/lquery/lquery.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/lquery/lquery.ts', result '/node_modules/@types/lquery/lquery.ts'.", "======== Module name 'lquery' was successfully resolved to '/node_modules/@types/lquery/lquery.ts'. ========", "======== Resolving module 'mquery' from '/a.ts'. ========", @@ -60,14 +60,14 @@ "File '/node_modules/@types/mquery/mquery.tsx' does not exist.", "File '/node_modules/@types/mquery/mquery.d.ts' does not exist.", "File '/node_modules/@types/mquery/mquery/index.ts' does not exist.", - "File '/node_modules/@types/mquery/mquery/index.tsx' exist - use it as a name resolution result.", + "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'. ========", "======== 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.", "'package.json' has 'typings' field 'jquery.d.ts' that references '/node_modules/@types/jquery/jquery.d.ts'.", - "File '/node_modules/@types/jquery/jquery.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/jquery/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/jquery/jquery.d.ts', result '/node_modules/@types/jquery/jquery.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/jquery.d.ts', primary: true. ========", "======== Resolving type reference directive 'kquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", @@ -78,7 +78,7 @@ "Loading module as file / folder, candidate module location '/node_modules/@types/kquery/kquery', target file types: TypeScript, Declaration.", "File '/node_modules/@types/kquery/kquery.ts' does not exist.", "File '/node_modules/@types/kquery/kquery.tsx' does not exist.", - "File '/node_modules/@types/kquery/kquery.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/kquery/kquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/kquery/kquery.d.ts', result '/node_modules/@types/kquery/kquery.d.ts'.", "======== Type reference directive 'kquery' was successfully resolved to '/node_modules/@types/kquery/kquery.d.ts', primary: true. ========", "======== Resolving type reference directive 'lquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", @@ -87,7 +87,7 @@ "'package.json' has 'typings' field 'lquery' that references '/node_modules/@types/lquery/lquery'.", "File '/node_modules/@types/lquery/lquery' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/@types/lquery/lquery', target file types: TypeScript, Declaration.", - "File '/node_modules/@types/lquery/lquery.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/lquery/lquery.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/lquery/lquery.ts', result '/node_modules/@types/lquery/lquery.ts'.", "======== Type reference directive 'lquery' was successfully resolved to '/node_modules/@types/lquery/lquery.ts', primary: true. ========", "======== Resolving type reference directive 'mquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", @@ -100,7 +100,7 @@ "File '/node_modules/@types/mquery/mquery.tsx' does not exist.", "File '/node_modules/@types/mquery/mquery.d.ts' does not exist.", "File '/node_modules/@types/mquery/mquery/index.ts' does not exist.", - "File '/node_modules/@types/mquery/mquery/index.tsx' exist - use it as a name resolution result.", + "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. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typingsLookupAmd.trace.json b/tests/baselines/reference/typingsLookupAmd.trace.json index 31cd72105f1..0d8b1ed9ff1 100644 --- a/tests/baselines/reference/typingsLookupAmd.trace.json +++ b/tests/baselines/reference/typingsLookupAmd.trace.json @@ -13,7 +13,7 @@ "Directory '/x/y/node_modules' does not exist, skipping all lookups in it.", "File '/x/node_modules/@types/b/package.json' does not exist.", "File '/x/node_modules/@types/b.d.ts' does not exist.", - "File '/x/node_modules/@types/b/index.d.ts' exist - use it as a name resolution result.", + "File '/x/node_modules/@types/b/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'b' was successfully resolved to '/x/node_modules/@types/b/index.d.ts'. ========", "======== Resolving module 'a' from '/x/node_modules/@types/b/index.d.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", @@ -37,12 +37,12 @@ "File '/x/node_modules/@types/a.d.ts' does not exist.", "File '/node_modules/@types/a/package.json' does not exist.", "File '/node_modules/@types/a.d.ts' does not exist.", - "File '/node_modules/@types/a/index.d.ts' exist - use it as a name resolution result.", + "File '/node_modules/@types/a/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'a' was successfully resolved to '/node_modules/@types/a/index.d.ts'. ========", "======== 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' exist - use it as a name resolution result.", + "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. ========" ] \ No newline at end of file