@somewhere-cloud/cli 0.38.119 → 0.38.120

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.
Files changed (145) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/commands/deploy.js +7 -4
  3. package/dist/commands/deploy.js.map +1 -1
  4. package/dist/commands/typecheck.js +1 -1
  5. package/dist/commands/typecheck.js.map +1 -1
  6. package/dist/lib/role-method-hints.d.ts +3 -1
  7. package/dist/lib/role-method-hints.js +33 -17
  8. package/dist/lib/role-method-hints.js.map +1 -1
  9. package/dist/lib/typecheck.d.ts +1 -1
  10. package/dist/lib/typecheck.js +3 -21
  11. package/dist/lib/typecheck.js.map +1 -1
  12. package/npm-shrinkwrap.json +6 -7
  13. package/package.json +6 -8
  14. package/node_modules/typescript/LICENSE.txt +0 -55
  15. package/node_modules/typescript/README.md +0 -50
  16. package/node_modules/typescript/SECURITY.md +0 -41
  17. package/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  18. package/node_modules/typescript/bin/tsc +0 -2
  19. package/node_modules/typescript/bin/tsserver +0 -2
  20. package/node_modules/typescript/lib/_tsc.js +0 -133818
  21. package/node_modules/typescript/lib/_tsserver.js +0 -659
  22. package/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  23. package/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  24. package/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  25. package/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  26. package/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  27. package/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  28. package/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  29. package/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  30. package/node_modules/typescript/lib/lib.d.ts +0 -22
  31. package/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  32. package/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  33. package/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  34. package/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  35. package/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  36. package/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  37. package/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  38. package/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  39. package/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  40. package/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  41. package/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  42. package/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  43. package/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  44. package/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  45. package/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  46. package/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  47. package/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  48. package/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  49. package/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  50. package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  51. package/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  52. package/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  53. package/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  54. package/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  55. package/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  56. package/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  57. package/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  58. package/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  59. package/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  60. package/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  61. package/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  62. package/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  63. package/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  64. package/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  65. package/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  66. package/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  67. package/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  68. package/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  69. package/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  70. package/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  71. package/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  72. package/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  73. package/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  74. package/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  75. package/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  76. package/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  77. package/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  78. package/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  79. package/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  80. package/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  81. package/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  82. package/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  83. package/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  84. package/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  85. package/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  86. package/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  87. package/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  88. package/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  89. package/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  90. package/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  91. package/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  92. package/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  93. package/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  94. package/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  95. package/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  96. package/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  97. package/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  98. package/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  99. package/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  100. package/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  101. package/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  102. package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  103. package/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  104. package/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  105. package/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  106. package/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  107. package/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  108. package/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  109. package/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  110. package/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  111. package/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  112. package/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  113. package/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  114. package/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  115. package/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  116. package/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  117. package/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  118. package/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  119. package/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -445
  120. package/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  121. package/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  122. package/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  123. package/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  124. package/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  125. package/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  126. package/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  127. package/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  128. package/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  129. package/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  130. package/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  131. package/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  132. package/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  133. package/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  134. package/node_modules/typescript/lib/tsc.js +0 -8
  135. package/node_modules/typescript/lib/tsserver.js +0 -8
  136. package/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  137. package/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  138. package/node_modules/typescript/lib/typesMap.json +0 -497
  139. package/node_modules/typescript/lib/typescript.d.ts +0 -11437
  140. package/node_modules/typescript/lib/typescript.js +0 -200276
  141. package/node_modules/typescript/lib/typingsInstaller.js +0 -8
  142. package/node_modules/typescript/lib/watchGuard.js +0 -53
  143. package/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  144. package/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  145. package/node_modules/typescript/package.json +0 -120
