Commit Graph

  • 6c7df1f324 🤖 Pick PR #59285 (Fix captured shorthand properties i...) into release-5.5 (#59288) TypeScript Bot 2024-07-16 11:21:43 -07:00
  • d5434c85f7 🤖 Pick PR #59300 (Verify that perf_hooks result actua...) into release-5.5 (#59301) TypeScript Bot 2024-07-16 11:19:54 -07:00
  • 6369240da6 Store information in buildInfo to repopulate mode mismatch based on status of package.json (#59286) Sheetal Nandi 2024-07-16 10:12:14 -07:00
  • bd54a6bb2b Verify that perf_hooks result actually contains the performance object (#59300) Jake Bailey 2024-07-16 10:03:02 -07:00
  • f3bdc07776 Merge branch 'main' into enforceReadonly Anders Hejlsberg 2024-07-15 15:10:11 -07:00
  • ec446b6f19 Fixed crash on circular local type arguments when outer ones are present too (#59089) Mateusz Burzyński 2024-07-15 23:39:25 +02:00
  • 652c96c123 Fix circularity errors in intra-binding-pattern references (#59183) Anders Hejlsberg 2024-07-15 13:48:44 -07:00
  • 03143729b1 Make type comparison error elaboration consistent (#58859) Gabriela Araujo Britto 2024-07-15 11:11:40 -07:00
  • 6d3be985c8 Fixed regression in reverse mapped type inference caused by cache leak (#59232) Mateusz Burzyński 2024-07-13 00:50:43 +02:00
  • 9c093c13e6 Do not reuse ambient module name resolution from other files while determining if resolution can be reused (#59243) Sheetal Nandi 2024-07-12 14:43:00 -07:00
  • 01670b06a5 Add tests Anders Hejlsberg 2024-07-12 07:54:18 -07:00
  • 3508e0ee86 Fix formatting Anders Hejlsberg 2024-07-11 15:55:41 -07:00
  • 22e9458d9a Accept new baselines Anders Hejlsberg 2024-07-11 15:12:39 -07:00
  • 37e625893f Switch lib.d.ts to use /** @deferred */ Anders Hejlsberg 2024-07-11 15:12:26 -07:00
  • 96e692174d Support /** @deferred */ in .ts files Anders Hejlsberg 2024-07-11 15:12:03 -07:00
  • bc21cdd7bc Add a quicker check for identifiers, check for space sooner. scanFastPaths Daniel Rosenwasser 2024-07-11 21:49:29 +00:00
  • 18df637617 Move shebang check into the same branch as other # cases. Daniel Rosenwasser 2024-07-11 21:33:13 +00:00
  • da8bd588d1 Accept baselines. selectiveLiteralTypesExperiment Daniel Rosenwasser 2024-07-11 21:00:27 +00:00
  • 550e11e009 Avoid caching long-ish string literal types from expressions. Daniel Rosenwasser 2024-07-11 21:00:07 +00:00
  • 46410044ad Improve error message for unserializable private and protected class members (#59229) Wesley Wigham 2024-07-11 11:05:52 -07:00
  • d69cc7e77e Revert test updates. Daniel Rosenwasser 2024-07-11 17:42:13 +00:00
  • 8ced9d6dbd Accept baselines. Daniel Rosenwasser 2024-07-11 00:24:15 +00:00
  • 0570a597aa Only create literal types if a contexutal type is present and indicates that they may be necessary. Daniel Rosenwasser 2024-07-11 00:23:25 +00:00
  • e450c463c6 fix(59011): TypeScript generates invalid types if @import tags are spread over multiple lines (#59026) Oleksandr T 2024-07-11 01:37:49 +03:00
  • 64f89e7961 Fix codefix crash on circular aliases (#59215) Andrew Branch 2024-07-10 15:37:12 -07:00
  • 972e9a70c6 Added affectsSourceFile to importHelpers and jsxImportSource (#59195) Armando Aguirre 2024-07-10 14:18:45 -07:00
  • 635db122d6 Bump actions/upload-artifact from 4.3.3 to 4.3.4 in the github-actions group (#59169) dependabot[bot] 2024-07-10 14:01:59 -07:00
  • ed17a89c1e Write non-missing undefined on mapped type results into output (#59208) Wesley Wigham 2024-07-10 13:05:12 -07:00
  • 2fd707d850 Disable noEmitOnError (#59223) Jake Bailey 2024-07-10 09:59:23 -07:00
  • fde340b3e4 Merge branch 'main' into fix11498 Anders Hejlsberg 2024-07-10 07:18:48 -07:00
  • a6a0f4ad58 Fix baselines from PR 59203 (#59216) Jake Bailey 2024-07-09 18:36:50 -07:00
  • de77dd4726 Skip ID inference errors on nodes collected from other files (#59203) Wesley Wigham 2024-07-09 16:03:17 -07:00
  • 9afdd74b40 Enable typed linting for scripts dir (#59073) Jake Bailey 2024-07-09 15:15:35 -07:00
  • 533acb5ad9 Consider enclosing declaration when serializing inferred return types (#59170) Jake Bailey 2024-07-09 14:35:27 -07:00
  • 8d84a68776 Fixed crash when finding all references when JSDocImportTags are involved (#59207) Mateusz Burzyński 2024-07-09 22:59:54 +02:00
  • c9dd98ee7f Fixed regression in signature instantiation (#59121) Mateusz Burzyński 2024-07-09 20:34:07 +02:00
  • 65baa7df9d Fixed a regression in declaration emit of computed non-dynamic names (#59110) Mateusz Burzyński 2024-07-09 20:21:52 +02:00
  • ded36b21ac pasteEdits returns no edit when there are no imports needed (#59189) navya9singh 2024-07-09 10:27:41 -07:00
  • a6fb4dc103 Create a SourceFile-level indirection on children maps, store SyntaxList children directly on nodes. (#59154) Daniel Rosenwasser 2024-07-09 08:55:41 +09:00
  • 247a98335d In project, instead of iterating over program files to determine if file needs to be detached, do it through existing mechanism of releasing oldSourceFile (#59181) Sheetal Nandi 2024-07-08 13:37:44 -07:00
  • eb23677656 Update knip (#59182) Lars Kappert 2024-07-08 22:27:57 +02:00
  • 3163fe7e38 Fixed crash when cross-file reusing nodes for class member snippet completions (#58216) Mateusz Burzyński 2024-07-04 19:38:25 +02:00
  • c3efeb9d1b Move diagnostic duration to performance data (#59122) Gabriela Araujo Britto 2024-07-03 15:04:51 -07:00
  • 33ae58db20 Hit the table once for whitespace, then tight-loop. scan-experiments Daniel Rosenwasser 2024-07-03 19:57:03 +00:00
  • 3bdfe84fd9 Rename None to IdentifierOrUnknown Daniel Rosenwasser 2024-07-02 19:29:49 +00:00
  • db10caef80 Add missing nextLine entry to whitespace, remove unnecessary branches. Daniel Rosenwasser 2024-07-02 19:27:33 +00:00
  • 9e5e29fd33 More rename. Daniel Rosenwasser 2024-07-02 19:17:39 +00:00
  • 11a24a7c77 TokenInfo -> TokenCategory Daniel Rosenwasser 2024-07-02 19:14:36 +00:00
  • d5898b5b80 Use Debug.fail to avoid a call. Daniel Rosenwasser 2024-07-02 18:59:25 +00:00
  • af340b7156 Flip condition for readabiity (avoids indentation). Daniel Rosenwasser 2024-07-02 17:30:08 +00:00
  • 9830671eef Check for CR, LF, space, and tab before doing the lookup. Daniel Rosenwasser 2024-07-02 08:36:09 +00:00
  • 811526d993 Moved everything outside of identifier handling to use a lookup. Daniel Rosenwasser 2024-07-02 08:14:03 +00:00
  • a087c2415b Fixes. Daniel Rosenwasser 2024-07-02 08:13:04 +00:00
  • e8769ca541 Handle digits. Daniel Rosenwasser 2024-07-02 07:48:48 +00:00
  • f43891898a Use an array for common cases. Daniel Rosenwasser 2024-07-02 07:37:12 +00:00
  • e6de1d9e61 Create a lookup table on token info to avoid excessive branching. Daniel Rosenwasser 2024-07-02 05:59:03 +00:00
  • ef5dd3416f Use indexOfAnyCharCode in, uh, one other place. match-files-experiments Daniel Rosenwasser 2024-07-02 01:14:28 +00:00
  • 8c822293ba Use a bitmask to avoid unnecessary calls to contains in indexOfAnyCharCode. Daniel Rosenwasser 2024-07-02 01:08:58 +00:00
  • 361d0d44fa More non-capturing. Daniel Rosenwasser 2024-07-02 01:05:55 +00:00
  • 3fb573babb More non-capturing. Daniel Rosenwasser 2024-07-02 00:50:34 +00:00
  • 9576330822 Hoist regex out from isImplicitGlob. Daniel Rosenwasser 2024-07-02 00:31:10 +00:00
  • 8f2c15cf91 Nit: use slice instead of substr. Daniel Rosenwasser 2024-07-02 00:18:08 +00:00
  • 6667893bcf Do not capture in components for file/directory matching. Daniel Rosenwasser 2024-07-02 00:15:33 +00:00
  • 7bd7dfc007 Paste without imports (#59093) navya9singh 2024-07-01 15:00:29 -07:00
  • 962389313f Update to esbuild v0.22 (#59084) Jake Bailey 2024-07-01 12:26:30 -07:00
  • f374ec5fbe Fixed intersections of primitive unions with exactOptionalPropertyTypes when mixing undefinedType with missingType (#58186) Mateusz Burzyński 2024-07-01 20:17:01 +02:00
  • cde45aa21c Bump the github-actions group across 1 directory with 2 updates (#59087) dependabot[bot] 2024-07-01 08:06:50 -07:00
  • cb98634f49 Remove errors if noEmit is sepcified with noCheck or emitDeclarationOnly (#59071) Sheetal Nandi 2024-06-28 15:25:14 -07:00
  • 6c68fdd4b5 Delay the calculation of common source root if it would be needed when calculation dts files (#59070) Sheetal Nandi 2024-06-28 14:29:11 -07:00
  • 22bbe867fd Show dts errors with --noEmit, fix some of the incremental noEmit issues and support dts diagnostics and fix the caching diagnostics in program (#59065) Sheetal Nandi 2024-06-28 13:55:49 -07:00
  • 1b867c52b2 Switch to JSDoc imports in scripts (#59068) Jake Bailey 2024-06-28 13:27:23 -07:00
  • 9a23924d55 Switch to eslint flat config (#57684) Jake Bailey 2024-06-27 16:11:56 -07:00
  • 752135eb40 Remove unused exports & dead code (using Knip) (#56817) Lars Kappert 2024-06-27 23:24:01 +02:00
  • f7833b2a72 On linux or editor with canUseEvents to prefer immediate directory if its not in root or node_modules (#58866) Sheetal Nandi 2024-06-27 11:32:33 -07:00
  • f0e9921674 Bump version to 5.5.3 and LKG v5.5.3 TypeScript Bot 2024-06-26 23:17:57 +00:00
  • fe0bdc8cde Update deps (#59006) Jake Bailey 2024-06-26 15:03:43 -07:00
  • 05766227f0 Remove unnecessary properties of TypingsCacheEntry (#59044) Sheetal Nandi 2024-06-26 13:15:54 -07:00
  • 3b4cfb5e9b Typings cache need not be a map but directly on the project (#59043) Sheetal Nandi 2024-06-26 12:47:06 -07:00
  • a6bc4ecbe5 Remove refCount from resolutions as we dont need it explicitly since its tracked by files it references (#59041) Sheetal Nandi 2024-06-26 12:46:53 -07:00
  • 7c011e766e Refactor resolving module or type reference name (#59040) Sheetal Nandi 2024-06-26 12:46:39 -07:00
  • c8f2405456 Fixed an issue with top-level for-await loops not being allowed with --module preserve (#59042) Mateusz Burzyński 2024-06-26 21:40:07 +02:00
  • 738bd605df Cherry-pick #58966 to release-5.5 (#59002) Jake Bailey 2024-06-26 10:37:58 -07:00
  • 15f67e0b48 Option to skipSysTests since they dont change branch to branch and ca… (#59025) Sheetal Nandi 2024-06-26 09:41:01 -07:00
  • ef339af128 Use regular imports instead of require where possible (#59017) Jake Bailey 2024-06-25 13:56:05 -07:00
  • e70904a24f Implement deterministic collapse of 'await' in 'await using' (#58929) Ron Buckton 2024-06-25 15:28:24 -04:00
  • f2f91ccc64 Make canUseWatchEvents test framework more generic so we can add more tests easily (#58962) Sheetal Nandi 2024-06-25 10:19:01 -07:00
  • b3840541a9 Lowercase Microsoft github org links (#59014) Wesley Wigham 2024-06-25 09:35:55 -07:00
  • 7c86376355 Update .github/workflows/nightly.yaml weswigham-patch-1 Wesley Wigham 2024-06-25 09:00:44 -07:00
  • 8d98be46b9 Enable Build Provenance for Nightly Builds Wesley Wigham 2024-06-25 08:34:40 -07:00
  • fa4f2e5148 Allow dynamic import attributes in --module preserve (#59005) Andrew Branch 2024-06-25 07:31:32 -07:00
  • 6c01f6c584 Allow partial matches in discrimination logic (#58974) Anders Hejlsberg 2024-06-25 07:14:12 +02:00
  • d403e0850f Fix the consistency and correctness of performanceData reported per request (#58968) Sheetal Nandi 2024-06-24 19:02:19 -07:00
  • c219989232 fix(58955): @import JSDoc tag doesn't seem to account for resolution-mode import attribute in TS v5.5.2 (#58966) Oleksandr T 2024-06-25 01:09:04 +03:00
  • c76c418ffe Fix 'accessor' crash for invalid modifier locations (#58963) Ron Buckton 2024-06-24 16:18:44 -04:00
  • 3743fbc748 Consistently avoid module resolution errors when using getSymbolAtLocation (#58668) Mateusz Burzyński 2024-06-24 18:03:32 +02:00
  • f1c7c9fdc7 Handle nullable discriminants in non-strictNullChecks mode fix58603 Anders Hejlsberg 2024-06-22 10:37:47 +02:00
  • 9323ec0786 Remove unused parameters Anders Hejlsberg 2024-06-22 08:48:59 +02:00
  • 53fa660cef Accept new baselines Anders Hejlsberg 2024-06-22 08:21:58 +02:00
  • 5e6a5145d1 Use isIntersectionEmpty in discrimination logic Anders Hejlsberg 2024-06-22 08:21:39 +02:00
  • 5d70bf894e Fix missed baselines with merge of #58845 (#58964) Sheetal Nandi 2024-06-21 13:12:20 -07:00