@typescript-deploys/pr-build 5.0.0-pr-51033-2 → 5.0.0-pr-52123-7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/lib/cancellationToken.js +5 -0
- package/lib/lib.es2022.d.ts +1 -0
- package/lib/lib.es2022.regexp.d.ts +41 -0
- package/lib/lib.es5.d.ts +7 -0
- package/lib/tsc.js +12514 -1959
- package/lib/tsserver.js +18024 -2720
- package/lib/tsserverlibrary.d.ts +2 -17
- package/lib/tsserverlibrary.js +18003 -2718
- package/lib/typescript.d.ts +2 -17
- package/lib/typescript.js +16613 -2552
- package/lib/typingsInstaller.js +2706 -437
- package/lib/watchGuard.js +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,8 +33,6 @@ There are many ways to [contribute](https://github.com/microsoft/TypeScript/blob
|
|
|
33
33
|
* Help each other in the [TypeScript Community Discord](https://discord.gg/typescript).
|
|
34
34
|
* Join the [#typescript](https://twitter.com/search?q=%23TypeScript) discussion on Twitter.
|
|
35
35
|
* [Contribute bug fixes](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md).
|
|
36
|
-
* Read the archived language specification ([docx](https://github.com/microsoft/TypeScript/blob/main/doc/TypeScript%20Language%20Specification%20-%20ARCHIVED.docx?raw=true),
|
|
37
|
-
[pdf](https://github.com/microsoft/TypeScript/blob/main/doc/TypeScript%20Language%20Specification%20-%20ARCHIVED.pdf?raw=true), [md](https://github.com/microsoft/TypeScript/blob/main/doc/spec-ARCHIVED.md)).
|
|
38
36
|
|
|
39
37
|
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see
|
|
40
38
|
the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com)
|
package/lib/cancellationToken.js
CHANGED
|
@@ -30,6 +30,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
30
30
|
return to;
|
|
31
31
|
};
|
|
32
32
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
33
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
34
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
35
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
36
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
33
37
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
34
38
|
mod
|
|
35
39
|
));
|
|
@@ -77,6 +81,7 @@ function createCancellationToken(args) {
|
|
|
77
81
|
} else {
|
|
78
82
|
return {
|
|
79
83
|
isCancellationRequested: () => pipeExists(cancellationPipeName),
|
|
84
|
+
// TODO: GH#18217
|
|
80
85
|
setRequest: (_requestId) => void 0,
|
|
81
86
|
resetRequest: (_requestId) => void 0
|
|
82
87
|
};
|
package/lib/lib.es2022.d.ts
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/// <reference no-default-lib="true"/>
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
interface RegExpMatchArray {
|
|
22
|
+
indices?: RegExpIndicesArray;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface RegExpExecArray {
|
|
26
|
+
indices?: RegExpIndicesArray;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
interface RegExpIndicesArray extends Array<[number, number]> {
|
|
30
|
+
groups?: {
|
|
31
|
+
[key: string]: [number, number];
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface RegExp {
|
|
36
|
+
/**
|
|
37
|
+
* Returns a Boolean value indicating the state of the hasIndices flag (d) used with with a regular expression.
|
|
38
|
+
* Default is false. Read-only.
|
|
39
|
+
*/
|
|
40
|
+
readonly hasIndices: boolean;
|
|
41
|
+
}
|
package/lib/lib.es5.d.ts
CHANGED
|
@@ -1137,6 +1137,13 @@ interface JSON {
|
|
|
1137
1137
|
* If a member contains nested objects, the nested objects are transformed before the parent object is.
|
|
1138
1138
|
*/
|
|
1139
1139
|
parse(text: string, reviver?: (this: any, key: string, value: any) => any): any;
|
|
1140
|
+
/**
|
|
1141
|
+
* Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
|
|
1142
|
+
* @param value A JavaScript value, usually an object or array, to be converted.
|
|
1143
|
+
* @param replacer An array of strings and numbers that acts as an approved list for selecting the object properties that will be stringified.
|
|
1144
|
+
* @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
|
|
1145
|
+
*/
|
|
1146
|
+
stringify(value: Function | Symbol | undefined, replacer?: (number | string)[] | null, space?: string | number): undefined;
|
|
1140
1147
|
/**
|
|
1141
1148
|
* Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
|
|
1142
1149
|
* @param value A JavaScript value, usually an object or array, to be converted.
|