@emulsify/cli 2.0.0 → 2.1.1

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 (303) hide show
  1. package/README.md +131 -12
  2. package/dist/handlers/componentInstall.js +65 -4
  3. package/dist/index.js +2 -0
  4. package/dist/node_modules/.package-lock.json +6 -216
  5. package/dist/node_modules/@types/node/README.md +1 -1
  6. package/dist/node_modules/@types/node/http2.d.ts +1 -0
  7. package/dist/node_modules/@types/node/package.json +2 -2
  8. package/dist/package-lock.json +61 -42
  9. package/dist/package.json +5 -6
  10. package/dist/schemas/emulsifyProjectConfig.json +80 -0
  11. package/dist/util/fs/executeScript.js +10 -4
  12. package/dist/util/fs/loadJsonFile.js +14 -4
  13. package/dist/util/fs/safeResolveWithin.js +22 -0
  14. package/dist/util/getRepositoryLatestTag.js +96 -13
  15. package/dist/util/project/buildComponentDependencyList.js +35 -10
  16. package/dist/util/project/generateComponent.js +52 -23
  17. package/dist/util/project/getEmulsifyConfig.js +35 -1
  18. package/dist/util/project/installComponentFromCache.js +3 -2
  19. package/dist/util/project/installGeneralAssetsFromCache.js +4 -2
  20. package/dist/util/system/getAvailableSystems.js +0 -5
  21. package/package.json +5 -6
  22. package/dist/node_modules/@babel/code-frame/LICENSE +0 -22
  23. package/dist/node_modules/@babel/code-frame/README.md +0 -19
  24. package/dist/node_modules/@babel/code-frame/lib/index.js +0 -217
  25. package/dist/node_modules/@babel/code-frame/lib/index.js.map +0 -1
  26. package/dist/node_modules/@babel/code-frame/package.json +0 -32
  27. package/dist/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
  28. package/dist/node_modules/@babel/helper-validator-identifier/README.md +0 -19
  29. package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  30. package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  31. package/dist/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  32. package/dist/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  33. package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  34. package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  35. package/dist/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  36. package/dist/node_modules/@types/progress/LICENSE +0 -21
  37. package/dist/node_modules/@types/progress/README.md +0 -15
  38. package/dist/node_modules/@types/progress/index.d.ts +0 -143
  39. package/dist/node_modules/@types/progress/package.json +0 -27
  40. package/dist/node_modules/argparse/CHANGELOG.md +0 -216
  41. package/dist/node_modules/argparse/LICENSE +0 -254
  42. package/dist/node_modules/argparse/README.md +0 -84
  43. package/dist/node_modules/argparse/argparse.js +0 -3707
  44. package/dist/node_modules/argparse/lib/sub.js +0 -67
  45. package/dist/node_modules/argparse/lib/textwrap.js +0 -440
  46. package/dist/node_modules/argparse/package.json +0 -31
  47. package/dist/node_modules/callsites/index.d.ts +0 -96
  48. package/dist/node_modules/callsites/index.js +0 -13
  49. package/dist/node_modules/callsites/license +0 -9
  50. package/dist/node_modules/callsites/package.json +0 -39
  51. package/dist/node_modules/callsites/readme.md +0 -48
  52. package/dist/node_modules/cosmiconfig/LICENSE +0 -22
  53. package/dist/node_modules/cosmiconfig/README.md +0 -782
  54. package/dist/node_modules/cosmiconfig/dist/Explorer.d.ts +0 -2
  55. package/dist/node_modules/cosmiconfig/dist/Explorer.js +0 -174
  56. package/dist/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +0 -2
  57. package/dist/node_modules/cosmiconfig/dist/ExplorerBase.js +0 -126
  58. package/dist/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +0 -2
  59. package/dist/node_modules/cosmiconfig/dist/ExplorerSync.js +0 -188
  60. package/dist/node_modules/cosmiconfig/dist/defaults.d.ts +0 -25
  61. package/dist/node_modules/cosmiconfig/dist/defaults.js +0 -105
  62. package/dist/node_modules/cosmiconfig/dist/index.d.ts +0 -6
  63. package/dist/node_modules/cosmiconfig/dist/index.js +0 -148
  64. package/dist/node_modules/cosmiconfig/dist/loaders.d.ts +0 -8
  65. package/dist/node_modules/cosmiconfig/dist/loaders.js +0 -150
  66. package/dist/node_modules/cosmiconfig/dist/merge.d.ts +0 -9
  67. package/dist/node_modules/cosmiconfig/dist/merge.js +0 -44
  68. package/dist/node_modules/cosmiconfig/dist/types.d.ts +0 -98
  69. package/dist/node_modules/cosmiconfig/dist/types.js +0 -3
  70. package/dist/node_modules/cosmiconfig/dist/util.d.ts +0 -2
  71. package/dist/node_modules/cosmiconfig/dist/util.js +0 -108
  72. package/dist/node_modules/cosmiconfig/package.json +0 -103
  73. package/dist/node_modules/env-paths/index.d.ts +0 -101
  74. package/dist/node_modules/env-paths/index.js +0 -74
  75. package/dist/node_modules/env-paths/license +0 -9
  76. package/dist/node_modules/env-paths/package.json +0 -45
  77. package/dist/node_modules/env-paths/readme.md +0 -115
  78. package/dist/node_modules/error-ex/LICENSE +0 -21
  79. package/dist/node_modules/error-ex/README.md +0 -144
  80. package/dist/node_modules/error-ex/index.js +0 -141
  81. package/dist/node_modules/error-ex/package.json +0 -46
  82. package/dist/node_modules/import-fresh/index.d.ts +0 -30
  83. package/dist/node_modules/import-fresh/index.js +0 -34
  84. package/dist/node_modules/import-fresh/license +0 -9
  85. package/dist/node_modules/import-fresh/node_modules/resolve-from/index.js +0 -47
  86. package/dist/node_modules/import-fresh/node_modules/resolve-from/license +0 -9
  87. package/dist/node_modules/import-fresh/node_modules/resolve-from/package.json +0 -34
  88. package/dist/node_modules/import-fresh/node_modules/resolve-from/readme.md +0 -72
  89. package/dist/node_modules/import-fresh/package.json +0 -48
  90. package/dist/node_modules/import-fresh/readme.md +0 -54
  91. package/dist/node_modules/is-arrayish/.editorconfig +0 -18
  92. package/dist/node_modules/is-arrayish/.istanbul.yml +0 -4
  93. package/dist/node_modules/is-arrayish/.travis.yml +0 -17
  94. package/dist/node_modules/is-arrayish/LICENSE +0 -21
  95. package/dist/node_modules/is-arrayish/README.md +0 -16
  96. package/dist/node_modules/is-arrayish/index.js +0 -10
  97. package/dist/node_modules/is-arrayish/package.json +0 -34
  98. package/dist/node_modules/js-tokens/CHANGELOG.md +0 -151
  99. package/dist/node_modules/js-tokens/LICENSE +0 -21
  100. package/dist/node_modules/js-tokens/README.md +0 -240
  101. package/dist/node_modules/js-tokens/index.js +0 -23
  102. package/dist/node_modules/js-tokens/package.json +0 -30
  103. package/dist/node_modules/js-yaml/LICENSE +0 -21
  104. package/dist/node_modules/js-yaml/README.md +0 -231
  105. package/dist/node_modules/js-yaml/bin/js-yaml.js +0 -117
  106. package/dist/node_modules/js-yaml/dist/js-yaml.js +0 -2404
  107. package/dist/node_modules/js-yaml/dist/js-yaml.js.map +0 -1
  108. package/dist/node_modules/js-yaml/dist/js-yaml.min.js +0 -33
  109. package/dist/node_modules/js-yaml/dist/js-yaml.min.js.map +0 -1
  110. package/dist/node_modules/js-yaml/dist/js-yaml.mjs +0 -2382
  111. package/dist/node_modules/js-yaml/dist/js-yaml.mjs.map +0 -1
  112. package/dist/node_modules/js-yaml/index.js +0 -44
  113. package/dist/node_modules/js-yaml/lib/common.js +0 -50
  114. package/dist/node_modules/js-yaml/lib/dumper.js +0 -937
  115. package/dist/node_modules/js-yaml/lib/exception.js +0 -51
  116. package/dist/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +0 -37
  117. package/dist/node_modules/js-yaml/lib/loader.js +0 -1794
  118. package/dist/node_modules/js-yaml/lib/schema/core.js +0 -9
  119. package/dist/node_modules/js-yaml/lib/schema/default.js +0 -20
  120. package/dist/node_modules/js-yaml/lib/schema/failsafe.js +0 -14
  121. package/dist/node_modules/js-yaml/lib/schema/json.js +0 -17
  122. package/dist/node_modules/js-yaml/lib/schema.js +0 -109
  123. package/dist/node_modules/js-yaml/lib/snippet.js +0 -96
  124. package/dist/node_modules/js-yaml/lib/type/binary.js +0 -122
  125. package/dist/node_modules/js-yaml/lib/type/bool.js +0 -35
  126. package/dist/node_modules/js-yaml/lib/type/float.js +0 -99
  127. package/dist/node_modules/js-yaml/lib/type/int.js +0 -142
  128. package/dist/node_modules/js-yaml/lib/type/map.js +0 -8
  129. package/dist/node_modules/js-yaml/lib/type/merge.js +0 -12
  130. package/dist/node_modules/js-yaml/lib/type/null.js +0 -35
  131. package/dist/node_modules/js-yaml/lib/type/omap.js +0 -45
  132. package/dist/node_modules/js-yaml/lib/type/pairs.js +0 -50
  133. package/dist/node_modules/js-yaml/lib/type/seq.js +0 -8
  134. package/dist/node_modules/js-yaml/lib/type/set.js +0 -29
  135. package/dist/node_modules/js-yaml/lib/type/str.js +0 -8
  136. package/dist/node_modules/js-yaml/lib/type/timestamp.js +0 -88
  137. package/dist/node_modules/js-yaml/lib/type.js +0 -66
  138. package/dist/node_modules/js-yaml/package.json +0 -77
  139. package/dist/node_modules/json-parse-even-better-errors/CHANGELOG.md +0 -50
  140. package/dist/node_modules/json-parse-even-better-errors/LICENSE.md +0 -25
  141. package/dist/node_modules/json-parse-even-better-errors/README.md +0 -96
  142. package/dist/node_modules/json-parse-even-better-errors/index.js +0 -121
  143. package/dist/node_modules/json-parse-even-better-errors/package.json +0 -33
  144. package/dist/node_modules/lines-and-columns/LICENSE +0 -21
  145. package/dist/node_modules/lines-and-columns/README.md +0 -33
  146. package/dist/node_modules/lines-and-columns/build/index.d.ts +0 -13
  147. package/dist/node_modules/lines-and-columns/build/index.js +0 -62
  148. package/dist/node_modules/lines-and-columns/package.json +0 -49
  149. package/dist/node_modules/parent-module/index.js +0 -37
  150. package/dist/node_modules/parent-module/license +0 -9
  151. package/dist/node_modules/parent-module/package.json +0 -46
  152. package/dist/node_modules/parent-module/readme.md +0 -67
  153. package/dist/node_modules/parse-json/index.js +0 -54
  154. package/dist/node_modules/parse-json/license +0 -9
  155. package/dist/node_modules/parse-json/package.json +0 -45
  156. package/dist/node_modules/parse-json/readme.md +0 -119
  157. package/dist/node_modules/picocolors/LICENSE +0 -15
  158. package/dist/node_modules/picocolors/README.md +0 -21
  159. package/dist/node_modules/picocolors/package.json +0 -25
  160. package/dist/node_modules/picocolors/picocolors.browser.js +0 -4
  161. package/dist/node_modules/picocolors/picocolors.d.ts +0 -5
  162. package/dist/node_modules/picocolors/picocolors.js +0 -75
  163. package/dist/node_modules/picocolors/types.d.ts +0 -51
  164. package/dist/node_modules/typescript/LICENSE.txt +0 -55
  165. package/dist/node_modules/typescript/README.md +0 -50
  166. package/dist/node_modules/typescript/SECURITY.md +0 -39
  167. package/dist/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  168. package/dist/node_modules/typescript/bin/tsc +0 -2
  169. package/dist/node_modules/typescript/bin/tsserver +0 -2
  170. package/dist/node_modules/typescript/lib/_tsc.js +0 -134465
  171. package/dist/node_modules/typescript/lib/_tsserver.js +0 -659
  172. package/dist/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  173. package/dist/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2129
  174. package/dist/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2125
  175. package/dist/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2129
  176. package/dist/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2129
  177. package/dist/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2125
  178. package/dist/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2129
  179. package/dist/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2129
  180. package/dist/node_modules/typescript/lib/lib.d.ts +0 -20
  181. package/dist/node_modules/typescript/lib/lib.decorators.d.ts +0 -382
  182. package/dist/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -20
  183. package/dist/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -18
  184. package/dist/node_modules/typescript/lib/lib.dom.d.ts +0 -45125
  185. package/dist/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -18
  186. package/dist/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -150
  187. package/dist/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -595
  188. package/dist/node_modules/typescript/lib/lib.es2015.d.ts +0 -26
  189. package/dist/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -75
  190. package/dist/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -603
  191. package/dist/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -79
  192. package/dist/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -126
  193. package/dist/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -142
  194. package/dist/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -44
  195. package/dist/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
  196. package/dist/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -114
  197. package/dist/node_modules/typescript/lib/lib.es2016.d.ts +0 -19
  198. package/dist/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -21
  199. package/dist/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -29
  200. package/dist/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -19
  201. package/dist/node_modules/typescript/lib/lib.es2017.d.ts +0 -24
  202. package/dist/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -29
  203. package/dist/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -21
  204. package/dist/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -42
  205. package/dist/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -47
  206. package/dist/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -133
  207. package/dist/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -43
  208. package/dist/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -51
  209. package/dist/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -75
  210. package/dist/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -51
  211. package/dist/node_modules/typescript/lib/lib.es2018.d.ts +0 -22
  212. package/dist/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -22
  213. package/dist/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -81
  214. package/dist/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -28
  215. package/dist/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -35
  216. package/dist/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -77
  217. package/dist/node_modules/typescript/lib/lib.es2019.d.ts +0 -22
  218. package/dist/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -22
  219. package/dist/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -21
  220. package/dist/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -31
  221. package/dist/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -35
  222. package/dist/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -22
  223. package/dist/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -763
  224. package/dist/node_modules/typescript/lib/lib.es2020.d.ts +0 -25
  225. package/dist/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -40
  226. package/dist/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -22
  227. package/dist/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -472
  228. package/dist/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -26
  229. package/dist/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -45
  230. package/dist/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
  231. package/dist/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
  232. package/dist/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
  233. package/dist/node_modules/typescript/lib/lib.es2021.d.ts +0 -21
  234. package/dist/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -22
  235. package/dist/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -164
  236. package/dist/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -46
  237. package/dist/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -31
  238. package/dist/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
  239. package/dist/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -119
  240. package/dist/node_modules/typescript/lib/lib.es2022.d.ts +0 -23
  241. package/dist/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
  242. package/dist/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -22
  243. package/dist/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -143
  244. package/dist/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -24
  245. package/dist/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -37
  246. package/dist/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -23
  247. package/dist/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -922
  248. package/dist/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -19
  249. package/dist/node_modules/typescript/lib/lib.es2023.d.ts +0 -20
  250. package/dist/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -22
  251. package/dist/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -62
  252. package/dist/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -63
  253. package/dist/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -27
  254. package/dist/node_modules/typescript/lib/lib.es2024.d.ts +0 -24
  255. package/dist/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -22
  256. package/dist/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -27
  257. package/dist/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -33
  258. package/dist/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -23
  259. package/dist/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -66
  260. package/dist/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -27
  261. package/dist/node_modules/typescript/lib/lib.es2025.collection.d.ts +0 -94
  262. package/dist/node_modules/typescript/lib/lib.es2025.d.ts +0 -23
  263. package/dist/node_modules/typescript/lib/lib.es2025.float16.d.ts +0 -443
  264. package/dist/node_modules/typescript/lib/lib.es2025.full.d.ts +0 -22
  265. package/dist/node_modules/typescript/lib/lib.es2025.intl.d.ts +0 -200
  266. package/dist/node_modules/typescript/lib/lib.es2025.iterator.d.ts +0 -146
  267. package/dist/node_modules/typescript/lib/lib.es2025.promise.d.ts +0 -32
  268. package/dist/node_modules/typescript/lib/lib.es2025.regexp.d.ts +0 -30
  269. package/dist/node_modules/typescript/lib/lib.es5.d.ts +0 -4599
  270. package/dist/node_modules/typescript/lib/lib.es6.d.ts +0 -21
  271. package/dist/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -33
  272. package/dist/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -47
  273. package/dist/node_modules/typescript/lib/lib.esnext.d.ts +0 -27
  274. package/dist/node_modules/typescript/lib/lib.esnext.date.d.ts +0 -21
  275. package/dist/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -26
  276. package/dist/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -191
  277. package/dist/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -22
  278. package/dist/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -22
  279. package/dist/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -107
  280. package/dist/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -23
  281. package/dist/node_modules/typescript/lib/lib.esnext.temporal.d.ts +0 -485
  282. package/dist/node_modules/typescript/lib/lib.esnext.typedarrays.d.ts +0 -90
  283. package/dist/node_modules/typescript/lib/lib.scripthost.d.ts +0 -320
  284. package/dist/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -18
  285. package/dist/node_modules/typescript/lib/lib.webworker.d.ts +0 -15606
  286. package/dist/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -21
  287. package/dist/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -18
  288. package/dist/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2129
  289. package/dist/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2129
  290. package/dist/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2125
  291. package/dist/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2129
  292. package/dist/node_modules/typescript/lib/tsc.js +0 -8
  293. package/dist/node_modules/typescript/lib/tsserver.js +0 -8
  294. package/dist/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  295. package/dist/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  296. package/dist/node_modules/typescript/lib/typesMap.json +0 -497
  297. package/dist/node_modules/typescript/lib/typescript.d.ts +0 -11448
  298. package/dist/node_modules/typescript/lib/typescript.js +0 -201039
  299. package/dist/node_modules/typescript/lib/typingsInstaller.js +0 -8
  300. package/dist/node_modules/typescript/lib/watchGuard.js +0 -53
  301. package/dist/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2129
  302. package/dist/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2125
  303. package/dist/node_modules/typescript/package.json +0 -118
