-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Transforms] Merge master 07/11 into transform #9697
Merged
Merged
Changes from 1 commit
Commits
Show all changes
423 commits
Select commit
Hold shift + click to select a range
7b3abc6
Merge pull request #9213 from zhengbli/fixRealPath
zhengbli b49acd5
Merge branch 'master' into glob2_merged
riknoll 6d99b2f
Merge pull request #8841 from Microsoft/glob2_merged
riknoll 0e5b741
Use merge2, gulp-if, gulp-newer, and more projects
weswigham 8ca1910
Add watch task
weswigham 9619e3a
Working non-inline sourcemaps for runtests
weswigham 9d10f7c
browser tests now also loads sourcemaps from disk
weswigham b103857
Merge branch 'master' into remove-jake
weswigham d7970a5
Lazypipes and better services stream management
weswigham 8e489cb
export interface used by other exported functions
basarat cb9246f
Merge pull request #9286 from basarat/patch-2
DanielRosenwasser 07437a6
Make goto-definition work for `this` parameter
4d4f679
Merge branch 'master' into loadJsFromModules
billti 392fe47
Add new error for rest parameters
OrangeShark 1a66f54
Add error message for rest parameter properties
OrangeShark 369253b
Fix case when a document contains multiple script blocks with differe…
jramsay 9a85b93
Fix rwc-runner from breaking change in compiler (#9284)
yuit 553d727
Signatures use JSDoc to determine optionality
sandersn 07bfbab
Changed implementation to use closure
billti d01d5b1
Updated tests
billti 8ff2c1a
Fixed linting error
billti 851a75e
Adding Code of Conduct notice
mhegazy 0e3ffb5
Don't crash when JS class property is self-referential.
RyanCavanaugh c4f8fb2
Remove stale baselines
RyanCavanaugh 3a7396e
For optionality, check question token before JSDoc
sandersn 65bd8e5
Accept rest parameter properties error baselines
OrangeShark 20f8c33
Change binding pattern parameter property error
OrangeShark 6a4400a
Accept binding pattern properties error baselines
OrangeShark 66c3093
Lint
RyanCavanaugh 35c50bf
Port the sync version diagnostics API from tsserverVS-WIP branch to 2.0
zhengbli 12bfb7e
Merge pull request #9204 from Microsoft/promiseAndAsyncUpdates
rbuckton 1c9ad5c
Do copyright without gulp-if and lazypipe
weswigham be662e1
Change test comment and accept baseline
OrangeShark 8aeb682
Remove tsd scripts task from gulpfile
weswigham d008da5
Make use of module compiler option explicit, add strip internal to ts…
weswigham 9134ed3
Merge pull request #9303 from Microsoft/signatures-use-jsdoc-for-minA…
sandersn 3f6010c
Merge pull request #9298 from OrangeShark/new-rest-param-error
sandersn 6260772
Remove Signature#thisType and use Signature#thisParameter everywhere
a2fdc7e
Add Gulpfile lint to jake, fix lints
weswigham 14774d6
Merge pull request #9305 from RyanCavanaugh/fix9293
RyanCavanaugh 1aafc55
Change reference tests to verify actual ranges referenced and not jus…
89c992a
Respond to PR comments
be6c34f
Merge pull request #9068 from weswigham/remove-jake
weswigham 1c5d834
Add new lint rule
weswigham 59ae2ff
Fix object whitespace lints
weswigham 5383d91
Fix case of gulpfile dependencies
sandersn c9511b7
1. pass subshell args 2. fix build order in services
sandersn ca25fea
Fix single-quote lint
sandersn 998acce
Check for exactly one space
weswigham 8cc8293
Fix excess whitespace issues
weswigham 2bc35c1
Merge pull request #9333 from Microsoft/fix-case-of-gulpfile-dependen…
sandersn 9cd1f78
Merge pull request #9332 from Microsoft/object-whitespace-rule
weswigham 1918d53
Add matchFiles test to Gulpfile
weswigham 0fb2ef3
Merge pull request #9338 from Microsoft/gulpfile-missing-file
weswigham 41aacf2
Fix LKG useDebug task and newLine flag
weswigham 9a55fac
Update LKG
mhegazy aaf04b7
Clean before LKG in Gulpfile
weswigham ded1481
Fix lint
weswigham 51c2909
Merge pull request #9339 from Microsoft/fix-gulpfile-LKG
weswigham 9f9dece
Correct the api string name
zhengbli e5ddcfe
Allow space in exec cmds
weswigham 6346fc1
Fix typo
69e2f0e
Merge pull request #9306 from zhengbli/syncGetErrAPIs
zhengbli 83335f5
Add new APIs to protocol
zhengbli 515ed3d
Merge pull request #9346 from zhengbli/addNewAPIToProtocal
zhengbli 999ac0a
Merge pull request #9270 from Microsoft/this_references
a011b4d
Fix bug where `exports.` was prepended to namespace export accesses
6bc8db0
Remove unnecessary parameter
6a60d8b
Merge branch 'master' into range_tests
5ce5b2d
Merge pull request #9330 from Microsoft/range_tests
034c418
extract expression into function
weswigham 2aa1d71
Merge pull request #9348 from Microsoft/umd_exports
8c50320
Add fourslash tests & address CR comments
jramsay db0d8e0
Fix 8549: Using variable as Jsx tagname (#9337)
yuit 8312168
Merge pull request #9236 from Microsoft/BaseIndentationSupport
jramsay cca7000
Merge pull request #9342 from Microsoft/typoinbracecompletion
paulvanbrenk a0a9666
Unused identifiers compiler code (#9200)
sarangan12 0b4b372
Merge pull request #9340 from Microsoft/gulp-allow-space-in-exec
weswigham fb3f823
Merge pull request #9167 from Microsoft/make-unions-and-intersections…
sandersn e182ecf
Fix 8355: Fix emit metadata different between transpile and tsc --iso…
yuit be2ca35
Fix 8467: Fix incorrect emit for accessing static property in static …
yuit 6e415cc
Merge branch 'master' of https://github.com/Microsoft/TypeScript
saschanaz 3357379
Merge branch 'master' of https://github.com/SaschaNaz/TypeScript into…
saschanaz a8ac0ef
Merge branch 'master' of https://github.com/Microsoft/TypeScript into…
saschanaz 9dfcb44
do not format comma/closeparen in jsxelement
saschanaz 378c6b5
format jsx expression
saschanaz 6fba804
Remove extra baselines
billti e9a0c56
Fixed bugs and linting
billti 885b0e9
Added project tests for node_modules JavaScript searches
billti 0174bda
Merge branch 'master' into loadJsFromModules
billti 1b43bd8
Removed old TODO comment
billti cbfbfe1
make rules optional
saschanaz de559fb
Fixed the regexp for removing full paths
billti d9b8fad
Fix type of the disableSizeLimit option
zhengbli b2bc91b
Merge pull request #9375 from zhengbli/fixTypo
zhengbli cc1226c
Merge pull request #4609 from SaschaNaz/fixExportImportFormatting
mhegazy f67f1f7
Update version to 2.0.0
mhegazy 0b6ba96
Remove upper boilerplate from issue template
RyanCavanaugh 9cc48c8
Remove unused compiler option (#9381)
yuit bb53b84
Merge pull request #9377 from Microsoft/updateVersion
mhegazy f9338c6
Update LKG
mhegazy d8e3bd9
Added emitHost method to return source from node modules
billti ddad35a
Marked new method internal
billti 3ccb8b2
Merge branch 'loadJsFromModules' into loadJsFromModules-2.0
billti 8bf3d54
Merge pull request #7075 from Microsoft/loadJsFromModules
billti 2182051
Merge pull request #9384 from Microsoft/loadJsFromModules-2.0
billti 8ddba28
Update issue_template.md
RyanCavanaugh 6be7d9c
Merge pull request #9380 from Microsoft/update-template
RyanCavanaugh 3ea2cdd
Merge pull request #8 from Microsoft/master
zspitz 6e984eb
new options should be optional for compatibility
saschanaz 6ff91b8
Add getCurrentDirectory to ServerHost
zhengbli d5cad23
Add nullchecks for typeRoots, remove getCurrentDirectory from ServerH…
zhengbli ec02077
Merge pull request #9361 from SaschaNaz/noFormatInJsxElement
mhegazy 3fdaf19
VarDate interface and relevant Date.prototype members
zspitz a91978e
Merge pull request #9393 from zspitz/MSActiveXExtensions
mhegazy 50177b1
Merge pull request #9396 from zhengbli/fix9186
zhengbli 67f0ffe
Port 9396 to release 2.0
zhengbli 29107e6
Fix 9363: Object destructuring broken-variables are bound to the wron…
yuit 8ff873e
Fix crash in async functions when targetting ES5.
sandersn ddadb47
Add This type to lib
zhengbli 690c682
Merge master into release-2.0 (#9400)
yuit 17a428c
Fix #9402: Do not report unused identifier errors for catch variables
mhegazy 27e66b0
getVarDate should be on the Date interface
zspitz 47bee47
Merge pull request #9401 from zhengbli/addThisToLib
zhengbli aeadbe4
Defere checking unsed identifier checks
mhegazy b524795
Merge pull request #9405 from zspitz/patch-1
mhegazy 0a61334
Do not scan nodes preceding formatted region, just skip over them
5f8cf1a
Don't emit source files found under node_modules
billti c5e680c
Destructuring assignment removes undefined from type when default val…
sandersn 7232513
Add nullcheck when calculating indentations for implort clause
zhengbli e7fcb66
Use a deferred list to check for unused identifiers
mhegazy 7836ba0
push checks to checkUnusedIdentifiersDeferred
mhegazy b1b3ae0
use isParameterPropertyDeclaration to test for paramter propoerties
mhegazy c35e374
runtests-parallel skips empty buckets
sandersn c28487d
Report unused identifiers in for statements
mhegazy 4789ff0
Do not check ambients, and overloads
mhegazy 62f47fe
Add tests
mhegazy d4513c8
Consolidate type reference marking in getTypeFromTypeReference
mhegazy 97aa987
Handel type aliases
mhegazy f81a8e7
Add tests
mhegazy bc7c6cc
Merge branch 'release-2.0' into unusedIdentifierFixes-2
mhegazy adca770
Add test
zhengbli 5a45c44
Dont load JavaScript if types packages are present
billti d8047b6
Renamed API
billti 7b77f6b
Merge pull request #9397 from Microsoft/fix-crash-in-async-and-no-imp…
sandersn 5f6e25c
Use checkExpression, not checkExpressionCached
sandersn dc5cf33
Do not report unused errors for module augmentations
mhegazy f751901
Consolidate refernce marking in resolveName to allow marking aliases …
mhegazy 8fb3b25
add tests
mhegazy 3d9c920
Code review comments
mhegazy b40512d
Only mark symbols found in a local symbol table
mhegazy 0535d55
Show "<unknown>" if the name of a declaration is unavailable
4195eb3
Parse `export default async function` as a declaration
9daa800
Respond to PR comments
fee06ac
Better name for test
573bfec
Merge remote-tracking branch 'upstream/master' into dontEmitNodeModules
billti 1fa69ca
handel private properties correctelly
mhegazy 07d7ec3
Merge pull request #9422 from Microsoft/allow-destructuring-assignmen…
mhegazy 594ad64
Merge pull request #9442 from Microsoft/navigation_bar_nameless_names…
ae4bb62
Merge pull request #9445 from Microsoft/export_default_async_function
494fada
Merge pull request #9426 from zhengbli/fix9411
zhengbli b848690
Port 9426 to release 2.0
zhengbli b93407d
Merge branch 'release-2.0' into unusedIdentifierFixes-3
mhegazy 54b4bef
Handel Swtich statements
mhegazy bd58cf0
Merge branch 'unusedIdentifierFixes-3' into release-2.0
mhegazy 5e4f13f
Removed one error to avoid full path issues
billti bfd2801
Don't emit source files found under node_modules
billti d93e0a6
Dont load JavaScript if types packages are present
billti 5a4cd83
Renamed API
billti 2dc84a8
Removed one error to avoid full path issues
billti 9429176
Merge branch 'release-2.0'
mhegazy d64ab2f
Fix incorrectly-saved quote symbols in ThirdPartyNoticeText.txt
dilijev a0c1084
Merge pull request #9461 from dilijev/patch-1
mhegazy 5de7ca2
Fix #9458: exclude parameters starting with underscore from unusedPar…
mhegazy 613e2d3
Merge pull request #9421 from Microsoft/dontEmitNodeModules
billti f7c9a77
Merge pull request #9459 from Microsoft/dontEmitNodeModules-2.0
billti d63ef2c
change variable name for strict mode
HerringtonDarkholme 0a682f1
Merge pull request #9473 from HerringtonDarkholme/fix_static
mhegazy a591d40
Increase timeout from running RWC. As UWDWeb takes slightly longer no…
yuit 9eba8d7
Handle relative paths in tsconfig exclude and include globs
riknoll fc10eb7
Merge master into release branch 06/30 (#9447)
yuit 2c40fea
Improve names of whitespace functions
44a86b0
Merge pull request #9475 from Microsoft/include_relative_path
riknoll 2e7755e
Handle relative paths in tsconfig exclude and include globs
riknoll 1d03be0
Merge pull request #9464 from Microsoft/excludeUnderscoreFromUnusedPa…
mhegazy f7c4281
add new method getEmitOutputObject to return result of the emit as ob…
vladima f9a5593
fix linter
vladima 19c141a
Fix PromiseLike to be compatible with es6-promise (#9484)
yuit c2730ce
Fix reading files from IOLog because previous our API captures (#9483)
yuit a8a8826
Exclude FlowSwitchClause from flow graph for case expressions
ahejlsberg 829c3bc
Add regression test
ahejlsberg d56a50b
Merge pull request #9485 from Microsoft/getEmitOutputAsObject
vladima 69fcb13
Merge pull request #9482 from Microsoft/port_include_relative_path
riknoll 29ac7e4
Merge pull request #9510 from Microsoft/fixSwitchCase
mhegazy 1102fa6
Merge pull request #9420 from Microsoft/formatting_loc
mhegazy a4a4829
Merge branch 'release-2.0'
mhegazy 230c9cf
Update LKG
mhegazy 29985f3
Update language in comment
mhegazy 4c6b984
Add .mailmap file
mhegazy 6fe105e
Add authors script to generate authors from repo
mhegazy 8b20ad0
Update AUTHORS.md for release-2.0
mhegazy 9ff0cab
Update script to pass more than one argument
mhegazy 94f2169
Merge pull request #9534 from Microsoft/updateAuthors
mhegazy 635826f
Remove the unused text buffer from ScriptInfo
sheetalkamat bf240d2
Fix #9531: account for async as an contextual keyword when parsing ex…
mhegazy 4768286
Merge pull request #9541 from Microsoft/Fix9531
mhegazy 9a39f9c
Merge branch 'release-2.0'
mhegazy a039412
Update LKG
mhegazy 3e42733
Merge pull request #9428 from Microsoft/runtests-parallel-skips-empty…
sandersn 4b5f7e5
Swap q from a reference to an import
weswigham 1ee3f99
Fix #9550: exclude 'this' type parameters from unusedParameters checks.
tetsuharuohzeki e1c69d7
Merge pull request #9537 from Microsoft/removeContentFromScriptInfo
sheetalkamat f9102d0
Update comment to reflect new dependency
weswigham 7c1df15
Merge pull request #9556 from weswigham/import-q
weswigham 99748a2
Merge pull request #9557 from saneyuki/fix-unusedparam-this
mhegazy fd66760
Avoid putting children tags in jsdoccomment
zhengbli 5c498cd
Parse the result of getDirectories call
mhegazy f0d5ff6
Update harness getDirectories implementation for shims
mhegazy 4721b91
Fix multiple Salsa assignment-declarations
sandersn f84b731
Test for multiple salsa assignment-declarations
sandersn ebc75a2
Add test for parsed @typedef tag node shape
zhengbli 81e8840
Merge pull request #9565 from zhengbli/fixTypedefParsingIssue
zhengbli 3c1a69b
Provide a symbol for salsa-inferred class types
sandersn 37eac5f
Update .mailmap
mhegazy ca874bd
Fix module tracking
billti db54bda
Updated test with relative import
billti 2ab1143
Fixed the node tracking and a harness bug
billti a7467a1
fixed lint error
billti b75053c
Fixed implicit any
billti 97025d0
Added missing test files
billti 21bf801
Removed duplicate logic
billti 135cc12
Merge pull request #9574 from Microsoft/fix-union-of-salsa-property-t…
sandersn cc83c79
Merge pull request #9578 from Microsoft/fix-salsa-out-of-memory-on-me…
sandersn 6ad4482
Update conflicting baseline.
sandersn 2f768f6
Merge pull request #9607 from Microsoft/issue9542
billti 1d202f6
Merge pull request #9622 from Microsoft/update-conflicting-baseline
sandersn a1b6260
Merge branch 'master' into mergemaster_0711
dd0cd58
Fix type of JSXTagName
78b89ee
Update baselines to use double-quote
b36e6a4
Update baselines when emitting metadata decorator
30614fa
Update baselines for async-await function
59b783d
Update baselines for comment in capturing down-level for...of and for…
345bdea
Add missing Transpile tests
1d604a8
Remove old JS transpile baselines
954213a
Passing program as argument in emitWorker
b0b736a
Port PR#9607 transforms
4415f0d
Port new JSDOC tests to use baseline
356a75b
substitute alias for class expression in statics
rbuckton 328cf96
Address new lint warnings
rbuckton 3dca7e8
Change name for substitution function.
rbuckton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to rename this function since it is not just decorated class name anynmore