31381 Commits

Author SHA1 Message Date
TypeScript Bot
a1e2a4bd4e Bump version to 4.1.6 and LKG v4.1.6 2021-06-16 23:19:48 +00:00
Daniel Rosenwasser
13e7ae76e0
Pass throwIfNoEntry to fs.statSync (#41604) (#44584)
Future versions of node will be able to return undefined, rather than
allocating and throwing an exception, when a file is not found.

See https://github.com/nodejs/node/pull/33716

Co-authored-by: Andrew Casey <amcasey@users.noreply.github.com>
2021-06-15 13:33:23 -07:00
TypeScript Bot
aace53f7d7 Bump version to 4.1.5 and LKG v4.1.5 2021-02-10 00:22:08 +00:00
Sheetal Nandi
af0ad80897
Handle if plugin doesnt specify name (#42720)
Fixes microsoft/vscode#116219
2021-02-09 15:25:20 -08:00
Sheetal Nandi
c329d68d45 Bump version to 4.1.4 and LKG v4.1.4 2020-12-10 14:10:00 -08:00
Sheetal Nandi
7bc71732c1 Allow only package names as plugin names 2020-12-10 14:07:19 -08:00
TypeScript Bot
b512d91a35 Bump version to 4.1.3 and LKG v4.1.3 2020-12-10 02:50:26 +00:00
Joost Koehoorn
3c736255e4
Properly cache types for shared control flow nodes (#41665) (#41906)
* Properly cache shared flow node types

* Add test

Co-authored-by: Anders Hejlsberg <andersh@microsoft.com>
2020-12-09 18:33:51 -08:00
TypeScript Bot
1e9518cb35
Cherry-pick PR #41758 into release-4.1 (#41862)
Component commits:
0d61b143cb addImplementationSuccessElaboration admits declarations with no symbol

Co-authored-by: Wesley Wigham <t-weswig@microsoft.com>
2020-12-09 13:50:27 -08:00
Orta Therox
abf88154d2
Undo #39258 (isArray changes) see overview at #41808 (#41849) 2020-12-07 21:59:10 +00:00
Andrew Branch
9b6625895b
Add missed resolveSymbol in commonjs import resolution (#41479) (#41691)
Fixes resolution of export aliases in the postfix-property-access case
of commonjs require:

```js
const { x } = require('./foo').nested
x
```

This program would previously fail if `x` was an export alias.

Fixes #41422

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2020-12-02 14:54:10 -08:00
Orta Therox
9d25e593ab
Adds Format param to the tsserver session (#41614)
* Adds the format flag for encodedSemanticClassifications in session.ts and protocol.ts

* Update baselines

* Whitespace"
2020-11-20 16:41:49 -05:00
TypeScript Bot
f1e53da978 Update LKG v4.1.2 2020-11-19 00:12:36 +00:00
Wesley Wigham
ca766df7e4
Fix/jsx global preferred over config implicit (#41476) (#41583)
* Add actual baselines for a problem with global namespace being preferred over config & pragma implicit ones

* Fixed an issue with global React namespace being preferred over config & pragma implicit ones

* Do not try to mark JSX classic runtime symbols as used when automatic runtime is used

Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2020-11-18 15:57:32 -08:00
Daniel Rosenwasser
d72de70fbc
Actually install playwright in artifact build script now that it's not installed by default
Basically copying bfea348e40e02c3408bf94a54739ebad40018827
2020-11-14 21:58:53 -08:00
TypeScript Bot
ba1b9d2d6d Bump version to 4.1.2 and LKG 2020-11-15 05:55:58 +00:00
Orta Therox
c12cc533b2
Remove bundledPackageName from release 4.1 (#41536)
* Merge release 4-1

* Remove unused tests
2020-11-14 21:39:08 -08:00
Wesley Wigham
612c19d755
Merge pull request #41500 from weswigham/pick-crash-fix
Port #41467 to `release-4.1`
2020-11-11 13:51:18 -08:00
Wesley Wigham
1f27a712e0
Comment position feedback 2020-11-11 13:27:55 -08:00
Wesley Wigham
3307cff1fc
Fix crash on attempting to suggest a ts import for a synthetic js resolution 2020-11-11 13:27:27 -08:00
TypeScript Bot
abf4b63951 Update LKG v4.1-rc 2020-11-02 19:17:32 +00:00
TypeScript Bot
8d249ea13a Merge remote-tracking branch 'origin/master' into release-4.1 2020-11-02 18:49:02 +00:00
Ben Lichtman
53bc006752
Merge pull request #41226 from a-tarasyuk/feat/eslint
feat(eslint): upgrade typescript-eslint/eslint
2020-11-02 09:05:03 -08:00
Oleksandr T
2437ce5793 feat(eslint): upgrade typescript-eslint/eslint 2020-11-02 12:37:10 +02:00
TypeScript Bot
4a7b6dc749 Update package-lock.json 2020-11-02 06:17:07 +00:00
TypeScript Bot
f6a0f15a93 Bump version to 4.1.1-rc and LKG 2020-11-02 00:37:54 +00:00
Wesley Wigham
816af71d58
Fix incremental emit issue where dependency relations implied by synthesized imports would not be detected (#41346)
* Fix incremental emit issue where dependency relations implies by synthesized imports would not be detected

* Update src/compiler/program.ts

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2020-11-01 16:05:49 -08:00
TypeScript Bot
6bef0cb0c4 Update package-lock.json 2020-11-01 06:16:09 +00:00
TypeScript Bot
71a2c59c55 Update package-lock.json 2020-10-31 06:15:18 +00:00
Wesley Wigham
479105090d
Merge pull request #41330 from weswigham/jsx-import-source-as-auto-import
Auto-include types for the jsx import source in the new jsx transforms
2020-10-30 16:51:04 -07:00
Wesley Wigham
1e1ae3034b
Update src/compiler/program.ts
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2020-10-30 16:21:36 -07:00
Wesley Wigham
fe94a2180c
Use same metho as importHelpers to add synthetic import 2020-10-30 16:16:23 -07:00
Wesley Wigham
8493ee8824
Add mroe incremental-affecting affixes to compiler options, add incremental test for changing jsxImportSource 2020-10-30 16:01:27 -07:00
Wesley Wigham
fe3b3436e6
Add affectsModuleResolution: true ot jsx and jsxImportSource options 2020-10-30 15:38:20 -07:00
Wesley Wigham
e044b56d7f
Merge pull request #40985 from weswigham/static-decl-ref
Adjust typeof import name lookup to better match type query lookup
2020-10-30 11:13:23 -07:00
Ron Buckton
b9ed93ee6c
Merge pull request #41331 from microsoft/fix39149
Fix double alias of complex export/import/default/namespace combination
2020-10-30 09:25:58 -07:00
csigs
966d978513
LEGO: Merge pull request 41335
LEGO: Merge pull request 41335
2020-10-30 05:11:10 -07:00
csigs
3cbce3acf3 LEGO: check in for master to temporary branch. 2020-10-30 12:10:39 +00:00
TypeScript Bot
80dc9d9e3c Update package-lock.json 2020-10-30 06:16:14 +00:00
Ron Buckton
f944afd053 Fix double alias of complex export/import/default/namespace combination 2020-10-29 18:42:36 -07:00
Ron Buckton
bcbe1d7638
Merge pull request #41094 from microsoft/destructuringEvaluationOrder
Fix destructuring evaluation order for initializers
2020-10-29 17:12:18 -07:00
Oleksandr T
eb6ddf6b29
fix(40671): suggest ConvertStringToTemplateLiteral refactoring for string with property/element acceses elements (#40942) 2020-10-29 15:23:11 -07:00
Wesley Wigham
6714998e01
Auto-include types for the jsx import source in the new jsx transforms 2020-10-29 14:17:24 -07:00
Ron Buckton
2b7e790732 Update control flow for nested binary exprs 2020-10-29 13:32:32 -07:00
Jesse Trinity
b27d4bf3f6
noop in setTypeAcquisiton for undefined (#41291)
* noop in setTypeAcquisiton for undefined

* accept new baseline

* add regression test
2020-10-29 13:30:42 -07:00
Wesley Wigham
60b8bbcabe
Update style 2020-10-29 13:03:25 -07:00
Sheetal Nandi
6bde4b5c02
Fix missing file name of extended source file in synchronizeProjectList when it is missing on disk (#41222)
Fixes #40136
2020-10-29 12:18:43 -07:00
Andrew Branch
6428140204
Log AutoImportProvider creation time (#41315) 2020-10-29 09:00:50 -07:00
TypeScript Bot
f3ce688a94 Update package-lock.json 2020-10-29 06:27:18 +00:00
Wesley Wigham
f0f3862cd9
Merge pull request #41314 from weswigham/fix-global-jsx-ns-alias-crashes
Fix crashes when the global JSX namespace is an alias
2020-10-28 18:38:26 -07:00