@@ -1,114 +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
- MERCHANTABILITY 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
- interface Array<T> {
18
- /**
19
- * Determines whether an array includes a certain element, returning true or false as appropriate.
20
- * @param searchElement The element to search for.
21
- * @param fromIndex The position in this array at which to begin searching for searchElement.
22
- */
23
- includes(searchElement: T, fromIndex?: number): boolean;
24
- }
25
-
26
- interface ReadonlyArray<T> {
27
- /**
28
- * Determines whether an array includes a certain element, returning true or false as appropriate.
29
- * @param searchElement The element to search for.
30
- * @param fromIndex The position in this array at which to begin searching for searchElement.
31
- */
32
- includes(searchElement: T, fromIndex?: number): boolean;
33
- }
34
-
35
- interface Int8Array<TArrayBuffer extends ArrayBufferLike> {
36
- /**
37
- * Determines whether an array includes a certain element, returning true or false as appropriate.
38
- * @param searchElement The element to search for.
39
- * @param fromIndex The position in this array at which to begin searching for searchElement.
40
- */
41
- includes(searchElement: number, fromIndex?: number): boolean;
42
- }
43
-
44
- interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
45
- /**
46
- * Determines whether an array includes a certain element, returning true or false as appropriate.
47
- * @param searchElement The element to search for.
48
- * @param fromIndex The position in this array at which to begin searching for searchElement.
49
- */
50
- includes(searchElement: number, fromIndex?: number): boolean;
51
- }
52
-
53
- interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {
54
- /**
55
- * Determines whether an array includes a certain element, returning true or false as appropriate.
56
- * @param searchElement The element to search for.
57
- * @param fromIndex The position in this array at which to begin searching for searchElement.
58
- */
59
- includes(searchElement: number, fromIndex?: number): boolean;
60
- }
61
-
62
- interface Int16Array<TArrayBuffer extends ArrayBufferLike> {
63
- /**
64
- * Determines whether an array includes a certain element, returning true or false as appropriate.
65
- * @param searchElement The element to search for.
66
- * @param fromIndex The position in this array at which to begin searching for searchElement.
67
- */
68
- includes(searchElement: number, fromIndex?: number): boolean;
69
- }
70
-
71
- interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {
72
- /**
73
- * Determines whether an array includes a certain element, returning true or false as appropriate.
74
- * @param searchElement The element to search for.
75
- * @param fromIndex The position in this array at which to begin searching for searchElement.
76
- */
77
- includes(searchElement: number, fromIndex?: number): boolean;
78
- }
79
-
80
- interface Int32Array<TArrayBuffer extends ArrayBufferLike> {
81
- /**
82
- * Determines whether an array includes a certain element, returning true or false as appropriate.
83
- * @param searchElement The element to search for.
84
- * @param fromIndex The position in this array at which to begin searching for searchElement.
85
- */
86
- includes(searchElement: number, fromIndex?: number): boolean;
87
- }
88
-
89
- interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {
90
- /**
91
- * Determines whether an array includes a certain element, returning true or false as appropriate.
92
- * @param searchElement The element to search for.
93
- * @param fromIndex The position in this array at which to begin searching for searchElement.
94
- */
95
- includes(searchElement: number, fromIndex?: number): boolean;
96
- }
97
-
98
- interface Float32Array<TArrayBuffer extends ArrayBufferLike> {
99
- /**
100
- * Determines whether an array includes a certain element, returning true or false as appropriate.
101
- * @param searchElement The element to search for.
102
- * @param fromIndex The position in this array at which to begin searching for searchElement.
103
- */
104
- includes(searchElement: number, fromIndex?: number): boolean;
105
- }
106
-
107
- interface Float64Array<TArrayBuffer extends ArrayBufferLike> {
108
- /**
109
- * Determines whether an array includes a certain element, returning true or false as appropriate.
110
- * @param searchElement The element to search for.
111
- * @param fromIndex The position in this array at which to begin searching for searchElement.
112
- */
113
- includes(searchElement: number, fromIndex?: number): boolean;
114
- }
@@ -1,19 +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
- MERCHANTABILITY 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 lib="es2015" />
18
- /// <reference lib="es2016.array.include" />
19
- /// <reference lib="es2016.intl" />
@@ -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
- MERCHANTABILITY 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 lib="es2016" />
18
- /// <reference lib="dom" />
19
- /// <reference lib="webworker.importscripts" />
20
- /// <reference lib="scripthost" />
21
- /// <reference lib="dom.iterable" />
@@ -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
- MERCHANTABILITY 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
- declare namespace Intl {
18
- /**
19
- * The `Intl.getCanonicalLocales()` method returns an array containing
20
- * the canonical locale names. Duplicates will be omitted and elements
21
- * will be validated as structurally valid language tags.
22
- *
23
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales)
24
- *
25
- * @param locale A list of String values for which to get the canonical locale names
26
- * @returns An array containing the canonical and validated locale names.
27
- */
28
- function getCanonicalLocales(locale?: string | readonly string[]): string[];
29
- }
@@ -1,19 +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
- MERCHANTABILITY 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
- interface ArrayBufferConstructor {
18
- new (): ArrayBuffer;
19
- }
@@ -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
- MERCHANTABILITY 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 lib="es2016" />
18
- /// <reference lib="es2017.arraybuffer" />
19
- /// <reference lib="es2017.date" />
20
- /// <reference lib="es2017.intl" />
21
- /// <reference lib="es2017.object" />
22
- /// <reference lib="es2017.sharedmemory" />
23
- /// <reference lib="es2017.string" />
24
- /// <reference lib="es2017.typedarrays" />
@@ -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
- MERCHANTABILITY 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
- interface DateConstructor {
18
- /**
19
- * Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.
20
- * @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.
21
- * @param monthIndex The month as a number between 0 and 11 (January to December).
22
- * @param date The date as a number between 1 and 31.
23
- * @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.
24
- * @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.
25
- * @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.
26
- * @param ms A number from 0 to 999 that specifies the milliseconds.
27
- */
28
- UTC(year: number, monthIndex?: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;
29
- }
@@ -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
- MERCHANTABILITY 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 lib="es2017" />
18
- /// <reference lib="dom" />
19
- /// <reference lib="webworker.importscripts" />
20
- /// <reference lib="scripthost" />
21
- /// <reference lib="dom.iterable" />
@@ -1,42 +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
- MERCHANTABILITY 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
- declare namespace Intl {
18
- interface DateTimeFormatPartTypesRegistry {
19
- day: any;
20
- dayPeriod: any;
21
- era: any;
22
- hour: any;
23
- literal: any;
24
- minute: any;
25
- month: any;
26
- second: any;
27
- timeZoneName: any;
28
- weekday: any;
29
- year: any;
30
- }
31
-
32
- type DateTimeFormatPartTypes = keyof DateTimeFormatPartTypesRegistry;
33
-
34
- interface DateTimeFormatPart {
35
- type: DateTimeFormatPartTypes;
36
- value: string;
37
- }
38
-
39
- interface DateTimeFormat {
40
- formatToParts(date?: Date | number): DateTimeFormatPart[];
41
- }
42
- }
@@ -1,47 +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
- MERCHANTABILITY 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
- interface ObjectConstructor {
18
- /**
19
- * Returns an array of values of the enumerable own properties of an object
20
- * @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.
21
- */
22
- values<T>(o: { [s: string]: T; } | ArrayLike<T>): T[];
23
-
24
- /**
25
- * Returns an array of values of the enumerable own properties of an object
26
- * @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.
27
- */
28
- values(o: {}): any[];
29
-
30
- /**
31
- * Returns an array of key/values of the enumerable own properties of an object
32
- * @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.
33
- */
34
- entries<T>(o: { [s: string]: T; } | ArrayLike<T>): [string, T][];
35
-
36
- /**
37
- * Returns an array of key/values of the enumerable own properties of an object
38
- * @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.
39
- */
40
- entries(o: {}): [string, any][];
41
-
42
- /**
43
- * Returns an object containing all own property descriptors of an object
44
- * @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.
45
- */
46
- getOwnPropertyDescriptors<T>(o: T): { [P in keyof T]: TypedPropertyDescriptor<T[P]>; } & { [x: string]: PropertyDescriptor; };
47
- }
@@ -1,133 +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
- MERCHANTABILITY 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 lib="es2015.symbol" />
18
- /// <reference lib="es2015.symbol.wellknown" />
19
-
20
- interface SharedArrayBuffer {
21
- /**
22
- * Read-only. The length of the ArrayBuffer (in bytes).
23
- */
24
- readonly byteLength: number;
25
-
26
- /**
27
- * Returns a section of an SharedArrayBuffer.
28
- */
29
- slice(begin?: number, end?: number): SharedArrayBuffer;
30
- readonly [Symbol.toStringTag]: "SharedArrayBuffer";
31
- }
32
-
33
- interface SharedArrayBufferConstructor {
34
- readonly prototype: SharedArrayBuffer;
35
- new (byteLength?: number): SharedArrayBuffer;
36
- readonly [Symbol.species]: SharedArrayBufferConstructor;
37
- }
38
- declare var SharedArrayBuffer: SharedArrayBufferConstructor;
39
-
40
- interface ArrayBufferTypes {
41
- SharedArrayBuffer: SharedArrayBuffer;
42
- }
43
-
44
- interface Atomics {
45
- /**
46
- * Adds a value to the value at the given position in the array, returning the original value.
47
- * Until this atomic operation completes, any other read or write operation against the array
48
- * will block.
49
- */
50
- add(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
51
-
52
- /**
53
- * Stores the bitwise AND of a value with the value at the given position in the array,
54
- * returning the original value. Until this atomic operation completes, any other read or
55
- * write operation against the array will block.
56
- */
57
- and(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
58
-
59
- /**
60
- * Replaces the value at the given position in the array if the original value equals the given
61
- * expected value, returning the original value. Until this atomic operation completes, any
62
- * other read or write operation against the array will block.
63
- */
64
- compareExchange(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, expectedValue: number, replacementValue: number): number;
65
-
66
- /**
67
- * Replaces the value at the given position in the array, returning the original value. Until
68
- * this atomic operation completes, any other read or write operation against the array will
69
- * block.
70
- */
71
- exchange(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
72
-
73
- /**
74
- * Returns a value indicating whether high-performance algorithms can use atomic operations
75
- * (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed
76
- * array.
77
- */
78
- isLockFree(size: number): boolean;
79
-
80
- /**
81
- * Returns the value at the given position in the array. Until this atomic operation completes,
82
- * any other read or write operation against the array will block.
83
- */
84
- load(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number): number;
85
-
86
- /**
87
- * Stores the bitwise OR of a value with the value at the given position in the array,
88
- * returning the original value. Until this atomic operation completes, any other read or write
89
- * operation against the array will block.
90
- */
91
- or(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
92
-
93
- /**
94
- * Stores a value at the given position in the array, returning the new value. Until this
95
- * atomic operation completes, any other read or write operation against the array will block.
96
- */
97
- store(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
98
-
99
- /**
100
- * Subtracts a value from the value at the given position in the array, returning the original
101
- * value. Until this atomic operation completes, any other read or write operation against the
102
- * array will block.
103
- */
104
- sub(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
105
-
106
- /**
107
- * If the value at the given position in the array is equal to the provided value, the current
108
- * agent is put to sleep causing execution to suspend until the timeout expires (returning
109
- * `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
110
- * `"not-equal"`.
111
- */
112
- wait(typedArray: Int32Array<ArrayBufferLike>, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";
113
-
114
- /**
115
- * Wakes up sleeping agents that are waiting on the given index of the array, returning the
116
- * number of agents that were awoken.
117
- * @param typedArray A shared Int32Array<ArrayBufferLike>.
118
- * @param index The position in the typedArray to wake up on.
119
- * @param count The number of sleeping agents to notify. Defaults to +Infinity.
120
- */
121
- notify(typedArray: Int32Array<ArrayBufferLike>, index: number, count?: number): number;
122
-
123
- /**
124
- * Stores the bitwise XOR of a value with the value at the given position in the array,
125
- * returning the original value. Until this atomic operation completes, any other read or write
126
- * operation against the array will block.
127
- */
128
- xor(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
129
-
130
- readonly [Symbol.toStringTag]: "Atomics";
131
- }
132
-
133
- declare var Atomics: Atomics;
@@ -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
- MERCHANTABILITY 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
- interface String {
18
- /**
19
- * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
20
- * The padding is applied from the start (left) of the current string.
21
- *
22
- * @param maxLength The length of the resulting string once the current string has been padded.
23
- * If this parameter is smaller than the current string's length, the current string will be returned as it is.
24
- *
25
- * @param fillString The string to pad the current string with.
26
- * If this string is too long, it will be truncated and the left-most part will be applied.
27
- * The default value for this parameter is " " (U+0020).
28
- */
29
- padStart(maxLength: number, fillString?: string): string;
30
-
31
- /**
32
- * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
33
- * The padding is applied from the end (right) of the current string.
34
- *
35
- * @param maxLength The length of the resulting string once the current string has been padded.
36
- * If this parameter is smaller than the current string's length, the current string will be returned as it is.
37
- *
38
- * @param fillString The string to pad the current string with.
39
- * If this string is too long, it will be truncated and the left-most part will be applied.
40
- * The default value for this parameter is " " (U+0020).
41
- */
42
- padEnd(maxLength: number, fillString?: string): string;
43
- }
@@ -1,51 +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
- MERCHANTABILITY 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
- interface Int8ArrayConstructor {
18
- new (): Int8Array<ArrayBuffer>;
19
- }
20
-
21
- interface Uint8ArrayConstructor {
22
- new (): Uint8Array<ArrayBuffer>;
23
- }
24
-
25
- interface Uint8ClampedArrayConstructor {
26
- new (): Uint8ClampedArray<ArrayBuffer>;
27
- }
28
-
29
- interface Int16ArrayConstructor {
30
- new (): Int16Array<ArrayBuffer>;
31
- }
32
-
33
- interface Uint16ArrayConstructor {
34
- new (): Uint16Array<ArrayBuffer>;
35
- }
36
-
37
- interface Int32ArrayConstructor {
38
- new (): Int32Array<ArrayBuffer>;
39
- }
40
-
41
- interface Uint32ArrayConstructor {
42
- new (): Uint32Array<ArrayBuffer>;
43
- }
44
-
45
- interface Float32ArrayConstructor {
46
- new (): Float32Array<ArrayBuffer>;
47
- }
48
-
49
- interface Float64ArrayConstructor {
50
- new (): Float64Array<ArrayBuffer>;
51
- }