@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 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)
@@ -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
  };
@@ -25,3 +25,4 @@ and limitations under the License.
25
25
  /// <reference lib="es2022.object" />
26
26
  /// <reference lib="es2022.sharedmemory" />
27
27
  /// <reference lib="es2022.string" />
28
+ /// <reference lib="es2022.regexp" />
@@ -18,5 +18,24 @@ and limitations under the License.
18
18
  /// <reference no-default-lib="true"/>
19
19
 
20
20
 
21
- /// <reference lib="es2022" />
22
- /// <reference lib="es2023.array" />
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
+ }
@@ -18,5 +18,5 @@ and limitations under the License.
18
18
  /// <reference no-default-lib="true"/>
19
19
 
20
20
 
21
- /// <reference lib="es2023" />
21
+ /// <reference lib="es2022" />
22
22
  /// <reference lib="esnext.intl" />