@typescript-deploys/pr-build 5.0.0-pr-49636-19 → 5.0.0-pr-51753-19
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.es2023.d.ts → lib.es2022.regexp.d.ts} +21 -2
- package/lib/lib.esnext.d.ts +1 -1
- package/lib/tsc.js +13218 -2395
- package/lib/tsserver.js +18867 -3418
- package/lib/tsserverlibrary.d.ts +32 -29
- package/lib/tsserverlibrary.js +18845 -3412
- package/lib/typescript.d.ts +32 -29
- package/lib/typescript.js +17424 -3207
- package/lib/typingsInstaller.js +2935 -725
- package/lib/watchGuard.js +4 -0
- package/package.json +5 -2
- package/lib/lib.es2023.array.d.ts +0 -344
- package/lib/lib.es2023.full.d.ts +0 -25
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
|
@@ -18,5 +18,24 @@ and limitations under the License.
|
|
|
18
18
|
/// <reference no-default-lib="true"/>
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
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.esnext.d.ts
CHANGED