Commit Graph

  • 69fb689edb Bump version to 5.7.0-beta and LKG v5.7-beta TypeScript Bot 2024-10-01 01:05:06 +00:00
  • 35902c2e77 Remove references to tsserverlibrary.d.ts baseline from workflows (#60109) Jake Bailey 2024-09-30 17:34:08 -07:00
  • 3386e94321 Update deps (#60085) Jake Bailey 2024-09-30 13:31:14 -07:00
  • 18d20f12ba Bump the github-actions group across 1 directory with 4 updates (#60101) dependabot[bot] 2024-09-30 09:52:35 -07:00
  • 476e9ee201 Extract node type printer (#59282) Titian Cernicova-Dragomir 2024-09-30 17:19:42 +01:00
  • 2c23beae02 DOM update 2024-09-25 (#60061) Nathan Shively-Sanders 2024-09-27 15:32:19 -07:00
  • f6d2e73c5a add jsx fragments to callLikeExpression (#59933) Isabel Duan 2024-09-27 15:16:29 -07:00
  • bd3d70058c Rewrite relative import extensions with flag (#59767) Andrew Branch 2024-09-27 12:27:16 -07:00
  • 9d98874739 Introduce ES2024 target and fix some types (#58573) Kenta Moriuchi 2024-09-28 03:58:17 +09:00
  • 52c59dbcbe Add CopilotRelated command (#59963) Nathan Shively-Sanders 2024-09-26 16:10:41 -07:00
  • da1fb07db0 Make noCheck non-internal on CompilerOptions (#60078) Jake Bailey 2024-09-26 15:28:42 -07:00
  • 20746579b7 Simplify statSync (#59276) Jake Bailey 2024-09-26 15:28:28 -07:00
  • 5119230083 Enable Node.js/v8 compile caching via entrypoint shims (#59720) Jake Bailey 2024-09-26 14:53:31 -07:00
  • 25ab551a12 Report implict any error when widening null/undefined in presence of … (#59661) Ron Buckton 2024-09-26 17:06:57 -04:00
  • 825826fd66 Unexport NodeTypingsInstaller in typingsInstaller.js (#60075) Jake Bailey 2024-09-26 12:08:29 -07:00
  • 8499803ae0 Adding preparePasteEdits method to check if smart copy/paste should be applied (#60053) navya9singh 2024-09-26 11:50:23 -07:00
  • 3ad0f75248 Fix occasional silent error emit for JSDoc declaration emit and overzealous node serialization of jsdoc optional parameters. (#60034) Wesley Wigham 2024-09-25 15:40:10 -07:00
  • 8496039426 Fix JSDoc @import resolution in --moduleResolution bundler (#60011) Andrew Branch 2024-09-25 14:11:07 -07:00
  • 55886a1e24 Fixed incorrect SignatureFlags.HasRestParameter propagation when combining signatures (#58440) Mateusz Burzyński 2024-09-25 22:21:41 +02:00
  • 413f0fa831 Fixed crash when looking for contextual inherited JSDocs for setters and getters (#60027) Mateusz Burzyński 2024-09-25 20:04:01 +02:00
  • e962037df3 Fixed crash when resolving a symbol on invalid private identifier in type reference (#60013) Mateusz Burzyński 2024-09-25 01:18:01 +02:00
  • aa9df4d687 Fix incorrect mode calculation in typereference resolution (#60049) Sheetal Nandi 2024-09-24 13:23:41 -07:00
  • 9ad213fa8f Validate JSON imports into ESM in --module nodenext (#60019) Andrew Branch 2024-09-24 13:02:42 -07:00
  • 278f260d0d Specialize the message on JSX tags looking for the JSX factory namespace (#58870) Daniel Rosenwasser 2024-09-24 11:52:44 -07:00
  • e5758ab8b1 Make typed arrays generic over ArrayBufferLike (#59417) Ron Buckton 2024-09-24 12:17:59 -04:00
  • fa0080f480 Support interpreting non-literal computed properties in classes as implicit index signatures (#59860) Wesley Wigham 2024-09-23 11:09:06 -07:00
  • e24cc01b08 Cache instantiation expression types early enough to prevent reentrancy during printback (#59931) Wesley Wigham 2024-09-23 10:46:57 -07:00
  • 89142cb011 Fix remainingTimeout calculation shared-struct-test Ron Buckton 2024-09-22 21:43:25 -04:00
  • 1fff2c5991 Just like resolutions store package json scope as a object so we can reuse that data packageJsonScope Sheetal Nandi 2024-07-16 11:18:31 -07:00
  • 0ec97ef6e5 Handle package json lifetime - All the package json watched are ref counted if watched - Not watched package json locations are released - First of this kind are when resolution from global cache fails, we dont watch those locations so not safe to have them cached - If we are looking for a file and the file is not found, the package json locations looked up are not watched Sheetal Nandi 2024-07-26 14:59:35 -07:00
  • aaf7906ce3 Monomorphic flag calculation and property access for name/jsDoc Ron Buckton 2024-09-20 15:54:06 -04:00
  • 28f1eab745 Resolutions in cache stays for lifetime.. Sheetal Nandi 2024-07-08 12:04:43 -07:00
  • 93f61bfa9d In preparation of sharing resolutions, watch the resolutions right away instead of defering external module reoslutions to watch all failed lookup locations Sheetal Nandi 2023-07-11 13:38:46 -07:00
  • 4935835e3a Make sure reused resolutions from file are accounted if all resolutions are reused/are resolved to ambient module names Sheetal Nandi 2023-09-29 11:22:44 -07:00
  • 81b8b7d43a Fix incorrect mode calculation in typereference resolution Sheetal Nandi 2024-09-18 14:14:01 -07:00
  • 38b0c2ee41 Add incremental test where cache should have same resolutions as whats in the program This shows cache is holding onto resolutions that are no longer needed by program because either those modules arent present in file or is determined to be ambient resolution Sheetal Nandi 2023-09-27 14:54:33 -07:00
  • cf54ae6f91 Tests Sheetal Nandi 2024-07-15 13:44:09 -07:00
  • 7cc516e40b unresolved imports of empty array and undefined are same Sheetal Nandi 2023-11-09 15:30:59 -08:00
  • e1486e8cce Now that work with unresolved imports cleanup is done, remove the temp logging added Sheetal Nandi 2023-11-09 15:24:51 -08:00
  • 3bd850b0ad Remove unnecessary timeout running added during wip to ensure catching all updates Sheetal Nandi 2023-10-25 11:53:05 -07:00
  • adf9d69461 If the there is no change detected in module resolution we shouldnt need to update last cached unresolved imports just because we have new program Sheetal Nandi 2023-10-20 14:11:11 -07:00
  • bce2833980 Update cached import list update as part of resolving modules instead of another pass Sheetal Nandi 2023-10-20 13:10:34 -07:00
  • 3234d102ed Instead of iterating over resolutions to invalidate per global cache pass, invalidate them at usage site Sheetal Nandi 2023-10-17 15:08:34 -07:00
  • 4f34cae519 Use globalCacheResolution to invalidate resolutions on typings update Sheetal Nandi 2023-10-17 14:55:00 -07:00
  • f01df5f73f If typing installer is disabled invalidate all the resolutions from typings cache This change finally makes all tests pass incremental tests for matching resolutions and program structuture Sheetal Nandi 2023-10-12 14:34:14 -07:00
  • 628eb554f5 Do not update typings for project if type aquisition is disabled Sheetal Nandi 2023-10-12 12:10:34 -07:00
  • b1ae179397 Update the unresolved import list only if it will be used Sheetal Nandi 2023-10-11 16:03:41 -07:00
  • 6a80c2337a Close watchers for TI that are no longer needed Sheetal Nandi 2023-10-11 14:20:10 -07:00
  • 7aed0d7c79 When type acquisition is disabled, remove the typing files set as root Also cache the inferred type acquition for inferred project Sheetal Nandi 2023-10-11 12:36:17 -07:00
  • 3f8e00c37f Handle unnecessary typings request force just because root files change First unresolved import gets the typing file into cache and sets it as root, This results in scheduling new typing request with that unresolved import missing The result will come back with typing file that is omitted, so root file will change but file will still be part of program so its not really removed from program Sheetal Nandi 2023-10-11 12:14:21 -07:00
  • f54396972b Verify getUnresolvedImports incrementally Sheetal Nandi 2023-10-20 14:19:19 -07:00
  • 32048c9551 Add test when type acquisition changes Sheetal Nandi 2023-11-07 15:24:28 -08:00
  • c4d154af2c Write log about unresolved imports calculation Sheetal Nandi 2023-10-17 12:54:51 -07:00
  • 0f2a20fa57 Unify types Ron Buckton 2024-09-20 01:33:24 -04:00
  • 88809467e8 Fixed a crash when trying to find references on NoSubstitutionTemplateLiteral with LiteralType parent (#59889) Mateusz Burzyński 2024-09-20 00:59:36 +02:00
  • 9f150e00df Replace Debug.checkDefined to avoid redundant debugger stops (#60009) Mateusz Burzyński 2024-09-19 23:08:12 +02:00
  • 014214a5cf Add slim variant of forEachChild Ron Buckton 2024-09-18 14:44:18 -04:00
  • 648e4a912d migrate majority of parser to slim ast node Ron Buckton 2024-09-18 14:01:41 -04:00
  • 49ad1a3917 Remove tsbuildInfo specification error now that we need it for non incremental scenarios as well and there is no way to disable it (#59960) Sheetal Nandi 2024-09-18 10:41:58 -07:00
  • 02b07a1788 Dont open composite projects to determine if script info is part of project (#59688) Sheetal Nandi 2024-09-18 10:35:22 -07:00
  • 85e91cb62b Less aggressive use of optional chaining Ron Buckton 2024-09-18 09:56:02 -04:00
  • 7e2f1bb99a formatting Ron Buckton 2024-09-17 16:19:43 -04:00
  • 37746fd5b1 Merge branch 'main' into slim-ast-node Ron Buckton 2024-09-17 16:12:13 -04:00
  • 5d99110c21 Add initial slim AstNode API Ron Buckton 2024-09-17 14:35:54 -04:00
  • 8230bc66a7 Drop unnecessary type arguments in the isolated declarations quick fix (#59665) Ben Lickly 2024-09-16 10:35:50 -07:00
  • 52eaa7b02f Enable --isolatedDeclarations on TS codebase (#59635) Isabel Duan 2024-09-15 18:10:52 -07:00
  • ca2baf4bd1 Sure let's do more syntaxFacts Daniel Rosenwasser 2024-09-13 07:27:18 +00:00
  • 9dc225a643 Use lookup tables for common functions on node kinds. Daniel Rosenwasser 2024-09-13 06:08:05 +00:00
  • 89e004f632 add support for autoimports/moveToFile to generate aliased named imports (#59885) Isabel Duan 2024-09-10 15:38:37 -07:00
  • 0d7763e4c8 Sanitize version string for syntactically invalid buildinfo baselines (#59932) Wesley Wigham 2024-09-10 13:58:33 -07:00
  • 48f0b3cc38 Update deps, TS 5.6, remove node-fetch (#59907) Jake Bailey 2024-09-09 13:17:05 -07:00
  • 53039d3f05 Include all type parameters in completions within type parameters' constraints (#56543) Mateusz Burzyński 2024-09-09 19:35:58 +02:00
  • 31afb988d1 Updates to --build parsing on command line (#59874) Sheetal Nandi 2024-09-06 12:52:55 -07:00
  • ea699093ce We may not always get file notifications for file creation, so always check for failed lookups starting with the path as well as exact path (#59882) Sheetal Nandi 2024-09-06 12:20:13 -07:00
  • 2fb1363b82 Make "/home/src/workspaces/project" as default current directory without having to specify it for tsc tests (#59875) Sheetal Nandi 2024-09-05 16:15:20 -07:00
  • f39fe7dbe6 Support importHelpers with module:preserve (#59852) Ron Buckton 2024-09-05 17:48:39 -04:00
  • d514dab3f6 Fix the incorrect copy over for watchOptions and fix order of watches for referenced projects (#59871) Sheetal Nandi 2024-09-05 13:30:08 -07:00
  • 87d0e771a8 Fix issues with global typings cache and what gets watches (#59869) Sheetal Nandi 2024-09-05 13:06:30 -07:00
  • 7976d9cef5 Refactor tsserver, tsc and fourslash-server tests so that paths are always watchable (#59844) Sheetal Nandi 2024-09-04 14:22:10 -07:00
  • 29d92edd1c Revert "Allow variance annotations on generic references (#56418)" (#59793) Mateusz Burzyński 2024-09-04 01:08:13 +02:00
  • fe2cb8ebaa Add missing index parameter to the Array.fromAsync's mapFn (#59837) Mateusz Burzyński 2024-09-03 19:18:18 +02:00
  • a709f9899c Update deps, dprint plugins (#59810) Jake Bailey 2024-08-30 15:48:32 -07:00
  • a7e3374f13 Bump version to 5.6.2 and LKG v5.6.2 TypeScript Bot 2024-08-30 22:33:46 +00:00
  • 20633579fc 🤖 Pick PR #59708 (LEGO: Pull request from lego/hb_537...) into release-5.6 (#59710) TypeScript Bot 2024-08-30 15:21:30 -07:00
  • 6260f7ab78 Added typeToTypeNode with truncation (#59332) Armando Aguirre 2024-08-30 14:16:18 -07:00
  • 0e292c441a Fixed formatting to fix the CI on main (#59801) Mateusz Burzyński 2024-08-29 23:10:34 +02:00
  • eadb9e18f9 Don't generalize when assigment target is never (fix: #41707) (#59774) Yevhenii Hyzyla 2024-08-29 21:20:28 +02:00
  • 342d142548 LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20240829095357792 to main (#59795) CSIGS@microsoft.com 2024-08-29 11:19:07 -07:00
  • e6f3bafddf Optimize path mapping lookups (#59048) Daniel Rosenwasser 2024-08-29 09:17:24 -07:00
  • 497316f7e8 LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20240828095615951 to main (#59783) CSIGS@microsoft.com 2024-08-28 11:06:11 -07:00
  • dc535a7be8 Bump github/codeql-action from 3.26.2 to 3.26.5 in the github-actions group across 1 directory (#59753) dependabot[bot] 2024-08-27 11:09:01 -07:00
  • 4fe7e41ea1 🤖 Pick PR #59670 (fix(59649): ts Move to a new file d...) into release-5.6 (#59725) TypeScript Bot 2024-08-27 10:42:46 -07:00
  • 1a03e5340a 🤖 Pick PR #59761 (this can be nullish) into release-5.6 (#59762) TypeScript Bot 2024-08-27 10:28:21 -07:00
  • 64931f7c3d this can be nullish (#59761) Ryan Cavanaugh 2024-08-26 12:30:27 -07:00
  • 47ae752c23 refactor: improve string export name completions (#58818) Jack Works 2024-08-27 03:23:05 +08:00
  • e7410ce179 Switch from prettier to pretty_yaml for yaml formatting (#59757) Jake Bailey 2024-08-26 10:48:00 -07:00
  • a86b5e2b01 Fix error message for type-only import of ES module from CJS (#59711) Andrew Branch 2024-08-23 12:05:40 -07:00
  • 3abe069fd2 fix(59649): ts Move to a new file doesn't respect importModuleSpecifier setting (#59670) Oleksandr T. 2024-08-23 02:46:28 +03:00
  • d1e25f25c2 devcontainer.json Updates (#59694) Daniel Rosenwasser 2024-08-22 16:32:19 -07:00
  • 82e4682541 Drop tsserverlibrary.d.ts from baselines, simplify APILibCheck (#59722) Jake Bailey 2024-08-22 14:12:59 -07:00