@dcloudio/uni-app-x 0.7.79 → 0.7.81

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 (147) hide show
  1. package/package.json +1 -1
  2. package/types/dom2/UniCSSProperty.d.ts +0 -1
  3. package/types/dom2/UniCSSTransition.d.ts +30 -6
  4. package/types/dom2/UniElement.d.ts +5 -0
  5. package/types/dom2/UniNativeBaseView.d.ts +5 -3
  6. package/types/dom2/UniNativeDefines.d.ts +10 -10
  7. package/types/dom2/UniPage.d.ts +36 -3
  8. package/types/dom2/UniTextElement.d.ts +5 -0
  9. package/types/dom2/global.d.ts +21 -7
  10. package/types/dom2/sharedData.d.ts +10 -1
  11. package/types/dom2-internal/UniElement.d.ts +15 -0
  12. package/types/native/UniPage.d.ts +97 -1
  13. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/global.d.ts +7 -6
  14. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/index.d.ts +4 -3
  15. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +2 -1
  16. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/global.d.ts +7 -6
  17. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/index.d.ts +4 -3
  18. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +69 -23
  19. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +7 -40
  20. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +4 -20
  21. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +66 -495
  22. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +9 -8
  23. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +5 -4
  24. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +29 -28
  25. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/global.d.ts +10 -0
  26. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/index.d.ts +5 -0
  27. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +400 -212
  28. package/types/uni/uts-plugin-component/lib/uni-web-view-global/utssdk/interface.d.ts +5 -0
  29. package/types/node_modules/.package-lock.json +0 -20
  30. package/types/node_modules/typescript/LICENSE.txt +0 -55
  31. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  32. package/types/node_modules/typescript/bin/tsc +0 -2
  33. package/types/node_modules/typescript/bin/tsserver +0 -2
  34. package/types/node_modules/typescript/lib/cancellationToken.js +0 -90
  35. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
  36. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -1880
  37. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -1880
  38. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
  39. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -1880
  40. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
  41. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
  42. package/types/node_modules/typescript/lib/lib.d.ts +0 -22
  43. package/types/node_modules/typescript/lib/lib.decorators.d.ts +0 -386
  44. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  45. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -33
  46. package/types/node_modules/typescript/lib/lib.dom.d.ts +0 -28596
  47. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -475
  48. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  49. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  50. package/types/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  51. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  52. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -495
  53. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  54. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  55. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  56. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  57. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  58. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  59. package/types/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  60. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  61. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  62. package/types/node_modules/typescript/lib/lib.es2017.d.ts +0 -25
  63. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  64. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  65. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  66. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  67. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  68. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  69. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  70. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  71. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -43
  72. package/types/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  73. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  74. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  75. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  76. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  77. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  78. package/types/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  79. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  80. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  81. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  82. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  83. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  84. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -727
  85. package/types/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  86. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  87. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  88. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  89. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  90. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  91. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
  92. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
  93. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -37
  94. package/types/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  95. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  96. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  97. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  98. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  99. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
  100. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  101. package/types/node_modules/typescript/lib/lib.es2022.d.ts +0 -26
  102. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
  103. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  104. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -117
  105. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  106. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  107. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +0 -39
  108. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  109. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  110. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  111. package/types/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  112. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  113. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  114. package/types/node_modules/typescript/lib/lib.es5.d.ts +0 -4585
  115. package/types/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  116. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  117. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -106
  118. package/types/node_modules/typescript/lib/lib.esnext.d.ts +0 -28
  119. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  120. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -185
  121. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  122. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  123. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +0 -29
  124. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -35
  125. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +0 -25
  126. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +0 -29
  127. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  128. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -33
  129. package/types/node_modules/typescript/lib/lib.webworker.d.ts +0 -9431
  130. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  131. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -276
  132. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
  133. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
  134. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
  135. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
  136. package/types/node_modules/typescript/lib/tsc.js +0 -129741
  137. package/types/node_modules/typescript/lib/tsserver.js +0 -621
  138. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  139. package/types/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  140. package/types/node_modules/typescript/lib/typesMap.json +0 -497
  141. package/types/node_modules/typescript/lib/typescript.d.ts +0 -11240
  142. package/types/node_modules/typescript/lib/typescript.js +0 -194910
  143. package/types/node_modules/typescript/lib/typingsInstaller.js +0 -236
  144. package/types/node_modules/typescript/lib/watchGuard.js +0 -53
  145. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
  146. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -1880
  147. package/types/node_modules/typescript/package.json +0 -116
