Skip to content

Commit 76f56a5

Browse files
author
Andy Hanson
committed
Merge branch 'master' into 'fixUnusedLabel'
2 parents ebddceb + 1df7997 commit 76f56a5

File tree

511 files changed

+11619
-6938
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

511 files changed

+11619
-6938
lines changed

.github/ISSUE_TEMPLATE/Feature_request.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ What shortcomings exist with current approaches?
3232
## Checklist
3333

3434
My suggestion meets these guidelines:
35-
[ ] This wouldn't be a breaking change in existing TypeScript / JavaScript code
36-
[ ] This wouldn't change the runtime behavior of existing JavaScript code
37-
[ ] This could be implemented without emitting different JS based on the types of the expressions
38-
[ ] This isn't a runtime feature (e.g. new expression-level syntax)
35+
* [ ] This wouldn't be a breaking change in existing TypeScript / JavaScript code
36+
* [ ] This wouldn't change the runtime behavior of existing JavaScript code
37+
* [ ] This could be implemented without emitting different JS based on the types of the expressions
38+
* [ ] This isn't a runtime feature (e.g. new expression-level syntax)
3939

.github/pull_request_template.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
Thank you for submitting a pull request!
33
44
Here's a checklist you might find useful.
5-
[ ] There is an associated issue that is labeled
5+
* [ ] There is an associated issue that is labeled
66
'Bug' or 'help wanted' or is in the Community milestone
7-
[ ] Code is up-to-date with the `master` branch
8-
[ ] You've successfully run `jake runtests` locally
9-
[ ] You've signed the CLA
10-
[ ] There are new or updated unit tests validating the change
7+
* [ ] Code is up-to-date with the `master` branch
8+
* [ ] You've successfully run `jake runtests` locally
9+
* [ ] You've signed the CLA
10+
* [ ] There are new or updated unit tests validating the change
1111
1212
Refer to CONTRIBUTING.MD for more details.
1313
https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md
1414
-->
1515