@@ -1,21 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface WeakKeyTypes {
20
- symbol: symbol;
21
- }
@@ -1,22 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2022" />
20
- /// <reference lib="es2023.array" />
21
- /// <reference lib="es2023.collection" />
22
- /// <reference lib="es2023.intl" />
@@ -1,24 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2023" />
20
- /// <reference lib="dom" />
21
- /// <reference lib="webworker.importscripts" />
22
- /// <reference lib="scripthost" />
23
- /// <reference lib="dom.iterable" />
24
- /// <reference lib="dom.asynciterable" />
@@ -1,56 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- declare namespace Intl {
20
- interface NumberFormatOptionsUseGroupingRegistry {
21
- min2: never;
22
- auto: never;
23
- always: never;
24
- }
25
-
26
- interface NumberFormatOptionsSignDisplayRegistry {
27
- negative: never;
28
- }
29
-
30
- interface NumberFormatOptions {
31
- roundingPriority?: "auto" | "morePrecision" | "lessPrecision" | undefined;
32
- roundingIncrement?: 1 | 2 | 5 | 10 | 20 | 25 | 50 | 100 | 200 | 250 | 500 | 1000 | 2000 | 2500 | 5000 | undefined;
33
- roundingMode?: "ceil" | "floor" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven" | undefined;
34
- trailingZeroDisplay?: "auto" | "stripIfInteger" | undefined;
35
- }
36
-
37
- interface ResolvedNumberFormatOptions {
38
- roundingPriority: "auto" | "morePrecision" | "lessPrecision";
39
- roundingMode: "ceil" | "floor" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven";
40
- roundingIncrement: 1 | 2 | 5 | 10 | 20 | 25 | 50 | 100 | 200 | 250 | 500 | 1000 | 2000 | 2500 | 5000;
41
- trailingZeroDisplay: "auto" | "stripIfInteger";
42
- }
43
-
44
- interface NumberRangeFormatPart extends NumberFormatPart {
45
- source: "startRange" | "endRange" | "shared";
46
- }
47
-
48
- type StringNumericLiteral = `${number}` | "Infinity" | "-Infinity" | "+Infinity";
49
-
50
- interface NumberFormat {
51
- format(value: number | bigint | StringNumericLiteral): string;
52
- formatToParts(value: number | bigint | StringNumericLiteral): NumberFormatPart[];
53
- formatRange(start: number | bigint | StringNumericLiteral, end: number | bigint | StringNumericLiteral): string;
54
- formatRangeToParts(start: number | bigint | StringNumericLiteral, end: number | bigint | StringNumericLiteral): NumberRangeFormatPart[];
55
- }
56
- }
@@ -1,65 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface ArrayBuffer {
20
- /**
21
- * If this ArrayBuffer is resizable, returns the maximum byte length given during construction; returns the byte length if not.
22
- *
23
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/maxByteLength)
24
- */
25
- get maxByteLength(): number;
26
-
27
- /**
28
- * Returns true if this ArrayBuffer can be resized.
29
- *
30
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resizable)
31
- */
32
- get resizable(): boolean;
33
-
34
- /**
35
- * Resizes the ArrayBuffer to the specified size (in bytes).
36
- *
37
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resize)
38
- */
39
- resize(newByteLength?: number): void;
40
-
41
- /**
42
- * Returns a boolean indicating whether or not this buffer has been detached (transferred).
43
- *
44
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/detached)
45
- */
46
- get detached(): boolean;
47
-
48
- /**
49
- * Creates a new ArrayBuffer with the same byte content as this buffer, then detaches this buffer.
50
- *
51
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transfer)
52
- */
53
- transfer(newByteLength?: number): ArrayBuffer;
54
-
55
- /**
56
- * Creates a new non-resizable ArrayBuffer with the same byte content as this buffer, then detaches this buffer.
57
- *
58
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transferToFixedLength)
59
- */
60
- transferToFixedLength(newByteLength?: number): ArrayBuffer;
61
- }
62
-
63
- interface ArrayBufferConstructor {
64
- new (byteLength: number, options?: { maxByteLength?: number; }): ArrayBuffer;
65
- }
@@ -1,29 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface MapConstructor {
20
- /**
21
- * Groups members of an iterable according to the return value of the passed callback.
22
- * @param items An iterable.
23
- * @param keySelector A callback which will be invoked for each item in items.
24
- */
25
- groupBy<K, T>(
26
- items: Iterable<T>,
27
- keySelector: (item: T, index: number) => K,
28
- ): Map<K, T[]>;
29
- }
@@ -1,26 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2023" />
20
- /// <reference lib="es2024.arraybuffer" />
21
- /// <reference lib="es2024.collection" />
22
- /// <reference lib="es2024.object" />
23
- /// <reference lib="es2024.promise" />
24
- /// <reference lib="es2024.regexp" />
25
- /// <reference lib="es2024.sharedmemory" />
26
- /// <reference lib="es2024.string" />
@@ -1,24 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2024" />
20
- /// <reference lib="dom" />
21
- /// <reference lib="webworker.importscripts" />
22
- /// <reference lib="scripthost" />
23
- /// <reference lib="dom.iterable" />
24
- /// <reference lib="dom.asynciterable" />
@@ -1,29 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface ObjectConstructor {
20
- /**
21
- * Groups members of an iterable according to the return value of the passed callback.
22
- * @param items An iterable.
23
- * @param keySelector A callback which will be invoked for each item in items.
24
- */
25
- groupBy<K extends PropertyKey, T>(
26
- items: Iterable<T>,
27
- keySelector: (item: T, index: number) => K,
28
- ): Partial<Record<K, T[]>>;
29
- }
@@ -1,35 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface PromiseWithResolvers<T> {
20
- promise: Promise<T>;
21
- resolve: (value: T | PromiseLike<T>) => void;
22
- reject: (reason?: any) => void;
23
- }
24
-
25
- interface PromiseConstructor {
26
- /**
27
- * Creates a new Promise and returns it in an object, along with its resolve and reject functions.
28
- * @returns An object with the properties `promise`, `resolve`, and `reject`.
29
- *
30
- * ```ts
31
- * const { promise, resolve, reject } = Promise.withResolvers<T>();
32
- * ```
33
- */
34
- withResolvers<T>(): PromiseWithResolvers<T>;
35
- }
@@ -1,25 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface RegExp {
20
- /**
21
- * Returns a Boolean value indicating the state of the unicodeSets flag (v) used with a regular expression.
22
- * Default is false. Read-only.
23
- */
24
- readonly unicodeSets: boolean;
25
- }
@@ -1,68 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2020.bigint" />
20
-
21
- interface Atomics {
22
- /**
23
- * A non-blocking, asynchronous version of wait which is usable on the main thread.
24
- * Waits asynchronously on a shared memory location and returns a Promise
25
- * @param typedArray A shared Int32Array or BigInt64Array.
26
- * @param index The position in the typedArray to wait on.
27
- * @param value The expected value to test.
28
- * @param [timeout] The expected value to test.
29
- */
30
- waitAsync(typedArray: Int32Array, index: number, value: number, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; };
31
-
32
- /**
33
- * A non-blocking, asynchronous version of wait which is usable on the main thread.
34
- * Waits asynchronously on a shared memory location and returns a Promise
35
- * @param typedArray A shared Int32Array or BigInt64Array.
36
- * @param index The position in the typedArray to wait on.
37
- * @param value The expected value to test.
38
- * @param [timeout] The expected value to test.
39
- */
40
- waitAsync(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; };
41
- }
42
-
43
- interface SharedArrayBuffer {
44
- /**
45
- * Returns true if this SharedArrayBuffer can be grown.
46
- *
47
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/growable)
48
- */
49
- get growable(): boolean;
50
-
51
- /**
52
- * If this SharedArrayBuffer is growable, returns the maximum byte length given during construction; returns the byte length if not.
53
- *
54
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/maxByteLength)
55
- */
56
- get maxByteLength(): number;
57
-
58
- /**
59
- * Grows the SharedArrayBuffer to the specified size (in bytes).
60
- *
61
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/grow)
62
- */
63
- grow(newByteLength?: number): void;
64
- }
65
-
66
- interface SharedArrayBufferConstructor {
67
- new (byteLength: number, options?: { maxByteLength?: number; }): SharedArrayBuffer;
68
- }
@@ -1,29 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface String {
20
- /**
21
- * Returns true if all leading surrogates and trailing surrogates appear paired and in order.
22
- */
23
- isWellFormed(): boolean;
24
-
25
- /**
26
- * Returns a string where all lone or out-of-order surrogates have been replaced by the Unicode replacement character (U+FFFD).
27
- */
28
- toWellFormed(): string;
29
- }