@@ -1,31 +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
- /**
21
- * The `Intl.getCanonicalLocales()` method returns an array containing
22
- * the canonical locale names. Duplicates will be omitted and elements
23
- * will be validated as structurally valid language tags.
24
- *
25
- * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales)
26
- *
27
- * @param locale A list of String values for which to get the canonical locale names
28
- * @returns An array containing the canonical and validated locale names.
29
- */
30
- function getCanonicalLocales(locale?: string | readonly string[]): string[];
31
- }
@@ -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
- /// <reference lib="es2016" />
20
- /// <reference lib="es2017.object" />
21
- /// <reference lib="es2017.sharedmemory" />
22
- /// <reference lib="es2017.string" />
23
- /// <reference lib="es2017.intl" />
24
- /// <reference lib="es2017.typedarrays" />
25
- /// <reference lib="es2017.date" />
@@ -1,31 +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 DateConstructor {
20
- /**
21
- * Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.
22
- * @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.
23
- * @param monthIndex The month as a number between 0 and 11 (January to December).
24
- * @param date The date as a number between 1 and 31.
25
- * @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.
26
- * @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.
27
- * @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.
28
- * @param ms A number from 0 to 999 that specifies the milliseconds.
29
- */
30
- UTC(year: number, monthIndex?: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;
31
- }
@@ -1,23 +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="es2017" />
20
- /// <reference lib="dom" />
21
- /// <reference lib="webworker.importscripts" />
22
- /// <reference lib="scripthost" />
23
- /// <reference lib="dom.iterable" />
@@ -1,44 +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 DateTimeFormatPartTypesRegistry {
21
- day: any;
22
- dayPeriod: any;
23
- era: any;
24
- hour: any;
25
- literal: any;
26
- minute: any;
27
- month: any;
28
- second: any;
29
- timeZoneName: any;
30
- weekday: any;
31
- year: any;
32
- }
33
-
34
- type DateTimeFormatPartTypes = keyof DateTimeFormatPartTypesRegistry;
35
-
36
- interface DateTimeFormatPart {
37
- type: DateTimeFormatPartTypes;
38
- value: string;
39
- }
40
-
41
- interface DateTimeFormat {
42
- formatToParts(date?: Date | number): DateTimeFormatPart[];
43
- }
44
- }
@@ -1,49 +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
- * Returns an array of values of the enumerable properties of an object
22
- * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
23
- */
24
- values<T>(o: { [s: string]: T; } | ArrayLike<T>): T[];
25
-
26
- /**
27
- * Returns an array of values of the enumerable properties of an object
28
- * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
29
- */
30
- values(o: {}): any[];
31
-
32
- /**
33
- * Returns an array of key/values of the enumerable properties of an object
34
- * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
35
- */
36
- entries<T>(o: { [s: string]: T; } | ArrayLike<T>): [string, T][];
37
-
38
- /**
39
- * Returns an array of key/values of the enumerable properties of an object
40
- * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
41
- */
42
- entries(o: {}): [string, any][];
43
-
44
- /**
45
- * Returns an object containing all own property descriptors of an object
46
- * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
47
- */
48
- getOwnPropertyDescriptors<T>(o: T): { [P in keyof T]: TypedPropertyDescriptor<T[P]>; } & { [x: string]: PropertyDescriptor; };
49
- }
@@ -1,135 +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="es2015.symbol" />
20
- /// <reference lib="es2015.symbol.wellknown" />
21
-
22
- interface SharedArrayBuffer {
23
- /**
24
- * Read-only. The length of the ArrayBuffer (in bytes).
25
- */
26
- readonly byteLength: number;
27
-
28
- /**
29
- * Returns a section of an SharedArrayBuffer.
30
- */
31
- slice(begin: number, end?: number): SharedArrayBuffer;
32
- readonly [Symbol.species]: SharedArrayBuffer;
33
- readonly [Symbol.toStringTag]: "SharedArrayBuffer";
34
- }
35
-
36
- interface SharedArrayBufferConstructor {
37
- readonly prototype: SharedArrayBuffer;
38
- new (byteLength: number): SharedArrayBuffer;
39
- }
40
- declare var SharedArrayBuffer: SharedArrayBufferConstructor;
41
-
42
- interface ArrayBufferTypes {
43
- SharedArrayBuffer: SharedArrayBuffer;
44
- }
45
-
46
- interface Atomics {
47
- /**
48
- * Adds a value to the value at the given position in the array, returning the original value.
49
- * Until this atomic operation completes, any other read or write operation against the array
50
- * will block.
51
- */
52
- add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
53
-
54
- /**
55
- * Stores the bitwise AND of a value with the value at the given position in the array,
56
- * returning the original value. Until this atomic operation completes, any other read or
57
- * write operation against the array will block.
58
- */
59
- and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
60
-
61
- /**
62
- * Replaces the value at the given position in the array if the original value equals the given
63
- * expected value, returning the original value. Until this atomic operation completes, any
64
- * other read or write operation against the array will block.
65
- */
66
- compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number;
67
-
68
- /**
69
- * Replaces the value at the given position in the array, returning the original value. Until
70
- * this atomic operation completes, any other read or write operation against the array will
71
- * block.
72
- */
73
- exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
74
-
75
- /**
76
- * Returns a value indicating whether high-performance algorithms can use atomic operations
77
- * (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed
78
- * array.
79
- */
80
- isLockFree(size: number): boolean;
81
-
82
- /**
83
- * Returns the value at the given position in the array. Until this atomic operation completes,
84
- * any other read or write operation against the array will block.
85
- */
86
- load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number;
87
-
88
- /**
89
- * Stores the bitwise OR of a value with the value at the given position in the array,
90
- * returning the original value. Until this atomic operation completes, any other read or write
91
- * operation against the array will block.
92
- */
93
- or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
94
-
95
- /**
96
- * Stores a value at the given position in the array, returning the new value. Until this
97
- * atomic operation completes, any other read or write operation against the array will block.
98
- */
99
- store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
100
-
101
- /**
102
- * Subtracts a value from the value at the given position in the array, returning the original
103
- * value. Until this atomic operation completes, any other read or write operation against the
104
- * array will block.
105
- */
106
- sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
107
-
108
- /**
109
- * If the value at the given position in the array is equal to the provided value, the current
110
- * agent is put to sleep causing execution to suspend until the timeout expires (returning
111
- * `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
112
- * `"not-equal"`.
113
- */
114
- wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";
115
-
116
- /**
117
- * Wakes up sleeping agents that are waiting on the given index of the array, returning the
118
- * number of agents that were awoken.
119
- * @param typedArray A shared Int32Array.
120
- * @param index The position in the typedArray to wake up on.
121
- * @param count The number of sleeping agents to notify. Defaults to +Infinity.
122
- */
123
- notify(typedArray: Int32Array, index: number, count?: number): number;
124
-
125
- /**
126
- * Stores the bitwise XOR of a value with the value at the given position in the array,
127
- * returning the original value. Until this atomic operation completes, any other read or write
128
- * operation against the array will block.
129
- */
130
- xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
131
-
132
- readonly [Symbol.toStringTag]: "Atomics";
133
- }
134
-
135
- declare var Atomics: Atomics;
@@ -1,45 +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
- * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
22
- * The padding is applied from the start (left) of the current string.
23
- *
24
- * @param maxLength The length of the resulting string once the current string has been padded.
25
- * If this parameter is smaller than the current string's length, the current string will be returned as it is.
26
- *
27
- * @param fillString The string to pad the current string with.
28
- * If this string is too long, it will be truncated and the left-most part will be applied.
29
- * The default value for this parameter is " " (U+0020).
30
- */
31
- padStart(maxLength: number, fillString?: string): string;
32
-
33
- /**
34
- * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
35
- * The padding is applied from the end (right) of the current string.
36
- *
37
- * @param maxLength The length of the resulting string once the current string has been padded.
38
- * If this parameter is smaller than the current string's length, the current string will be returned as it is.
39
- *
40
- * @param fillString The string to pad the current string with.
41
- * If this string is too long, it will be truncated and the left-most part will be applied.
42
- * The default value for this parameter is " " (U+0020).
43
- */
44
- padEnd(maxLength: number, fillString?: string): string;
45
- }
@@ -1,53 +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 Int8ArrayConstructor {
20
- new (): Int8Array;
21
- }
22
-
23
- interface Uint8ArrayConstructor {
24
- new (): Uint8Array;
25
- }
26
-
27
- interface Uint8ClampedArrayConstructor {
28
- new (): Uint8ClampedArray;
29
- }
30
-
31
- interface Int16ArrayConstructor {
32
- new (): Int16Array;
33
- }
34
-
35
- interface Uint16ArrayConstructor {
36
- new (): Uint16Array;
37
- }
38
-
39
- interface Int32ArrayConstructor {
40
- new (): Int32Array;
41
- }
42
-
43
- interface Uint32ArrayConstructor {
44
- new (): Uint32Array;
45
- }
46
-
47
- interface Float32ArrayConstructor {
48
- new (): Float32Array;
49
- }
50
-
51
- interface Float64ArrayConstructor {
52
- new (): Float64Array;
53
- }
@@ -1,77 +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="es2018.asynciterable" />
20
-
21
- interface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TReturn, TNext> {
22
- // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
23
- next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;
24
- return(value: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
25
- throw(e: any): Promise<IteratorResult<T, TReturn>>;
26
- [Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;
27
- }
28
-
29
- interface AsyncGeneratorFunction {
30
- /**
31
- * Creates a new AsyncGenerator object.
32
- * @param args A list of arguments the function accepts.
33
- */
34
- new (...args: any[]): AsyncGenerator;
35
- /**
36
- * Creates a new AsyncGenerator object.
37
- * @param args A list of arguments the function accepts.
38
- */
39
- (...args: any[]): AsyncGenerator;
40
- /**
41
- * The length of the arguments.
42
- */
43
- readonly length: number;
44
- /**
45
- * Returns the name of the function.
46
- */
47
- readonly name: string;
48
- /**
49
- * A reference to the prototype.
50
- */
51
- readonly prototype: AsyncGenerator;
52
- }
53
-
54
- interface AsyncGeneratorFunctionConstructor {
55
- /**
56
- * Creates a new AsyncGenerator function.
57
- * @param args A list of arguments the function accepts.
58
- */
59
- new (...args: string[]): AsyncGeneratorFunction;
60
- /**
61
- * Creates a new AsyncGenerator function.
62
- * @param args A list of arguments the function accepts.
63
- */
64
- (...args: string[]): AsyncGeneratorFunction;
65
- /**
66
- * The length of the arguments.
67
- */
68
- readonly length: number;
69
- /**
70
- * Returns the name of the function.
71
- */
72
- readonly name: string;
73
- /**
74
- * A reference to the prototype.
75
- */
76
- readonly prototype: AsyncGeneratorFunction;
77
- }
@@ -1,43 +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="es2015.symbol" />
20
- /// <reference lib="es2015.iterable" />
21
-
22
- interface SymbolConstructor {
23
- /**
24
- * A method that returns the default async iterator for an object. Called by the semantics of
25
- * the for-await-of statement.
26
- */
27
- readonly asyncIterator: unique symbol;
28
- }
29
-
30
- interface AsyncIterator<T, TReturn = any, TNext = undefined> {
31
- // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
32
- next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;
33
- return?(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
34
- throw?(e?: any): Promise<IteratorResult<T, TReturn>>;
35
- }
36
-
37
- interface AsyncIterable<T> {
38
- [Symbol.asyncIterator](): AsyncIterator<T>;
39
- }
40
-
41
- interface AsyncIterableIterator<T> extends AsyncIterator<T> {
42
- [Symbol.asyncIterator](): AsyncIterableIterator<T>;
43
- }
@@ -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="es2017" />
20
- /// <reference lib="es2018.asynciterable" />
21
- /// <reference lib="es2018.asyncgenerator" />
22
- /// <reference lib="es2018.promise" />
23
- /// <reference lib="es2018.regexp" />
24
- /// <reference lib="es2018.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="es2018" />
20
- /// <reference lib="dom" />
21
- /// <reference lib="webworker.importscripts" />
22
- /// <reference lib="scripthost" />
23
- /// <reference lib="dom.iterable" />
24
- /// <reference lib="dom.asynciterable" />