1616
Fixes #
17+

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/
2+
.node_modules/
23
built/*
34
tests/cases/rwc/*
45
tests/cases/test262/*
@@ -40,6 +41,7 @@ scripts/buildProtocol.js
4041
scripts/ior.js
4142
scripts/authors.js
4243
scripts/configurePrerelease.js
44+
scripts/open-user-pr.js
4345
scripts/processDiagnosticMessages.d.ts
4446
scripts/processDiagnosticMessages.js
4547
scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.js

.mailmap

+21-2
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ Remo H. Jansen <[email protected]>
308308
Sean Barag <[email protected]>
309309
Sharon Rolel <[email protected]>
310310
Stanislav Iliev <[email protected]>
311-
Wenlu Wang <[email protected]> wenlu.wang <[email protected]> kingwl <[email protected]>
311+
Wenlu Wang <[email protected]> wenlu.wang <[email protected]> kingwl <[email protected]> 王文璐 <[email protected]> 王文璐 <[email protected]>
312312
Wilson Hobbs <[email protected]>
313313
Yuval Greenfield <[email protected]>
314314
Daniel <[email protected]> # @nieltg
@@ -321,4 +321,23 @@ AdityaDaflapurkar <[email protected]> # Aditya Daflapurkar
321321
Eric Grube <[email protected]>
322322
Martyn Janes <[email protected]>
323323
Ricardo N Feliciano <[email protected]>
324-
Sergii Bezliudnyi <[email protected]>
324+
Sergii Bezliudnyi <[email protected]>
325+
Adrien Gibrat <[email protected]>
326+
Alex Ryan <[email protected]>
327+
Alexader <[email protected]> Alexander T <[email protected]> # Alexander Tarasyuk
328+
Andrew Faulkner <[email protected]>
329+
Artem Tyurin <[email protected]>
330+
Brandon Slade <[email protected]>
331+
Derek P Sifford <[email protected]>
332+
Dhruv Rajvanshi <[email protected]>
333+
Holger Jeromin <[email protected]>
334+
Jordi Oliveras Rovira <[email protected]>
335+
Joscha Feth <[email protected]> Joscha Feth <[email protected]>
336+
Ken703 <[email protected]> # Bowden Kenny
337+
Kevin Donnelly <[email protected]>
338+
Maarten Sijm <[email protected]>
339+
Paul Koerbitz <[email protected]>
340+
EcoleKeine <[email protected]> # Ecole Keine
341+
342+
rhysd <[email protected]> # @rhysd
343+
Zen <[email protected]> Zzzen <[email protected]> # @Zzzen

AUTHORS.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@ TypeScript is authored by:
66
* Aditya Daflapurkar
77
* Adnan Chowdhury
88
* Adrian Leonhard
9+
* Adrien Gibrat
910
* Ahmad Farid
1011
* Akshar Patel
1112
* Alan Agius
1213
* Alex Chugaev
1314
* Alex Eagle
1415
* Alex Khomchenko
16+
* Alex Ryan
1517
* Alexander Kuvaev
1618
* Alexander Rusakov
19+
* Alexander Tarasyuk
1720
* Ali Sabzevari
1821
* Aliaksandr Radzivanovich
1922
* Aluan Haddad
@@ -22,6 +25,7 @@ TypeScript is authored by:
2225
* Andreas Martin
2326
* Andrej Baran
2427
* Andrew Casey
28+
* Andrew Faulkner
2529
* Andrew Ochsner
2630
* Andrew Stegmaier
2731
* Andrew Z Allen
@@ -34,6 +38,7 @@ TypeScript is authored by:
3438
* Armando Aguirre
3539
* Arnaud Tournier
3640
* Arnav Singh
41+
* Artem Tyurin
3742
* Arthur Ozga
3843
* Asad Saeeduddin
3944
* Avery Morin
@@ -49,6 +54,8 @@ TypeScript is authored by:
4954
* Blake Embrey
5055
* @bootstraponline
5156
* Bowden Kelly
57+
* Bowden Kenny
58+
* Brandon Slade
5259
* Brett Mayen
5360
* Bryan Forbes
5461
* Caitlin Potter
@@ -76,6 +83,8 @@ TypeScript is authored by:
7683
* David Sheldrick
7784
* David Souther
7885
* Denis Nedelyaev
86+
* Derek P Sifford
87+
* Dhruv Rajvanshi
7988
* Dick van den Brink
8089
* Diogo Franco (Kovensky)
8190
* Dirk Bäumer
@@ -84,6 +93,7 @@ TypeScript is authored by:
8493
* Donald Pipowitch
8594
* Doug Ilijev
8695
* @e-cloud
96+
* Ecole Keine
8797
* Elisée Maurer
8898
* Emilio García-Pumarino
8999
* Eric Grube
@@ -118,6 +128,7 @@ TypeScript is authored by:
118128
* Hendrik Liebau
119129
* Henry Mercer
120130
* Herrington Darkholme
131+
* Holger Jeromin
121132
* Homa Wong
122133
* Iain Monro
123134
* @IdeaHunter
@@ -155,6 +166,8 @@ TypeScript is authored by:
155166
* Jonathan Toland
156167
* Jonathan Turner
157168
* Jonathon Smith
169+
* Jordi Oliveras Rovira
170+
* Joscha Feth
158171
* Josh Abernathy
159172
* Josh Goldberg
160173
* Josh Kalderimis
@@ -170,7 +183,9 @@ TypeScript is authored by:
170183
* Keith Mashinter
171184
* Ken Howard
172185
* Kenji Imamula
186+
* Kevin Donnelly
173187
* Kevin Lang
188+
* Khải
174189
* Kitson Kelly
175190
* Klaus Meinhardt
176191
* Kris Zyp
@@ -179,6 +194,7 @@ TypeScript is authored by:
179194
* Lorant Pinter
180195
* Lucien Greathouse
181196
* Lukas Elmer
197+
* Maarten Sijm
182198
* Magnus Hiie
183199
* Magnus Kulke
184200
* Manish Giri
@@ -223,6 +239,7 @@ TypeScript is authored by:
223239
* Oussama Ben Brahim
224240
* Patrick Zhong
225241
* Paul Jolly
242+
* Paul Koerbitz
226243
* Paul van Brenk
227244
* @pcbro
228245
* Pedro Maltez
@@ -240,6 +257,7 @@ TypeScript is authored by:
240257
* Raj Dosanjh
241258
* Reiner Dolp
242259
* Remo H. Jansen
260+
* @rhysd
243261
* Ricardo N Feliciano
244262
* Richard Karmazín
245263
* Richard Knoll
@@ -309,4 +327,5 @@ TypeScript is authored by:
309327
* Yuval Greenfield
310328
* Zeeshan Ahmed
311329
* Zev Spitz
312-
* Zhengbo Li
330+
* Zhengbo Li
331+
* @Zzzen

ThirdPartyNoticeText.txt

+76-15
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,96 @@
11
/*!----------------- TypeScript ThirdPartyNotices -------------------------------------------------------
22

3-
The TypeScript software is based on or incorporates material and code from the projects listed below
4-
(collectively "Third Party Code"). Microsoft is not the original author of the
5-
Third Party Code. The original copyright notice and the license, under which
6-
Microsoft received such Third Party Code, are set forth below. Such license and
7-
notices are provided for informational purposes only. Microsoft licenses the Third
3+
The TypeScript software is based on or incorporates material and code from the projects listed below
4+
(collectively "Third Party Code"). Microsoft is not the original author of the
5+
Third Party Code. The original copyright notice and the license, under which
6+
Microsoft received such Third Party Code, are set forth below. Such license and
7+
notices are provided for informational purposes only. Microsoft licenses the Third
88
Party Code to you under the terms of the Apache 2.0 License.
9-
All Third Party Code licensed by Microsoft under the Apache License, Version 2.0 (the "License"); you
10-
may not use this file except in compliance with the License. You may obtain a copy
9+
All Third Party Code licensed by Microsoft under the Apache License, Version 2.0 (the "License"); you
10+
may not use this file except in compliance with the License. You may obtain a copy
1111
of the License at http://www.apache.org/licenses/LICENSE-2.0
1212

13-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14-
EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR
15-
CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
13+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14+
EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR
15+
CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
1616

17-
See the Apache Version 2.0 License for specific language governing permissions and
17+
See the Apache Version 2.0 License for specific language governing permissions and
1818
limitations under the License.
1919
---------------------------------------------
2020
Third Party Code Components
2121
--------------------------------------------
2222

2323
------------------- DefinitelyTyped --------------------
24-
This file is based on or incorporates material from the projects listed below (collectively "Third Party Code"). Microsoft is not the original author of the Third Party Code. The original copyright notice and the license, under which Microsoft received such Third Party Code, are set forth below. Such licenses and notices are provided for informational purposes only. Microsoft, not the third party, licenses the Third Party Code to you under the terms set forth in the EULA for the Microsoft Product. Microsoft reserves all other rights not expressly granted under this agreement, whether by implication, estoppel or otherwise.
24+
This file is based on or incorporates material from the projects listed below (collectively "Third Party Code"). Microsoft is not the original author of the Third Party Code. The original copyright notice and the license, under which Microsoft received such Third Party Code, are set forth below. Such licenses and notices are provided for informational purposes only. Microsoft, not the third party, licenses the Third Party Code to you under the terms set forth in the EULA for the Microsoft Product. Microsoft reserves all other rights not expressly granted under this agreement, whether by implication, estoppel or otherwise.
2525
DefinitelyTyped
2626
This project is licensed under the MIT license.
2727
Copyrights are respective of each contributor listed at the beginning of each definition file.
2828
Provided for Informational Purposes Only
29-
30-
MIT License
31-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
29+
30+
MIT License
31+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3232
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
3333
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3434
--------------------------------------------------------------------------------------
35+
36+
------------------- Unicode --------------------
37+
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
38+
39+
Unicode Data Files include all data files under the directories
40+
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
41+
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
42+
http://www.unicode.org/utility/trac/browser/.
43+
44+
Unicode Data Files do not include PDF online code charts under the
45+
directory http://www.unicode.org/Public/.
46+
47+
Software includes any source code published in the Unicode Standard
48+
or under the directories
49+
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
50+
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
51+
http://www.unicode.org/utility/trac/browser/.
52+
53+
NOTICE TO USER: Carefully read the following legal agreement.
54+
BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
55+
DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
56+
YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
57+
TERMS AND CONDITIONS OF THIS AGREEMENT.
58+
IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
59+
THE DATA FILES OR SOFTWARE.
60+
61+
COPYRIGHT AND PERMISSION NOTICE
62+
63+
Copyright (c) 1991-2017 Unicode, Inc. All rights reserved.
64+
Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
65+
66+
Permission is hereby granted, free of charge, to any person obtaining
67+
a copy of the Unicode data files and any associated documentation
68+
(the "Data Files") or Unicode software and any associated documentation
69+
(the "Software") to deal in the Data Files or Software
70+
without restriction, including without limitation the rights to use,
71+
copy, modify, merge, publish, distribute, and/or sell copies of
72+
the Data Files or Software, and to permit persons to whom the Data Files
73+
or Software are furnished to do so, provided that either
74+
(a) this copyright and permission notice appear with all copies
75+
of the Data Files or Software, or
76+
(b) this copyright and permission notice appear in associated
77+
Documentation.
78+
79+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
80+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
81+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
82+
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
83+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
84+
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
85+
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
86+
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
87+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
88+
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
89+
90+
Except as contained in this notice, the name of a copyright holder
91+
shall not be used in advertising or otherwise to promote the sale,
92+
use or other dealings in these Data Files or Software without prior
93+
written authorization of the copyright holder.
94+
--------------------------------------------------------------------------------------
95+
3596
------------- End of ThirdPartyNotices --------------------------------------------------- */

lib/lib.es2018.regexp.d.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,9 @@ interface RegExpExecArray {
2828
groups?: {
2929
[key: string]: string
3030
}
31-
}
31+
}
32+
33+
interface RegExp {
34+
/** Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression. Default is false. Read-only. */
35+
readonly dotAll: boolean;
36+
}

0 commit comments

Comments
 (0)