tntd 1.4.30 → 1.4.32

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 (867) hide show
  1. package/components/Handle/index.js +5 -2
  2. package/components/QueryForm/Field/SelectInput.js +3 -1
  3. package/components/QueryForm/README.md +4 -1
  4. package/dist/stats.json +5295 -5295
  5. package/dist/tntd.js +1 -1
  6. package/es/Handle/index.js +11 -7
  7. package/es/QueryForm/Field/SelectInput.js +5 -3
  8. package/es/QueryForm/README.md +4 -1
  9. package/lib/Handle/index.js +11 -7
  10. package/lib/QueryForm/Field/SelectInput.js +5 -3
  11. package/lib/QueryForm/README.md +4 -1
  12. package/package.json +1 -1
  13. package/common/temp/publish-home/.npm/_logs/2023-02-24T09_28_35_585Z-debug-0.log +0 -39
  14. package/common/temp/publish-home/.npm/_logs/2023-02-24T09_29_14_285Z-debug-0.log +0 -1426
  15. package/common/temp/publish-home/.npm/_logs/2023-03-07T06_11_25_569Z-debug-0.log +0 -39
  16. package/common/temp/publish-home/.npm/_logs/2023-03-07T06_11_28_924Z-debug-0.log +0 -1426
  17. package/common/temp/publish-home/.npm/_logs/2023-03-08T11_15_34_815Z-debug-0.log +0 -34
  18. package/common/temp/publish-home/.npm/_logs/2023-03-08T11_18_04_372Z-debug-0.log +0 -34
  19. package/common/temp/publish-home/.npm/_logs/2023-03-08T11_22_54_526Z-debug-0.log +0 -34
  20. package/common/temp/rush-recycler/install-run-1678274025679/@azure/abort-controller/dist/index.js +0 -239
  21. package/common/temp/rush-recycler/install-run-1678274025679/@azure/abort-controller/dist/index.js.map +0 -1
  22. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-auth/dist/index.js +0 -215
  23. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-auth/dist/index.js.map +0 -1
  24. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-client/dist/index.js +0 -2171
  25. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-client/dist/index.js.map +0 -1
  26. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-http/dist/index.js +0 -5500
  27. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-http/dist/index.js.map +0 -1
  28. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-lro/dist/index.js +0 -1171
  29. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-lro/dist/index.js.map +0 -1
  30. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-paging/dist/index.js +0 -104
  31. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-paging/dist/index.js.map +0 -1
  32. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-rest-pipeline/dist/index.js +0 -2282
  33. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-rest-pipeline/dist/index.js.map +0 -1
  34. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-tracing/dist/index.js +0 -184
  35. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-tracing/dist/index.js.map +0 -1
  36. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-util/dist/index.js +0 -217
  37. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-util/dist/index.js.map +0 -1
  38. package/common/temp/rush-recycler/install-run-1678274025679/@azure/identity/dist/index.js +0 -3727
  39. package/common/temp/rush-recycler/install-run-1678274025679/@azure/identity/dist/index.js.map +0 -1
  40. package/common/temp/rush-recycler/install-run-1678274025679/@azure/logger/dist/index.js +0 -208
  41. package/common/temp/rush-recycler/install-run-1678274025679/@azure/logger/dist/index.js.map +0 -1
  42. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/_virtual/_tslib.js +0 -117
  43. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/_virtual/_tslib.js.map +0 -1
  44. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.d.ts +0 -333
  45. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.d.ts.map +0 -1
  46. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.js +0 -1039
  47. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.js.map +0 -1
  48. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.d.ts +0 -46
  49. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.d.ts.map +0 -1
  50. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.js +0 -103
  51. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.js.map +0 -1
  52. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.d.ts +0 -71
  53. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.d.ts.map +0 -1
  54. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.js +0 -278
  55. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.js.map +0 -1
  56. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.d.ts +0 -60
  57. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.d.ts.map +0 -1
  58. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.js +0 -261
  59. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.js.map +0 -1
  60. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeRequest.d.ts +0 -44
  61. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeRequest.d.ts.map +0 -1
  62. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeResponse.d.ts +0 -49
  63. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeResponse.d.ts.map +0 -1
  64. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.d.ts +0 -52
  65. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.d.ts.map +0 -1
  66. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.js +0 -210
  67. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.js.map +0 -1
  68. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.d.ts +0 -319
  69. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.d.ts.map +0 -1
  70. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.js +0 -975
  71. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.js.map +0 -1
  72. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.d.ts +0 -12
  73. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.d.ts.map +0 -1
  74. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.js +0 -43
  75. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.js.map +0 -1
  76. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.d.ts +0 -18
  77. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.d.ts.map +0 -1
  78. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.js +0 -58
  79. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.js.map +0 -1
  80. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.d.ts +0 -57
  81. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.d.ts.map +0 -1
  82. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.js +0 -262
  83. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.js.map +0 -1
  84. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IAsyncMemoryStorage.d.ts +0 -28
  85. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IAsyncMemoryStorage.d.ts.map +0 -1
  86. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/ITokenCache.d.ts +0 -11
  87. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/ITokenCache.d.ts.map +0 -1
  88. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IWindowStorage.d.ts +0 -28
  89. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IWindowStorage.d.ts.map +0 -1
  90. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.d.ts +0 -12
  91. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.d.ts.map +0 -1
  92. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.js +0 -37
  93. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.js.map +0 -1
  94. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.d.ts +0 -77
  95. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.d.ts.map +0 -1
  96. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.js +0 -227
  97. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.js.map +0 -1
  98. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.d.ts +0 -196
  99. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.d.ts.map +0 -1
  100. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.js +0 -86
  101. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.js.map +0 -1
  102. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.d.ts +0 -62
  103. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.d.ts.map +0 -1
  104. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.js +0 -167
  105. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.js.map +0 -1
  106. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.d.ts +0 -74
  107. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.d.ts.map +0 -1
  108. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.js +0 -223
  109. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.js.map +0 -1
  110. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.d.ts +0 -13
  111. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.d.ts.map +0 -1
  112. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.js +0 -93
  113. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.js.map +0 -1
  114. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ISubtleCrypto.d.ts +0 -10
  115. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ISubtleCrypto.d.ts.map +0 -1
  116. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.d.ts +0 -10
  117. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.d.ts.map +0 -1
  118. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.js +0 -55
  119. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.js.map +0 -1
  120. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.d.ts +0 -10
  121. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.d.ts.map +0 -1
  122. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.js +0 -112
  123. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.js.map +0 -1
  124. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.d.ts +0 -18
  125. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.d.ts.map +0 -1
  126. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.js +0 -59
  127. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.js.map +0 -1
  128. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.d.ts +0 -25
  129. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.d.ts.map +0 -1
  130. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.js +0 -87
  131. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.js.map +0 -1
  132. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.d.ts +0 -31
  133. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.d.ts.map +0 -1
  134. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.js +0 -70
  135. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.js.map +0 -1
  136. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.d.ts +0 -23
  137. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.d.ts.map +0 -1
  138. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.js +0 -82
  139. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.js.map +0 -1
  140. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.d.ts +0 -32
  141. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.d.ts.map +0 -1
  142. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.js +0 -88
  143. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.js.map +0 -1
  144. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.d.ts +0 -375
  145. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.d.ts.map +0 -1
  146. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.js +0 -482
  147. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.js.map +0 -1
  148. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts +0 -71
  149. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts.map +0 -1
  150. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.js +0 -107
  151. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.js.map +0 -1
  152. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.d.ts +0 -57
  153. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.d.ts.map +0 -1
  154. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.js +0 -97
  155. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.js.map +0 -1
  156. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.d.ts +0 -42
  157. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.d.ts.map +0 -1
  158. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.js +0 -127
  159. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.js.map +0 -1
  160. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.d.ts +0 -26
  161. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.d.ts.map +0 -1
  162. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.js +0 -71
  163. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.js.map +0 -1
  164. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.d.ts +0 -27
  165. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.d.ts.map +0 -1
  166. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.js +0 -36
  167. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.js.map +0 -1
  168. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.cjs.js +0 -17467
  169. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.cjs.js.map +0 -1
  170. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.d.ts +0 -36
  171. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.d.ts.map +0 -1
  172. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.js +0 -18
  173. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.js.map +0 -1
  174. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.d.ts +0 -53
  175. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.d.ts.map +0 -1
  176. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.js +0 -179
  177. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.js.map +0 -1
  178. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +0 -5
  179. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +0 -1
  180. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +0 -21
  181. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +0 -1
  182. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.d.ts +0 -86
  183. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.d.ts.map +0 -1
  184. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.js +0 -480
  185. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.js.map +0 -1
  186. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.d.ts +0 -112
  187. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.d.ts.map +0 -1
  188. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.js +0 -513
  189. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.js.map +0 -1
  190. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.d.ts +0 -49
  191. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.d.ts.map +0 -1
  192. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.js +0 -353
  193. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.js.map +0 -1
  194. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.d.ts +0 -23
  195. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.d.ts.map +0 -1
  196. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.js +0 -87
  197. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.js.map +0 -1
  198. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.d.ts +0 -22
  199. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.d.ts.map +0 -1
  200. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.js +0 -108
  201. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.js.map +0 -1
  202. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.d.ts +0 -32
  203. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.d.ts.map +0 -1
  204. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.js +0 -158
  205. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.js.map +0 -1
  206. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.d.ts +0 -20
  207. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.d.ts.map +0 -1
  208. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.js +0 -100
  209. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.js.map +0 -1
  210. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.d.ts +0 -60
  211. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.d.ts.map +0 -1
  212. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.js +0 -308
  213. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.js.map +0 -1
  214. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.d.ts +0 -40
  215. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.d.ts.map +0 -1
  216. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.js +0 -162
  217. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.js.map +0 -1
  218. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.d.ts +0 -25
  219. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.d.ts.map +0 -1
  220. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.js +0 -145
  221. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.js.map +0 -1
  222. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.d.ts +0 -48
  223. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.d.ts.map +0 -1
  224. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.js +0 -161
  225. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.js.map +0 -1
  226. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.d.ts +0 -21
  227. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.d.ts.map +0 -1
  228. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.js +0 -23
  229. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.js.map +0 -1
  230. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/INavigationClient.d.ts +0 -17
  231. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/INavigationClient.d.ts.map +0 -1
  232. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.d.ts +0 -23
  233. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.d.ts.map +0 -1
  234. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.js +0 -48
  235. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.js.map +0 -1
  236. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationOptions.d.ts +0 -13
  237. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationOptions.d.ts.map +0 -1
  238. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.d.ts +0 -27
  239. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.d.ts.map +0 -1
  240. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.js +0 -138
  241. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.js.map +0 -1
  242. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.d.ts +0 -41
  243. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.d.ts.map +0 -1
  244. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.js +0 -138
  245. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.js.map +0 -1
  246. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.d.ts +0 -3
  247. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.d.ts.map +0 -1
  248. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.js +0 -8
  249. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.js.map +0 -1
  250. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationCodeRequest.d.ts +0 -9
  251. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationCodeRequest.d.ts.map +0 -1
  252. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationUrlRequest.d.ts +0 -9
  253. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationUrlRequest.d.ts.map +0 -1
  254. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionPopupRequest.d.ts +0 -19
  255. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionPopupRequest.d.ts.map +0 -1
  256. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionRequest.d.ts +0 -16
  257. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionRequest.d.ts.map +0 -1
  258. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupRequest.d.ts +0 -33
  259. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupRequest.d.ts.map +0 -1
  260. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupWindowAttributes.d.ts +0 -16
  261. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupWindowAttributes.d.ts.map +0 -1
  262. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/RedirectRequest.d.ts +0 -34
  263. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/RedirectRequest.d.ts.map +0 -1
  264. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SilentRequest.d.ts +0 -31
  265. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SilentRequest.d.ts.map +0 -1
  266. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SsoSilentRequest.d.ts +0 -27
  267. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SsoSilentRequest.d.ts.map +0 -1
  268. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.d.ts +0 -37
  269. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.d.ts.map +0 -1
  270. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.js +0 -108
  271. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.js.map +0 -1
  272. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.d.ts +0 -13
  273. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.d.ts.map +0 -1
  274. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.js +0 -66
  275. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.js.map +0 -1
  276. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.d.ts +0 -163
  277. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.d.ts.map +0 -1
  278. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.js +0 -216
  279. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.js.map +0 -1
  280. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.d.ts +0 -19
  281. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.d.ts.map +0 -1
  282. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.js +0 -44
  283. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.js.map +0 -1
  284. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.d.ts +0 -27
  285. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.d.ts.map +0 -1
  286. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.js +0 -122
  287. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.js.map +0 -1
  288. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.d.ts +0 -66
  289. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.d.ts.map +0 -1
  290. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.js +0 -147
  291. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.js.map +0 -1
  292. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.d.ts +0 -12
  293. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.d.ts.map +0 -1
  294. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.js +0 -29
  295. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.js.map +0 -1
  296. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/_virtual/_tslib.js +0 -90
  297. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/_virtual/_tslib.js.map +0 -1
  298. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AccountInfo.d.ts +0 -32
  299. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AccountInfo.d.ts.map +0 -1
  300. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.d.ts +0 -21
  301. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.d.ts.map +0 -1
  302. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.js +0 -57
  303. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.js.map +0 -1
  304. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.d.ts +0 -9
  305. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.d.ts.map +0 -1
  306. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.js +0 -14
  307. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.js.map +0 -1
  308. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientCredentials.d.ts +0 -15
  309. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientCredentials.d.ts.map +0 -1
  310. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.d.ts +0 -20
  311. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.d.ts.map +0 -1
  312. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.js +0 -44
  313. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.js.map +0 -1
  314. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/DecodedAuthToken.d.ts +0 -9
  315. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/DecodedAuthToken.d.ts.map +0 -1
  316. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/TokenClaims.d.ts +0 -61
  317. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/TokenClaims.d.ts.map +0 -1
  318. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.d.ts +0 -202
  319. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.d.ts.map +0 -1
  320. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.js +0 -688
  321. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.js.map +0 -1
  322. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +0 -29
  323. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.d.ts.map +0 -1
  324. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.js +0 -69
  325. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.js.map +0 -1
  326. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +0 -623
  327. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts.map +0 -1
  328. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.js +0 -12
  329. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.js.map +0 -1
  330. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.d.ts +0 -19
  331. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.d.ts.map +0 -1
  332. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.js +0 -24
  333. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.js.map +0 -1
  334. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.d.ts +0 -9
  335. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.d.ts.map +0 -1
  336. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.js +0 -18
  337. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.js.map +0 -1
  338. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegion.d.ts +0 -2
  339. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegion.d.ts.map +0 -1
  340. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts +0 -6
  341. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts.map +0 -1
  342. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts +0 -6
  343. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts.map +0 -1
  344. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts +0 -10
  345. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -1
  346. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js +0 -13
  347. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js.map +0 -1
  348. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ImdsOptions.d.ts +0 -7
  349. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ImdsOptions.d.ts.map +0 -1
  350. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts +0 -12
  351. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts.map +0 -1
  352. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.js +0 -15
  353. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.js.map +0 -1
  354. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.d.ts +0 -8
  355. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.d.ts.map +0 -1
  356. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.js +0 -17
  357. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.js.map +0 -1
  358. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +0 -28
  359. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.d.ts.map +0 -1
  360. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.js +0 -127
  361. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.js.map +0 -1
  362. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts +0 -7
  363. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts.map +0 -1
  364. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.d.ts +0 -393
  365. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.d.ts.map +0 -1
  366. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.js +0 -890
  367. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.js.map +0 -1
  368. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts +0 -57
  369. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts.map +0 -1
  370. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js +0 -124
  371. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js.map +0 -1
  372. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +0 -100
  373. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts.map +0 -1
  374. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.js +0 -247
  375. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.js.map +0 -1
  376. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts +0 -40
  377. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts.map +0 -1
  378. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js +0 -74
  379. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js.map +0 -1
  380. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts +0 -48
  381. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -1
  382. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js +0 -82
  383. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js.map +0 -1
  384. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts +0 -14
  385. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts.map +0 -1
  386. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.js +0 -19
  387. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.js.map +0 -1
  388. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts +0 -94
  389. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts.map +0 -1
  390. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.js +0 -164
  391. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.js.map +0 -1
  392. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts +0 -35
  393. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts.map +0 -1
  394. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.js +0 -70
  395. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.js.map +0 -1
  396. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts +0 -37
  397. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts.map +0 -1
  398. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js +0 -73
  399. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js.map +0 -1
  400. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts +0 -13
  401. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts.map +0 -1
  402. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js +0 -35
  403. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js.map +0 -1
  404. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts +0 -14
  405. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts.map +0 -1
  406. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js +0 -32
  407. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js.map +0 -1
  408. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts +0 -157
  409. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts.map +0 -1
  410. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts +0 -6
  411. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts.map +0 -1
  412. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts +0 -5
  413. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts.map +0 -1
  414. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts +0 -24
  415. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts.map +0 -1
  416. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js +0 -39
  417. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js.map +0 -1
  418. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts +0 -60
  419. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts.map +0 -1
  420. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts +0 -76
  421. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map +0 -1
  422. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.js +0 -470
  423. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.js.map +0 -1
  424. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.d.ts +0 -45
  425. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.d.ts.map +0 -1
  426. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.js +0 -103
  427. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.js.map +0 -1
  428. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.d.ts +0 -39
  429. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.d.ts.map +0 -1
  430. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.js +0 -202
  431. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.js.map +0 -1
  432. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.d.ts +0 -52
  433. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.d.ts.map +0 -1
  434. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.js +0 -232
  435. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.js.map +0 -1
  436. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts +0 -51
  437. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts.map +0 -1
  438. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.js +0 -244
  439. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.js.map +0 -1
  440. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.d.ts +0 -40
  441. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map +0 -1
  442. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.js +0 -284
  443. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.js.map +0 -1
  444. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.d.ts +0 -25
  445. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map +0 -1
  446. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.js +0 -136
  447. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.js.map +0 -1
  448. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts +0 -29
  449. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts.map +0 -1
  450. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.js +0 -120
  451. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.js.map +0 -1
  452. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/AppTokenProvider.d.ts +0 -39
  453. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/AppTokenProvider.d.ts.map +0 -1
  454. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.d.ts +0 -135
  455. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.d.ts.map +0 -1
  456. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.js +0 -105
  457. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.js.map +0 -1
  458. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.d.ts +0 -63
  459. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.d.ts.map +0 -1
  460. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.js +0 -80
  461. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.js.map +0 -1
  462. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts +0 -5
  463. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts.map +0 -1
  464. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.d.ts +0 -22
  465. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.d.ts.map +0 -1
  466. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.js +0 -45
  467. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.js.map +0 -1
  468. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +0 -56
  469. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts.map +0 -1
  470. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.js +0 -107
  471. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.js.map +0 -1
  472. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts +0 -12
  473. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts.map +0 -1
  474. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.d.ts +0 -48
  475. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.d.ts.map +0 -1
  476. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.js +0 -61
  477. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.js.map +0 -1
  478. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.d.ts +0 -389
  479. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.d.ts.map +0 -1
  480. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.js +0 -500
  481. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.js.map +0 -1
  482. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.d.ts +0 -199
  483. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.d.ts.map +0 -1
  484. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.js +0 -260
  485. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.js.map +0 -1
  486. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts +0 -42
  487. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts.map +0 -1
  488. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.js +0 -80
  489. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.js.map +0 -1
  490. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.d.ts +0 -29
  491. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.d.ts.map +0 -1
  492. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.js +0 -50
  493. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.js.map +0 -1
  494. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.d.ts +0 -8
  495. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.d.ts.map +0 -1
  496. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.js +0 -25
  497. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.js.map +0 -1
  498. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.cjs.js +0 -8611
  499. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.cjs.js.map +0 -1
  500. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.d.ts +0 -92
  501. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.d.ts.map +0 -1
  502. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.js +0 -55
  503. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.js.map +0 -1
  504. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.d.ts +0 -95
  505. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.d.ts.map +0 -1
  506. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.js +0 -185
  507. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.js.map +0 -1
  508. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.d.ts +0 -31
  509. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.d.ts.map +0 -1
  510. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.js +0 -21
  511. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.js.map +0 -1
  512. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.d.ts +0 -21
  513. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.d.ts.map +0 -1
  514. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.js +0 -56
  515. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.js.map +0 -1
  516. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/RequestThumbprint.d.ts +0 -17
  517. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/RequestThumbprint.d.ts.map +0 -1
  518. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.d.ts +0 -42
  519. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.d.ts.map +0 -1
  520. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.js +0 -101
  521. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.js.map +0 -1
  522. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.d.ts +0 -3
  523. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.d.ts.map +0 -1
  524. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.js +0 -8
  525. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.js.map +0 -1
  526. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts +0 -20
  527. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts.map +0 -1
  528. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.js +0 -64
  529. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.js.map +0 -1
  530. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/BaseAuthRequest.d.ts +0 -35
  531. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/BaseAuthRequest.d.ts.map +0 -1
  532. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts +0 -28
  533. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts.map +0 -1
  534. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts +0 -52
  535. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts.map +0 -1
  536. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts +0 -17
  537. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts.map +0 -1
  538. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts +0 -19
  539. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts.map +0 -1
  540. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts +0 -21
  541. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts.map +0 -1
  542. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts +0 -13
  543. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
  544. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts +0 -21
  545. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts.map +0 -1
  546. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts +0 -20
  547. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts.map +0 -1
  548. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts +0 -17
  549. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
  550. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts +0 -217
  551. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts.map +0 -1
  552. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.js +0 -387
  553. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.js.map +0 -1
  554. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.d.ts +0 -34
  555. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.d.ts.map +0 -1
  556. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.js +0 -92
  557. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.js.map +0 -1
  558. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.d.ts +0 -83
  559. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.d.ts.map +0 -1
  560. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.js +0 -192
  561. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.js.map +0 -1
  562. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthenticationResult.d.ts +0 -40
  563. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthenticationResult.d.ts.map +0 -1
  564. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts +0 -14
  565. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts.map +0 -1
  566. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts +0 -26
  567. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts.map +0 -1
  568. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts +0 -16
  569. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts.map +0 -1
  570. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/IMDSBadResponse.d.ts +0 -5
  571. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/IMDSBadResponse.d.ts.map +0 -1
  572. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.d.ts +0 -71
  573. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.d.ts.map +0 -1
  574. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.js +0 -302
  575. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.js.map +0 -1
  576. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts +0 -22
  577. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts.map +0 -1
  578. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts +0 -43
  579. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts.map +0 -1
  580. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +0 -22
  581. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts.map +0 -1
  582. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts +0 -6
  583. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -1
  584. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +0 -125
  585. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts.map +0 -1
  586. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js +0 -284
  587. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js.map +0 -1
  588. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts +0 -275
  589. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts.map +0 -1
  590. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js +0 -128
  591. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js.map +0 -1
  592. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts +0 -13
  593. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts.map +0 -1
  594. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js +0 -37
  595. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js.map +0 -1
  596. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +0 -67
  597. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts.map +0 -1
  598. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js +0 -168
  599. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js.map +0 -1
  600. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts +0 -9
  601. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -1
  602. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/IUri.d.ts +0 -13
  603. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/IUri.d.ts.map +0 -1
  604. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.d.ts +0 -71
  605. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.d.ts.map +0 -1
  606. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.js +0 -241
  607. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.js.map +0 -1
  608. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.d.ts +0 -345
  609. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.d.ts.map +0 -1
  610. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.js +0 -386
  611. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.js.map +0 -1
  612. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/MsalTypes.d.ts +0 -7
  613. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/MsalTypes.d.ts.map +0 -1
  614. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.d.ts +0 -43
  615. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.d.ts.map +0 -1
  616. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.js +0 -77
  617. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.js.map +0 -1
  618. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.d.ts +0 -54
  619. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.d.ts.map +0 -1
  620. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.js +0 -129
  621. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.js.map +0 -1
  622. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.d.ts +0 -28
  623. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.d.ts.map +0 -1
  624. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.js +0 -53
  625. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.js.map +0 -1
  626. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/ITokenCache.d.ts +0 -16
  627. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/ITokenCache.d.ts.map +0 -1
  628. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/NodeStorage.d.ts +0 -181
  629. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/NodeStorage.d.ts.map +0 -1
  630. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/TokenCache.d.ts +0 -91
  631. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/TokenCache.d.ts.map +0 -1
  632. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/DistributedCachePlugin.d.ts +0 -11
  633. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/DistributedCachePlugin.d.ts.map +0 -1
  634. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/ICacheClient.d.ts +0 -18
  635. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/ICacheClient.d.ts.map +0 -1
  636. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/IPartitionManager.d.ts +0 -33
  637. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/IPartitionManager.d.ts.map +0 -1
  638. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Deserializer.d.ts +0 -43
  639. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Deserializer.d.ts.map +0 -1
  640. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Serializer.d.ts +0 -40
  641. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Serializer.d.ts.map +0 -1
  642. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/SerializerTypes.d.ts +0 -102
  643. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/SerializerTypes.d.ts.map +0 -1
  644. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientApplication.d.ts +0 -143
  645. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientApplication.d.ts.map +0 -1
  646. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientAssertion.d.ts +0 -47
  647. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientAssertion.d.ts.map +0 -1
  648. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ConfidentialClientApplication.d.ts +0 -59
  649. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ConfidentialClientApplication.d.ts.map +0 -1
  650. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IConfidentialClientApplication.d.ts +0 -40
  651. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IConfidentialClientApplication.d.ts.map +0 -1
  652. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IPublicClientApplication.d.ts +0 -38
  653. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IPublicClientApplication.d.ts.map +0 -1
  654. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/PublicClientApplication.d.ts +0 -46
  655. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/PublicClientApplication.d.ts.map +0 -1
  656. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/config/Configuration.d.ts +0 -91
  657. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/config/Configuration.d.ts.map +0 -1
  658. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/CryptoProvider.d.ts +0 -53
  659. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/CryptoProvider.d.ts.map +0 -1
  660. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/GuidGenerator.d.ts +0 -15
  661. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/GuidGenerator.d.ts.map +0 -1
  662. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/HashUtils.d.ts +0 -9
  663. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/HashUtils.d.ts.map +0 -1
  664. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/PkceGenerator.d.ts +0 -23
  665. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/PkceGenerator.d.ts.map +0 -1
  666. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/error/NodeAuthError.d.ts +0 -66
  667. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/error/NodeAuthError.d.ts.map +0 -1
  668. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.d.ts +0 -31
  669. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.d.ts.map +0 -1
  670. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.js +0 -8
  671. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.development.js +0 -2581
  672. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.development.js.map +0 -1
  673. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.production.min.js +0 -2
  674. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.production.min.js.map +0 -1
  675. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.esm.js +0 -2470
  676. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.esm.js.map +0 -1
  677. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/HttpClient.d.ts +0 -25
  678. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/HttpClient.d.ts.map +0 -1
  679. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/LoopbackClient.d.ts +0 -21
  680. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/LoopbackClient.d.ts.map +0 -1
  681. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/packageMetadata.d.ts +0 -3
  682. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/packageMetadata.d.ts.map +0 -1
  683. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationCodeRequest.d.ts +0 -22
  684. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationCodeRequest.d.ts.map +0 -1
  685. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationUrlRequest.d.ts +0 -34
  686. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationUrlRequest.d.ts.map +0 -1
  687. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/ClientCredentialRequest.d.ts +0 -16
  688. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/ClientCredentialRequest.d.ts.map +0 -1
  689. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/DeviceCodeRequest.d.ts +0 -16
  690. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/DeviceCodeRequest.d.ts.map +0 -1
  691. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/InteractiveRequest.d.ts +0 -8
  692. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/InteractiveRequest.d.ts.map +0 -1
  693. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/OnBehalfOfRequest.d.ts +0 -15
  694. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/OnBehalfOfRequest.d.ts.map +0 -1
  695. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/RefreshTokenRequest.d.ts +0 -18
  696. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/RefreshTokenRequest.d.ts.map +0 -1
  697. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/SilentFlowRequest.d.ts +0 -17
  698. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/SilentFlowRequest.d.ts.map +0 -1
  699. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/UsernamePasswordRequest.d.ts +0 -20
  700. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/UsernamePasswordRequest.d.ts.map +0 -1
  701. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/Constants.d.ts +0 -93
  702. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/Constants.d.ts.map +0 -1
  703. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/EncodingUtils.d.ts +0 -27
  704. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/EncodingUtils.d.ts.map +0 -1
  705. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/NetworkUtils.d.ts +0 -5
  706. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/NetworkUtils.d.ts.map +0 -1
  707. package/common/temp/rush-recycler/install-run-1678274025679/@azure/storage-blob/dist/index.js +0 -25339
  708. package/common/temp/rush-recycler/install-run-1678274025679/@azure/storage-blob/dist/index.js.map +0 -1
  709. package/common/temp/rush-recycler/install-run-1678274025679/@microsoft/rush-lib/dist/rush-lib.d.ts +0 -3652
  710. package/common/temp/rush-recycler/install-run-1678274025679/@microsoft/rush-lib/dist/tsdoc-metadata.json +0 -11
  711. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/heft-config-file/dist/heft-config-file.d.ts +0 -254
  712. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/heft-config-file/dist/tsdoc-metadata.json +0 -11
  713. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/node-core-library/dist/node-core-library.d.ts +0 -3717
  714. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/node-core-library/dist/tsdoc-metadata.json +0 -11
  715. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/package-deps-hash/dist/package-deps-hash.d.ts +0 -80
  716. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/package-deps-hash/dist/tsdoc-metadata.json +0 -11
  717. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rig-package/dist/rig-package.d.ts +0 -198
  718. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rig-package/dist/tsdoc-metadata.json +0 -11
  719. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-amazon-s3-build-cache-plugin/dist/rush-amazon-s3-build-cache-plugin.d.ts +0 -150
  720. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-azure-storage-build-cache-plugin/dist/rush-azure-storage-build-cache-plugin.d.ts +0 -93
  721. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-sdk/dist/rush-lib.d.ts +0 -3652
  722. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/stream-collator/dist/stream-collator.d.ts +0 -124
  723. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/stream-collator/dist/tsdoc-metadata.json +0 -11
  724. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/terminal/dist/terminal.d.ts +0 -743
  725. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/terminal/dist/tsdoc-metadata.json +0 -11
  726. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/ts-command-line/dist/ts-command-line.d.ts +0 -998
  727. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/ts-command-line/dist/tsdoc-metadata.json +0 -11
  728. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.d.ts +0 -7
  729. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.js +0 -24
  730. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.js.map +0 -1
  731. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.d.ts +0 -231
  732. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.js +0 -3
  733. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.js.map +0 -1
  734. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.d.ts +0 -17
  735. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.js +0 -3
  736. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.js.map +0 -1
  737. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.d.ts +0 -78
  738. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.js +0 -203
  739. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.js.map +0 -1
  740. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.d.ts +0 -4
  741. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.js +0 -18
  742. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.js.map +0 -1
  743. package/common/temp/rush-recycler/install-run-1678274025679/esprima/dist/esprima.js +0 -6709
  744. package/common/temp/rush-recycler/install-run-1678274025679/form-data/README.md.bak +0 -358
  745. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.d.ts +0 -32
  746. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.js +0 -145
  747. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.js.map +0 -1
  748. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.d.ts +0 -21
  749. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.js +0 -14
  750. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.js.map +0 -1
  751. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.d.ts +0 -30
  752. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.js +0 -177
  753. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.js.map +0 -1
  754. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.d.ts +0 -23
  755. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.js +0 -14
  756. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.js.map +0 -1
  757. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
  758. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.js +0 -66
  759. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
  760. package/common/temp/rush-recycler/install-run-1678274025679/immediate/dist/immediate.js +0 -75
  761. package/common/temp/rush-recycler/install-run-1678274025679/immediate/dist/immediate.min.js +0 -1
  762. package/common/temp/rush-recycler/install-run-1678274025679/js-yaml/dist/js-yaml.js +0 -3946
  763. package/common/temp/rush-recycler/install-run-1678274025679/js-yaml/dist/js-yaml.min.js +0 -1
  764. package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.js +0 -1737
  765. package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.min.js +0 -1
  766. package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.min.mjs +0 -1
  767. package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.mjs +0 -1426
  768. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.js +0 -1062
  769. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.min.js +0 -2
  770. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.min.js.map +0 -1
  771. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.js +0 -1072
  772. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.min.js +0 -2
  773. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.min.js.map +0 -1
  774. package/common/temp/rush-recycler/install-run-1678274025679/jszip/dist/jszip.js +0 -11370
  775. package/common/temp/rush-recycler/install-run-1678274025679/jszip/dist/jszip.min.js +0 -13
  776. package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.js +0 -350
  777. package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.min.js +0 -1
  778. package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.polyfill.js +0 -358
  779. package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.polyfill.min.js +0 -1
  780. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako.js +0 -6818
  781. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako.min.js +0 -1
  782. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_deflate.js +0 -3997
  783. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_deflate.min.js +0 -1
  784. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_inflate.js +0 -3300
  785. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_inflate.min.js +0 -1
  786. package/common/temp/rush-recycler/install-run-1678274025679/psl/dist/psl.js +0 -10187
  787. package/common/temp/rush-recycler/install-run-1678274025679/psl/dist/psl.min.js +0 -1
  788. package/common/temp/rush-recycler/install-run-1678274025679/ramda/dist/ramda.js +0 -9716
  789. package/common/temp/rush-recycler/install-run-1678274025679/ramda/dist/ramda.min.js +0 -1
  790. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.js +0 -4
  791. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.js.map +0 -1
  792. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.map +0 -1
  793. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.js +0 -4
  794. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.js.map +0 -1
  795. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.map +0 -1
  796. package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/encodings.xml +0 -6
  797. package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/modules.xml +0 -8
  798. package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/node-tunnel.iml +0 -12
  799. package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/vcs.xml +0 -6
  800. package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/workspace.xml +0 -797
  801. package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.js +0 -755
  802. package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.min.js +0 -1
  803. package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.min.js.map +0 -1
  804. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/bin/uuid +0 -2
  805. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/index.js +0 -9
  806. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/md5.js +0 -215
  807. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/nil.js +0 -1
  808. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/parse.js +0 -35
  809. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/regex.js +0 -1
  810. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/rng.js +0 -19
  811. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/sha1.js +0 -96
  812. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/stringify.js +0 -30
  813. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v1.js +0 -95
  814. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v3.js +0 -4
  815. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v35.js +0 -64
  816. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v4.js +0 -24
  817. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v5.js +0 -4
  818. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/validate.js +0 -7
  819. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/version.js +0 -11
  820. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/index.js +0 -9
  821. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/md5.js +0 -13
  822. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/nil.js +0 -1
  823. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/parse.js +0 -35
  824. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/regex.js +0 -1
  825. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/rng.js +0 -12
  826. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/sha1.js +0 -13
  827. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/stringify.js +0 -29
  828. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v1.js +0 -95
  829. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v3.js +0 -4
  830. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v35.js +0 -64
  831. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v4.js +0 -24
  832. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v5.js +0 -4
  833. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/validate.js +0 -7
  834. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/version.js +0 -11
  835. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/index.js +0 -79
  836. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/md5-browser.js +0 -223
  837. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/md5.js +0 -23
  838. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/nil.js +0 -8
  839. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/parse.js +0 -45
  840. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/regex.js +0 -8
  841. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/rng-browser.js +0 -26
  842. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/rng.js +0 -24
  843. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/sha1-browser.js +0 -104
  844. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/sha1.js +0 -23
  845. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/stringify.js +0 -39
  846. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuid.min.js +0 -1
  847. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidNIL.min.js +0 -1
  848. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidParse.min.js +0 -1
  849. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidStringify.min.js +0 -1
  850. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidValidate.min.js +0 -1
  851. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidVersion.min.js +0 -1
  852. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv1.min.js +0 -1
  853. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv3.min.js +0 -1
  854. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv4.min.js +0 -1
  855. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv5.min.js +0 -1
  856. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/uuid-bin.js +0 -85
  857. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v1.js +0 -107
  858. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v3.js +0 -16
  859. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v35.js +0 -78
  860. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v4.js +0 -37
  861. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v5.js +0 -16
  862. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/validate.js +0 -17
  863. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/version.js +0 -21
  864. package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-min.js +0 -2
  865. package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-min.js.map +0 -1
  866. package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-test.js +0 -30407
  867. package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser.js +0 -12901
@@ -1,3717 +0,0 @@
1
- /**
2
- * Core libraries that every NodeJS toolchain project should use.
3
- *
4
- * @packageDocumentation
5
- */
6
-
7
- /// <reference types="node" />
8
-
9
- import * as child_process from 'child_process';
10
- import * as fs from 'fs';
11
-
12
- /**
13
- * Specifies the behavior of APIs such as {@link FileSystem.copyFile} or
14
- * {@link FileSystem.createSymbolicLinkFile} when the output file path already exists.
15
- *
16
- * @remarks
17
- * For {@link FileSystem.copyFile} and related APIs, the "output file path" is
18
- * {@link IFileSystemCopyFileOptions.destinationPath}.
19
- *
20
- * For {@link FileSystem.createSymbolicLinkFile} and related APIs, the "output file path" is
21
- * {@link IFileSystemCreateLinkOptions.newLinkPath}.
22
- *
23
- * @public
24
- */
25
- export declare enum AlreadyExistsBehavior {
26
- /**
27
- * If the output file path already exists, try to overwrite the existing object.
28
- *
29
- * @remarks
30
- * If overwriting the object would require recursively deleting a folder tree,
31
- * then the operation will fail. As an example, suppose {@link FileSystem.copyFile}
32
- * is copying a single file `/a/b/c` to the destination path `/d/e`, and `/d/e` is a
33
- * nonempty folder. In this situation, an error will be reported; specifying
34
- * `AlreadyExistsBehavior.Overwrite` does not help. Empty folders can be overwritten
35
- * depending on the details of the implementation.
36
- */
37
- Overwrite = "overwrite",
38
- /**
39
- * If the output file path already exists, the operation will fail, and an error
40
- * will be reported.
41
- */
42
- Error = "error",
43
- /**
44
- * If the output file path already exists, skip this item, and continue the operation.
45
- */
46
- Ignore = "ignore"
47
- }
48
-
49
- /**
50
- * This exception can be thrown to indicate that an operation failed and an error message has already
51
- * been reported appropriately. Thus, the catch handler does not have responsibility for reporting
52
- * the error.
53
- *
54
- * @remarks
55
- * For example, suppose a tool writes interactive output to `console.log()`. When an exception is thrown,
56
- * the `catch` handler will typically provide simplistic reporting such as this:
57
- *
58
- * ```ts
59
- * catch (error) {
60
- * console.log("ERROR: " + error.message);
61
- * }
62
- * ```
63
- *
64
- * Suppose that the code performing the operation normally prints rich output to the console. It may be able to
65
- * present an error message more nicely (for example, as part of a table, or structured log format). Throwing
66
- * `AlreadyReportedError` provides a way to use exception handling to abort the operation, but instruct the `catch`
67
- * handler not to print an error a second time:
68
- *
69
- * ```ts
70
- * catch (error) {
71
- * if (error instanceof AlreadyReportedError) {
72
- * return;
73
- * }
74
- * console.log("ERROR: " + error.message);
75
- * }
76
- * ```
77
- *
78
- * @public
79
- */
80
- export declare class AlreadyReportedError extends Error {
81
- constructor();
82
- static [Symbol.hasInstance](instance: object): boolean;
83
- }
84
-
85
- /**
86
- * Operations for working with text strings that contain
87
- * {@link https://en.wikipedia.org/wiki/ANSI_escape_code | ANSI escape codes}.
88
- * The most commonly used escape codes set the foreground/background color for console output.
89
- * @public
90
- */
91
- export declare class AnsiEscape {
92
- private static readonly _csiRegExp;
93
- private static readonly _sgrRegExp;
94
- private static readonly _backslashNRegExp;
95
- private static readonly _backslashRRegExp;
96
- /**
97
- * Returns the input text with all ANSI escape codes removed. For example, this is useful when saving
98
- * colorized console output to a log file.
99
- */
100
- static removeCodes(text: string): string;
101
- /**
102
- * Replaces ANSI escape codes with human-readable tokens. This is useful for unit tests
103
- * that compare text strings in test assertions or snapshot files.
104
- */
105
- static formatForTests(text: string, options?: IAnsiEscapeConvertForTestsOptions): string;
106
- private static _tryGetSgrFriendlyName;
107
- }
108
-
109
- /**
110
- * Utilities for parallel asynchronous operations, for use with the system `Promise` APIs.
111
- *
112
- * @beta
113
- */
114
- export declare class Async {
115
- /**
116
- * Given an input array and a `callback` function, invoke the callback to start a
117
- * promise for each element in the array. Returns an array containing the results.
118
- *
119
- * @remarks
120
- * This API is similar to the system `Array#map`, except that the loop is asynchronous,
121
- * and the maximum number of concurrent promises can be throttled
122
- * using {@link IAsyncParallelismOptions.concurrency}.
123
- *
124
- * If `callback` throws a synchronous exception, or if it returns a promise that rejects,
125
- * then the loop stops immediately. Any remaining array items will be skipped, and
126
- * overall operation will reject with the first error that was encountered.
127
- *
128
- * @param iterable - the array of inputs for the callback function
129
- * @param callback - a function that starts an asynchronous promise for an element
130
- * from the array
131
- * @param options - options for customizing the control flow
132
- * @returns an array containing the result for each callback, in the same order
133
- * as the original input `array`
134
- */
135
- static mapAsync<TEntry, TRetVal>(iterable: Iterable<TEntry> | AsyncIterable<TEntry>, callback: (entry: TEntry, arrayIndex: number) => Promise<TRetVal>, options?: IAsyncParallelismOptions | undefined): Promise<TRetVal[]>;
136
- /**
137
- * Given an input array and a `callback` function, invoke the callback to start a
138
- * promise for each element in the array.
139
- *
140
- * @remarks
141
- * This API is similar to the system `Array#forEach`, except that the loop is asynchronous,
142
- * and the maximum number of concurrent promises can be throttled
143
- * using {@link IAsyncParallelismOptions.concurrency}.
144
- *
145
- * If `callback` throws a synchronous exception, or if it returns a promise that rejects,
146
- * then the loop stops immediately. Any remaining array items will be skipped, and
147
- * overall operation will reject with the first error that was encountered.
148
- *
149
- * @param iterable - the array of inputs for the callback function
150
- * @param callback - a function that starts an asynchronous promise for an element
151
- * from the array
152
- * @param options - options for customizing the control flow
153
- */
154
- static forEachAsync<TEntry>(iterable: Iterable<TEntry> | AsyncIterable<TEntry>, callback: (entry: TEntry, arrayIndex: number) => Promise<void>, options?: IAsyncParallelismOptions | undefined): Promise<void>;
155
- /**
156
- * Return a promise that resolves after the specified number of milliseconds.
157
- */
158
- static sleep(ms: number): Promise<void>;
159
- /**
160
- * Executes an async function and optionally retries it if it fails.
161
- */
162
- static runWithRetriesAsync<TResult>({ action, maxRetries, retryDelayMs }: IRunWithRetriesOptions<TResult>): Promise<TResult>;
163
- }
164
-
165
- /**
166
- * A "branded type" is a primitive type with a compile-type key that makes it incompatible with other
167
- * aliases for the primitive type.
168
- *
169
- * @remarks
170
- *
171
- * Example usage:
172
- *
173
- * ```ts
174
- * // PhoneNumber is a branded type based on the "string" primitive.
175
- * type PhoneNumber = Brand<string, 'PhoneNumber'>;
176
- *
177
- * function createPhoneNumber(input: string): PhoneNumber {
178
- * if (!/\d+(\-\d+)+/.test(input)) {
179
- * throw new Error('Invalid phone number: ' + JSON.stringify(input));
180
- * }
181
- * return input as PhoneNumber;
182
- * }
183
- *
184
- * const p1: PhoneNumber = createPhoneNumber('123-456-7890');
185
- *
186
- * // PhoneNumber is a string and can be used as one:
187
- * const p2: string = p1;
188
- *
189
- * // But an arbitrary string cannot be implicitly type cast as PhoneNumber.
190
- * // ERROR: Type 'string' is not assignable to type 'PhoneNumber'
191
- * const p3: PhoneNumber = '123-456-7890';
192
- * ```
193
- *
194
- * For more information about this pattern, see {@link
195
- * https://github.com/Microsoft/TypeScript/blob/7b48a182c05ea4dea81bab73ecbbe9e013a79e99/src/compiler/types.ts#L693-L698
196
- * | this comment} explaining the TypeScript compiler's introduction of this pattern, and
197
- * {@link https://spin.atomicobject.com/2018/01/15/typescript-flexible-nominal-typing/ | this article}
198
- * explaining the technique in depth.
199
- *
200
- * @public
201
- */
202
- export declare type Brand<T, BrandTag extends string> = T & {
203
- __brand: BrandTag;
204
- };
205
-
206
- /**
207
- * The static functions on this class are used to produce colored text
208
- * for use with the node-core-library terminal.
209
- *
210
- * @example
211
- * terminal.writeLine(Colors.green('Green Text!'), ' ', Colors.blue('Blue Text!'));
212
- *
213
- * @beta
214
- */
215
- export declare class Colors {
216
- static black(text: string | IColorableSequence): IColorableSequence;
217
- static red(text: string | IColorableSequence): IColorableSequence;
218
- static green(text: string | IColorableSequence): IColorableSequence;
219
- static yellow(text: string | IColorableSequence): IColorableSequence;
220
- static blue(text: string | IColorableSequence): IColorableSequence;
221
- static magenta(text: string | IColorableSequence): IColorableSequence;
222
- static cyan(text: string | IColorableSequence): IColorableSequence;
223
- static white(text: string | IColorableSequence): IColorableSequence;
224
- static gray(text: string | IColorableSequence): IColorableSequence;
225
- static blackBackground(text: string | IColorableSequence): IColorableSequence;
226
- static redBackground(text: string | IColorableSequence): IColorableSequence;
227
- static greenBackground(text: string | IColorableSequence): IColorableSequence;
228
- static yellowBackground(text: string | IColorableSequence): IColorableSequence;
229
- static blueBackground(text: string | IColorableSequence): IColorableSequence;
230
- static magentaBackground(text: string | IColorableSequence): IColorableSequence;
231
- static cyanBackground(text: string | IColorableSequence): IColorableSequence;
232
- static whiteBackground(text: string | IColorableSequence): IColorableSequence;
233
- static grayBackground(text: string | IColorableSequence): IColorableSequence;
234
- static bold(text: string | IColorableSequence): IColorableSequence;
235
- static dim(text: string | IColorableSequence): IColorableSequence;
236
- static underline(text: string | IColorableSequence): IColorableSequence;
237
- static blink(text: string | IColorableSequence): IColorableSequence;
238
- static invertColor(text: string | IColorableSequence): IColorableSequence;
239
- static hidden(text: string | IColorableSequence): IColorableSequence;
240
- /**
241
- * If called with a string, returns the string wrapped in a {@link IColorableSequence}.
242
- * If called with a {@link IColorableSequence}, returns the {@link IColorableSequence}.
243
- *
244
- * @internal
245
- */
246
- static _normalizeStringOrColorableSequence(value: string | IColorableSequence): IColorableSequence;
247
- private static _applyTextAttribute;
248
- }
249
-
250
- /**
251
- * Colors used with {@link IColorableSequence}.
252
- * @beta
253
- */
254
- export declare enum ColorValue {
255
- Black = 0,
256
- Red = 1,
257
- Green = 2,
258
- Yellow = 3,
259
- Blue = 4,
260
- Magenta = 5,
261
- Cyan = 6,
262
- White = 7,
263
- Gray = 8
264
- }
265
-
266
- /**
267
- * Terminal provider that prints to STDOUT (for log- and verbose-level messages) and
268
- * STDERR (for warning- and error-level messsages).
269
- *
270
- * @beta
271
- */
272
- export declare class ConsoleTerminalProvider implements ITerminalProvider {
273
- /**
274
- * If true, verbose-level messages should be written to the console.
275
- */
276
- verboseEnabled: boolean;
277
- /**
278
- * If true, debug-level messages should be written to the console.
279
- */
280
- debugEnabled: boolean;
281
- constructor(options?: Partial<IConsoleTerminalProviderOptions>);
282
- /**
283
- * {@inheritDoc ITerminalProvider.write}
284
- */
285
- write(data: string, severity: TerminalProviderSeverity): void;
286
- /**
287
- * {@inheritDoc ITerminalProvider.eolCharacter}
288
- */
289
- get eolCharacter(): string;
290
- /**
291
- * {@inheritDoc ITerminalProvider.supportsColor}
292
- */
293
- get supportsColor(): boolean;
294
- }
295
-
296
- /**
297
- * The allowed types of encodings, as supported by Node.js
298
- * @public
299
- */
300
- export declare enum Encoding {
301
- Utf8 = "utf8"
302
- }
303
-
304
- /**
305
- * A helper for looking up TypeScript `enum` keys/values.
306
- *
307
- * @remarks
308
- * TypeScript enums implement a lookup table for mapping between their keys and values:
309
- *
310
- * ```ts
311
- * enum Colors {
312
- * Red = 1
313
- * }
314
- *
315
- * // Prints "Red"
316
- * console.log(Colors[1]);
317
- *
318
- * // Prints "1"
319
- * console.log(Colors["Red]);
320
- * ```
321
- *
322
- * However the compiler's "noImplicitAny" validation has trouble with these mappings, because
323
- * there are so many possible types for the map elements:
324
- *
325
- * ```ts
326
- * function f(s: string): Colors | undefined {
327
- * // (TS 7015) Element implicitly has an 'any' type because
328
- * // index expression is not of type 'number'.
329
- * return Colors[s];
330
- * }
331
- * ```
332
- *
333
- * The `Enum` helper provides a more specific, strongly typed way to access members:
334
- *
335
- * ```ts
336
- * function f(s: string): Colors | undefined {
337
- * return Enum.tryGetValueByKey(Colors, s);
338
- * }
339
- * ```
340
- *
341
- * @public
342
- */
343
- export declare class Enum {
344
- private constructor();
345
- /**
346
- * Returns an enum value, given its key. Returns `undefined` if no matching key is found.
347
- *
348
- * @example
349
- *
350
- * Example usage:
351
- * ```ts
352
- * enum Colors {
353
- * Red = 1
354
- * }
355
- *
356
- * // Prints "1"
357
- * console.log(Enum.tryGetValueByKey(Colors, "Red"));
358
- *
359
- * // Prints "undefined"
360
- * console.log(Enum.tryGetValueByKey(Colors, "Black"));
361
- * ```
362
- */
363
- static tryGetValueByKey<TEnumValue>(enumObject: {
364
- [key: string]: TEnumValue | string;
365
- [key: number]: TEnumValue | string;
366
- }, key: string): TEnumValue | undefined;
367
- /**
368
- * This API is similar to {@link Enum.tryGetValueByKey}, except that it throws an exception
369
- * if the key is undefined.
370
- */
371
- static getValueByKey<TEnumValue>(enumObject: {
372
- [key: string]: TEnumValue | string;
373
- [key: number]: TEnumValue | string;
374
- }, key: string): TEnumValue;
375
- /**
376
- * Returns an enum string key, given its numeric value. Returns `undefined` if no matching value
377
- * is found.
378
- *
379
- * @remarks
380
- * The TypeScript compiler only creates a reverse mapping for enum members whose value is numeric.
381
- * For example:
382
- *
383
- * ```ts
384
- * enum E {
385
- * A = 1,
386
- * B = 'c'
387
- * }
388
- *
389
- * // Prints "A"
390
- * console.log(E[1]);
391
- *
392
- * // Prints "undefined"
393
- * console.log(E["c"]);
394
- * ```
395
- *
396
- * @example
397
- *
398
- * Example usage:
399
- * ```ts
400
- * enum Colors {
401
- * Red = 1,
402
- * Blue = 'blue'
403
- * }
404
- *
405
- * // Prints "Red"
406
- * console.log(Enum.tryGetKeyByNumber(Colors, 1));
407
- *
408
- * // Prints "undefined"
409
- * console.log(Enum.tryGetKeyByNumber(Colors, -1));
410
- * ```
411
- */
412
- static tryGetKeyByNumber<TEnumValue, TEnumObject extends {
413
- [key: string]: TEnumValue;
414
- }>(enumObject: TEnumObject, value: number): keyof typeof enumObject | undefined;
415
- /**
416
- * This API is similar to {@link Enum.tryGetKeyByNumber}, except that it throws an exception
417
- * if the key is undefined.
418
- */
419
- static getKeyByNumber<TEnumValue, TEnumObject extends {
420
- [key: string]: TEnumValue;
421
- }>(enumObject: TEnumObject, value: number): keyof typeof enumObject;
422
- }
423
-
424
- /**
425
- * A map data structure that stores process environment variables. On Windows
426
- * operating system, the variable names are case-insensitive.
427
- * @public
428
- */
429
- export declare class EnvironmentMap {
430
- private readonly _map;
431
- /**
432
- * Whether the environment variable names are case-sensitive.
433
- *
434
- * @remarks
435
- * On Windows operating system, environment variables are case-insensitive.
436
- * The map will preserve the variable name casing from the most recent assignment operation.
437
- */
438
- readonly caseSensitive: boolean;
439
- constructor(environmentObject?: Record<string, string | undefined>);
440
- /**
441
- * Clears all entries, resulting in an empty map.
442
- */
443
- clear(): void;
444
- /**
445
- * Assigns the variable to the specified value. A previous value will be overwritten.
446
- *
447
- * @remarks
448
- * The value can be an empty string. To completely remove the entry, use
449
- * {@link EnvironmentMap.unset} instead.
450
- */
451
- set(name: string, value: string): void;
452
- /**
453
- * Removes the key from the map, if present.
454
- */
455
- unset(name: string): void;
456
- /**
457
- * Returns the value of the specified variable, or `undefined` if the map does not contain that name.
458
- */
459
- get(name: string): string | undefined;
460
- /**
461
- * Returns the map keys, which are environment variable names.
462
- */
463
- names(): IterableIterator<string>;
464
- /**
465
- * Returns the map entries.
466
- */
467
- entries(): IterableIterator<IEnvironmentEntry>;
468
- /**
469
- * Adds each entry from `environmentMap` to this map.
470
- */
471
- mergeFrom(environmentMap: EnvironmentMap): void;
472
- /**
473
- * Merges entries from a plain JavaScript object, such as would be used with the `process.env` API.
474
- */
475
- mergeFromObject(environmentObject?: Record<string, string | undefined>): void;
476
- /**
477
- * Returns the keys as a plain JavaScript object similar to the object returned by the `process.env` API.
478
- */
479
- toObject(): Record<string, string>;
480
- }
481
-
482
- /**
483
- * The Executable class provides a safe, portable, recommended solution for tools that need
484
- * to launch child processes.
485
- *
486
- * @remarks
487
- * The NodeJS child_process API provides a solution for launching child processes, however
488
- * its design encourages reliance on the operating system shell for certain features.
489
- * Invoking the OS shell is not safe, not portable, and generally not recommended:
490
- *
491
- * - Different shells have different behavior and command-line syntax, and which shell you
492
- * will get with NodeJS is unpredictable. There is no universal shell guaranteed to be
493
- * available on all platforms.
494
- *
495
- * - If a command parameter contains symbol characters, a shell may interpret them, which
496
- * can introduce a security vulnerability
497
- *
498
- * - Each shell has different rules for escaping these symbols. On Windows, the default
499
- * shell is incapable of escaping certain character sequences.
500
- *
501
- * The Executable API provides a pure JavaScript implementation of primitive shell-like
502
- * functionality for searching the default PATH, appending default file extensions on Windows,
503
- * and executing a file that may contain a POSIX shebang. This primitive functionality
504
- * is sufficient (and recommended) for most tooling scenarios.
505
- *
506
- * If you need additional shell features such as wildcard globbing, environment variable
507
- * expansion, piping, or built-in commands, then we recommend to use the `@microsoft/rushell`
508
- * library instead. Rushell is a pure JavaScript shell with a standard syntax that is
509
- * guaranteed to work consistently across all platforms.
510
- *
511
- * @public
512
- */
513
- export declare class Executable {
514
- /**
515
- * Synchronously create a child process and optionally capture its output.
516
- *
517
- * @remarks
518
- * This function is similar to child_process.spawnSync(). The main differences are:
519
- *
520
- * - It does not invoke the OS shell unless the executable file is a shell script.
521
- * - Command-line arguments containing special characters are more accurately passed
522
- * through to the child process.
523
- * - If the filename is missing a path, then the shell's default PATH will be searched.
524
- * - If the filename is missing a file extension, then Windows default file extensions
525
- * will be searched.
526
- *
527
- * @param filename - The name of the executable file. This string must not contain any
528
- * command-line arguments. If the name contains any path delimiters, then the shell's
529
- * default PATH will not be searched.
530
- * @param args - The command-line arguments to be passed to the process.
531
- * @param options - Additional options
532
- * @returns the same data type as returned by the NodeJS child_process.spawnSync() API
533
- *
534
- * @privateRemarks
535
- *
536
- * NOTE: The NodeJS spawnSync() returns SpawnSyncReturns<string> or SpawnSyncReturns<Buffer>
537
- * polymorphically based on the options.encoding parameter value. This is a fairly confusing
538
- * design. In most cases, developers want string with the default encoding. If/when someone
539
- * wants binary output or a non-default text encoding, we will introduce a separate API function
540
- * with a name like "spawnWithBufferSync".
541
- */
542
- static spawnSync(filename: string, args: string[], options?: IExecutableSpawnSyncOptions): child_process.SpawnSyncReturns<string>;
543
- /**
544
- * Start a child process.
545
- *
546
- * @remarks
547
- * This function is similar to child_process.spawn(). The main differences are:
548
- *
549
- * - It does not invoke the OS shell unless the executable file is a shell script.
550
- * - Command-line arguments containing special characters are more accurately passed
551
- * through to the child process.
552
- * - If the filename is missing a path, then the shell's default PATH will be searched.
553
- * - If the filename is missing a file extension, then Windows default file extensions
554
- * will be searched.
555
- *
556
- * This command is asynchronous, but it does not return a `Promise`. Instead it returns
557
- * a Node.js `ChildProcess` supporting event notifications.
558
- *
559
- * @param filename - The name of the executable file. This string must not contain any
560
- * command-line arguments. If the name contains any path delimiters, then the shell's
561
- * default PATH will not be searched.
562
- * @param args - The command-line arguments to be passed to the process.
563
- * @param options - Additional options
564
- * @returns the same data type as returned by the NodeJS child_process.spawnSync() API
565
- */
566
- static spawn(filename: string, args: string[], options?: IExecutableSpawnOptions): child_process.ChildProcess;
567
- private static _buildCommandLineFixup;
568
- /**
569
- * Given a filename, this determines the absolute path of the executable file that would
570
- * be executed by a shell:
571
- *
572
- * - If the filename is missing a path, then the shell's default PATH will be searched.
573
- * - If the filename is missing a file extension, then Windows default file extensions
574
- * will be searched.
575
- *
576
- * @remarks
577
- *
578
- * @param filename - The name of the executable file. This string must not contain any
579
- * command-line arguments. If the name contains any path delimiters, then the shell's
580
- * default PATH will not be searched.
581
- * @param options - optional other parameters
582
- * @returns the absolute path of the executable, or undefined if it was not found
583
- */
584
- static tryResolve(filename: string, options?: IExecutableResolveOptions): string | undefined;
585
- private static _tryResolve;
586
- private static _tryResolveFileExtension;
587
- private static _buildEnvironmentMap;
588
- /**
589
- * This is used when searching the shell PATH for an executable, to determine
590
- * whether a match should be skipped or not. If it returns true, this does not
591
- * guarantee that the file can be successfully executed.
592
- */
593
- private static _canExecute;
594
- /**
595
- * Returns the list of folders where we will search for an executable,
596
- * based on the PATH environment variable.
597
- */
598
- private static _getSearchFolders;
599
- private static _getExecutableContext;
600
- /**
601
- * Given an input string containing special symbol characters, this inserts the "^" escape
602
- * character to ensure the symbols are interpreted literally by the Windows shell.
603
- */
604
- private static _getEscapedForWindowsShell;
605
- /**
606
- * Checks for characters that are unsafe to pass to a Windows batch file
607
- * due to the way that cmd.exe implements escaping.
608
- */
609
- private static _validateArgsForWindowsShell;
610
- }
611
-
612
- /**
613
- * Types for {@link IExecutableSpawnSyncOptions.stdio}
614
- * and {@link IExecutableSpawnOptions.stdio}
615
- * @public
616
- */
617
- export declare type ExecutableStdioMapping = 'pipe' | 'ignore' | 'inherit' | ExecutableStdioStreamMapping[];
618
-
619
- /**
620
- * Typings for one of the streams inside IExecutableSpawnSyncOptions.stdio.
621
- * @public
622
- */
623
- export declare type ExecutableStdioStreamMapping = 'pipe' | 'ignore' | 'inherit' | NodeJS.WritableStream | NodeJS.ReadableStream | number | undefined;
624
-
625
- /**
626
- * String constants for common filenames and parts of filenames.
627
- *
628
- * @public
629
- */
630
- export declare enum FileConstants {
631
- /**
632
- * "package.json" - the configuration file that defines an NPM package
633
- */
634
- PackageJson = "package.json"
635
- }
636
-
637
- /**
638
- * An `Error` subclass that should be thrown to report an unexpected state that specifically references
639
- * a location in a file.
640
- *
641
- * @remarks The file path provided to the FileError constructor is expected to exist on disk. FileError
642
- * should not be used for reporting errors that are not in reference to an existing file.
643
- *
644
- * @public
645
- */
646
- export declare class FileError extends Error {
647
- /** @internal */
648
- static _sanitizedEnvironmentVariable: string | undefined;
649
- /** @internal */
650
- static _environmentVariableIsAbsolutePath: boolean;
651
- private static _environmentVariableBasePathFnMap;
652
- /** {@inheritdoc IFileErrorOptions.absolutePath} */
653
- readonly absolutePath: string;
654
- /** {@inheritdoc IFileErrorOptions.projectFolder} */
655
- readonly projectFolder: string;
656
- /** {@inheritdoc IFileErrorOptions.line} */
657
- readonly line: number | undefined;
658
- /** {@inheritdoc IFileErrorOptions.column} */
659
- readonly column: number | undefined;
660
- /**
661
- * Constructs a new instance of the {@link FileError} class.
662
- *
663
- * @param message - A message describing the error.
664
- * @param options - Options for the error.
665
- */
666
- constructor(message: string, options: IFileErrorOptions);
667
- /**
668
- * Get the Unix-formatted the error message.
669
- *
670
- * @override
671
- */
672
- toString(): string;
673
- /**
674
- * Get the formatted error message.
675
- *
676
- * @param options - Options for the error message format.
677
- */
678
- getFormattedErrorMessage(options?: IFileErrorFormattingOptions): string;
679
- private _evaluateBaseFolder;
680
- static [Symbol.hasInstance](instance: object): boolean;
681
- }
682
-
683
- /**
684
- * The format that the FileError message should conform to. The supported formats are:
685
- * - Unix: `<path>:<line>:<column> - <message>`
686
- * - VisualStudio: `<path>(<line>,<column>) - <message>`
687
- *
688
- * @public
689
- */
690
- export declare type FileLocationStyle = 'Unix' | 'VisualStudio';
691
-
692
- /**
693
- * The FileSystem API provides a complete set of recommended operations for interacting with the file system.
694
- *
695
- * @remarks
696
- * We recommend to use this instead of the native `fs` API, because `fs` is a minimal set of low-level
697
- * primitives that must be mapped for each supported operating system. The FileSystem API takes a
698
- * philosophical approach of providing "one obvious way" to do each operation. We also prefer synchronous
699
- * operations except in cases where there would be a clear performance benefit for using async, since synchronous
700
- * code is much easier to read and debug. Also, indiscriminate parallelism has been seen to actually worsen
701
- * performance, versus improving it.
702
- *
703
- * Note that in the documentation, we refer to "filesystem objects", this can be a
704
- * file, folder, symbolic link, hard link, directory junction, etc.
705
- *
706
- * @public
707
- */
708
- export declare class FileSystem {
709
- /**
710
- * Returns true if the path exists on disk.
711
- * Behind the scenes it uses `fs.existsSync()`.
712
- * @remarks
713
- * There is a debate about the fact that after `fs.existsSync()` returns true,
714
- * the file might be deleted before fs.readSync() is called, which would imply that everybody
715
- * should catch a `readSync()` exception, and nobody should ever use `fs.existsSync()`.
716
- * We find this to be unpersuasive, since "unexceptional exceptions" really hinder the
717
- * break-on-exception debugging experience. Also, throwing/catching is generally slow.
718
- * @param path - The absolute or relative path to the filesystem object.
719
- */
720
- static exists(path: string): boolean;
721
- /**
722
- * An async version of {@link FileSystem.exists}.
723
- */
724
- static existsAsync(path: string): Promise<boolean>;
725
- /**
726
- * Gets the statistics for a particular filesystem object.
727
- * If the path is a link, this function follows the link and returns statistics about the link target.
728
- * Behind the scenes it uses `fs.statSync()`.
729
- * @param path - The absolute or relative path to the filesystem object.
730
- */
731
- static getStatistics(path: string): FileSystemStats;
732
- /**
733
- * An async version of {@link FileSystem.getStatistics}.
734
- */
735
- static getStatisticsAsync(path: string): Promise<FileSystemStats>;
736
- /**
737
- * Updates the accessed and modified timestamps of the filesystem object referenced by path.
738
- * Behind the scenes it uses `fs.utimesSync()`.
739
- * The caller should specify both times in the `times` parameter.
740
- * @param path - The path of the file that should be modified.
741
- * @param times - The times that the object should be updated to reflect.
742
- */
743
- static updateTimes(path: string, times: IFileSystemUpdateTimeParameters): void;
744
- /**
745
- * An async version of {@link FileSystem.updateTimes}.
746
- */
747
- static updateTimesAsync(path: string, times: IFileSystemUpdateTimeParameters): Promise<void>;
748
- /**
749
- * Changes the permissions (i.e. file mode bits) for a filesystem object.
750
- * Behind the scenes it uses `fs.chmodSync()`.
751
- * @param path - The absolute or relative path to the object that should be updated.
752
- * @param modeBits - POSIX-style file mode bits specified using the {@link PosixModeBits} enum
753
- */
754
- static changePosixModeBits(path: string, mode: PosixModeBits): void;
755
- /**
756
- * An async version of {@link FileSystem.changePosixModeBits}.
757
- */
758
- static changePosixModeBitsAsync(path: string, mode: PosixModeBits): Promise<void>;
759
- /**
760
- * Retrieves the permissions (i.e. file mode bits) for a filesystem object.
761
- * Behind the scenes it uses `fs.chmodSync()`.
762
- * @param path - The absolute or relative path to the object that should be updated.
763
- *
764
- * @remarks
765
- * This calls {@link FileSystem.getStatistics} to get the POSIX mode bits.
766
- * If statistics in addition to the mode bits are needed, it is more efficient
767
- * to call {@link FileSystem.getStatistics} directly instead.
768
- */
769
- static getPosixModeBits(path: string): PosixModeBits;
770
- /**
771
- * An async version of {@link FileSystem.getPosixModeBits}.
772
- */
773
- static getPosixModeBitsAsync(path: string): Promise<PosixModeBits>;
774
- /**
775
- * Returns a 10-character string representation of a PosixModeBits value similar to what
776
- * would be displayed by a command such as "ls -l" on a POSIX-like operating system.
777
- * @remarks
778
- * For example, `PosixModeBits.AllRead | PosixModeBits.AllWrite` would be formatted as "-rw-rw-rw-".
779
- * @param modeBits - POSIX-style file mode bits specified using the {@link PosixModeBits} enum
780
- */
781
- static formatPosixModeBits(modeBits: PosixModeBits): string;
782
- /**
783
- * Moves a file. The folder must exist, unless the `ensureFolderExists` option is provided.
784
- * Behind the scenes it uses `fs-extra.moveSync()`
785
- */
786
- static move(options: IFileSystemMoveOptions): void;
787
- /**
788
- * An async version of {@link FileSystem.move}.
789
- */
790
- static moveAsync(options: IFileSystemMoveOptions): Promise<void>;
791
- /**
792
- * Recursively creates a folder at a given path.
793
- * Behind the scenes is uses `fs-extra.ensureDirSync()`.
794
- * @remarks
795
- * Throws an exception if anything in the folderPath is not a folder.
796
- * @param folderPath - The absolute or relative path of the folder which should be created.
797
- */
798
- static ensureFolder(folderPath: string): void;
799
- /**
800
- * An async version of {@link FileSystem.ensureFolder}.
801
- */
802
- static ensureFolderAsync(folderPath: string): Promise<void>;
803
- /**
804
- * @deprecated
805
- * Use {@link FileSystem.readFolderItemNames} instead.
806
- */
807
- static readFolder(folderPath: string, options?: IFileSystemReadFolderOptions): string[];
808
- /**
809
- * @deprecated
810
- * Use {@link FileSystem.readFolderItemNamesAsync} instead.
811
- */
812
- static readFolderAsync(folderPath: string, options?: IFileSystemReadFolderOptions): Promise<string[]>;
813
- /**
814
- * Reads the names of folder entries, not including "." or "..".
815
- * Behind the scenes it uses `fs.readdirSync()`.
816
- * @param folderPath - The absolute or relative path to the folder which should be read.
817
- * @param options - Optional settings that can change the behavior. Type: `IReadFolderOptions`
818
- */
819
- static readFolderItemNames(folderPath: string, options?: IFileSystemReadFolderOptions): string[];
820
- /**
821
- * An async version of {@link FileSystem.readFolderItemNames}.
822
- */
823
- static readFolderItemNamesAsync(folderPath: string, options?: IFileSystemReadFolderOptions): Promise<string[]>;
824
- /**
825
- * Reads the contents of the folder, not including "." or "..", returning objects including the
826
- * entry names and types.
827
- * Behind the scenes it uses `fs.readdirSync()`.
828
- * @param folderPath - The absolute or relative path to the folder which should be read.
829
- * @param options - Optional settings that can change the behavior. Type: `IReadFolderOptions`
830
- */
831
- static readFolderItems(folderPath: string, options?: IFileSystemReadFolderOptions): FolderItem[];
832
- /**
833
- * An async version of {@link FileSystem.readFolderItems}.
834
- */
835
- static readFolderItemsAsync(folderPath: string, options?: IFileSystemReadFolderOptions): Promise<FolderItem[]>;
836
- /**
837
- * Deletes a folder, including all of its contents.
838
- * Behind the scenes is uses `fs-extra.removeSync()`.
839
- * @remarks
840
- * Does not throw if the folderPath does not exist.
841
- * @param folderPath - The absolute or relative path to the folder which should be deleted.
842
- */
843
- static deleteFolder(folderPath: string): void;
844
- /**
845
- * An async version of {@link FileSystem.deleteFolder}.
846
- */
847
- static deleteFolderAsync(folderPath: string): Promise<void>;
848
- /**
849
- * Deletes the content of a folder, but not the folder itself. Also ensures the folder exists.
850
- * Behind the scenes it uses `fs-extra.emptyDirSync()`.
851
- * @remarks
852
- * This is a workaround for a common race condition, where the virus scanner holds a lock on the folder
853
- * for a brief period after it was deleted, causing EBUSY errors for any code that tries to recreate the folder.
854
- * @param folderPath - The absolute or relative path to the folder which should have its contents deleted.
855
- */
856
- static ensureEmptyFolder(folderPath: string): void;
857
- /**
858
- * An async version of {@link FileSystem.ensureEmptyFolder}.
859
- */
860
- static ensureEmptyFolderAsync(folderPath: string): Promise<void>;
861
- /**
862
- * Writes a text string to a file on disk, overwriting the file if it already exists.
863
- * Behind the scenes it uses `fs.writeFileSync()`.
864
- * @remarks
865
- * Throws an error if the folder doesn't exist, unless ensureFolder=true.
866
- * @param filePath - The absolute or relative path of the file.
867
- * @param contents - The text that should be written to the file.
868
- * @param options - Optional settings that can change the behavior. Type: `IWriteFileOptions`
869
- */
870
- static writeFile(filePath: string, contents: string | Buffer, options?: IFileSystemWriteFileOptions): void;
871
- /**
872
- * An async version of {@link FileSystem.writeFile}.
873
- */
874
- static writeFileAsync(filePath: string, contents: string | Buffer, options?: IFileSystemWriteFileOptions): Promise<void>;
875
- /**
876
- * Writes a text string to a file on disk, appending to the file if it already exists.
877
- * Behind the scenes it uses `fs.appendFileSync()`.
878
- * @remarks
879
- * Throws an error if the folder doesn't exist, unless ensureFolder=true.
880
- * @param filePath - The absolute or relative path of the file.
881
- * @param contents - The text that should be written to the file.
882
- * @param options - Optional settings that can change the behavior. Type: `IWriteFileOptions`
883
- */
884
- static appendToFile(filePath: string, contents: string | Buffer, options?: IFileSystemWriteFileOptions): void;
885
- /**
886
- * An async version of {@link FileSystem.appendToFile}.
887
- */
888
- static appendToFileAsync(filePath: string, contents: string | Buffer, options?: IFileSystemWriteFileOptions): Promise<void>;
889
- /**
890
- * Reads the contents of a file into a string.
891
- * Behind the scenes it uses `fs.readFileSync()`.
892
- * @param filePath - The relative or absolute path to the file whose contents should be read.
893
- * @param options - Optional settings that can change the behavior. Type: `IReadFileOptions`
894
- */
895
- static readFile(filePath: string, options?: IFileSystemReadFileOptions): string;
896
- /**
897
- * An async version of {@link FileSystem.readFile}.
898
- */
899
- static readFileAsync(filePath: string, options?: IFileSystemReadFileOptions): Promise<string>;
900
- /**
901
- * Reads the contents of a file into a buffer.
902
- * Behind the scenes is uses `fs.readFileSync()`.
903
- * @param filePath - The relative or absolute path to the file whose contents should be read.
904
- */
905
- static readFileToBuffer(filePath: string): Buffer;
906
- /**
907
- * An async version of {@link FileSystem.readFileToBuffer}.
908
- */
909
- static readFileToBufferAsync(filePath: string): Promise<Buffer>;
910
- /**
911
- * Copies a single file from one location to another.
912
- * By default, destinationPath is overwritten if it already exists.
913
- *
914
- * @remarks
915
- * The `copyFile()` API cannot be used to copy folders. It copies at most one file.
916
- * Use {@link FileSystem.copyFiles} if you need to recursively copy a tree of folders.
917
- *
918
- * The implementation is based on `copySync()` from the `fs-extra` package.
919
- */
920
- static copyFile(options: IFileSystemCopyFileOptions): void;
921
- /**
922
- * An async version of {@link FileSystem.copyFile}.
923
- */
924
- static copyFileAsync(options: IFileSystemCopyFileOptions): Promise<void>;
925
- /**
926
- * Copies a file or folder from one location to another, recursively copying any folder contents.
927
- * By default, destinationPath is overwritten if it already exists.
928
- *
929
- * @remarks
930
- * If you only intend to copy a single file, it is recommended to use {@link FileSystem.copyFile}
931
- * instead to more clearly communicate the intended operation.
932
- *
933
- * The implementation is based on `copySync()` from the `fs-extra` package.
934
- */
935
- static copyFiles(options: IFileSystemCopyFilesOptions): void;
936
- /**
937
- * An async version of {@link FileSystem.copyFiles}.
938
- */
939
- static copyFilesAsync(options: IFileSystemCopyFilesOptions): Promise<void>;
940
- /**
941
- * Deletes a file. Can optionally throw if the file doesn't exist.
942
- * Behind the scenes it uses `fs.unlinkSync()`.
943
- * @param filePath - The absolute or relative path to the file that should be deleted.
944
- * @param options - Optional settings that can change the behavior. Type: `IDeleteFileOptions`
945
- */
946
- static deleteFile(filePath: string, options?: IFileSystemDeleteFileOptions): void;
947
- /**
948
- * An async version of {@link FileSystem.deleteFile}.
949
- */
950
- static deleteFileAsync(filePath: string, options?: IFileSystemDeleteFileOptions): Promise<void>;
951
- /**
952
- * Gets the statistics of a filesystem object. Does NOT follow the link to its target.
953
- * Behind the scenes it uses `fs.lstatSync()`.
954
- * @param path - The absolute or relative path to the filesystem object.
955
- */
956
- static getLinkStatistics(path: string): FileSystemStats;
957
- /**
958
- * An async version of {@link FileSystem.getLinkStatistics}.
959
- */
960
- static getLinkStatisticsAsync(path: string): Promise<FileSystemStats>;
961
- /**
962
- * If `path` refers to a symbolic link, this returns the path of the link target, which may be
963
- * an absolute or relative path.
964
- *
965
- * @remarks
966
- * If `path` refers to a filesystem object that is not a symbolic link, then an `ErrnoException` is thrown
967
- * with code 'UNKNOWN'. If `path` does not exist, then an `ErrnoException` is thrown with code `ENOENT`.
968
- *
969
- * @param path - The absolute or relative path to the symbolic link.
970
- * @returns the path of the link target
971
- */
972
- static readLink(path: string): string;
973
- /**
974
- * An async version of {@link FileSystem.readLink}.
975
- */
976
- static readLinkAsync(path: string): Promise<string>;
977
- /**
978
- * Creates an NTFS "directory junction" on Windows operating systems; for other operating systems, it
979
- * creates a regular symbolic link. The link target must be a folder, not a file.
980
- * Behind the scenes it uses `fs.symlinkSync()`.
981
- *
982
- * @remarks
983
- * For security reasons, Windows operating systems by default require administrator elevation to create
984
- * symbolic links. As a result, on Windows it's generally recommended for Node.js tools to use hard links
985
- * (for files) or NTFS directory junctions (for folders), since regular users are allowed to create them.
986
- * Hard links and junctions are less vulnerable to symlink attacks because they cannot reference a network share,
987
- * and their target must exist at the time of link creation. Non-Windows operating systems generally don't
988
- * restrict symlink creation, and as such are more vulnerable to symlink attacks. Note that Windows can be
989
- * configured to permit regular users to create symlinks, for example by enabling Windows 10 "developer mode."
990
- *
991
- * A directory junction requires the link source and target to both be located on local disk volumes;
992
- * if not, use a symbolic link instead.
993
- */
994
- static createSymbolicLinkJunction(options: IFileSystemCreateLinkOptions): void;
995
- /**
996
- * An async version of {@link FileSystem.createSymbolicLinkJunction}.
997
- */
998
- static createSymbolicLinkJunctionAsync(options: IFileSystemCreateLinkOptions): Promise<void>;
999
- /**
1000
- * Creates a symbolic link to a file. On Windows operating systems, this may require administrator elevation.
1001
- * Behind the scenes it uses `fs.symlinkSync()`.
1002
- *
1003
- * @remarks
1004
- * To avoid administrator elevation on Windows, use {@link FileSystem.createHardLink} instead.
1005
- *
1006
- * On Windows operating systems, the NTFS file system distinguishes file symlinks versus directory symlinks:
1007
- * If the target is not the correct type, the symlink will be created successfully, but will fail to resolve.
1008
- * Other operating systems do not make this distinction, in which case {@link FileSystem.createSymbolicLinkFile}
1009
- * and {@link FileSystem.createSymbolicLinkFolder} can be used interchangeably, but doing so will make your
1010
- * tool incompatible with Windows.
1011
- */
1012
- static createSymbolicLinkFile(options: IFileSystemCreateLinkOptions): void;
1013
- /**
1014
- * An async version of {@link FileSystem.createSymbolicLinkFile}.
1015
- */
1016
- static createSymbolicLinkFileAsync(options: IFileSystemCreateLinkOptions): Promise<void>;
1017
- /**
1018
- * Creates a symbolic link to a folder. On Windows operating systems, this may require administrator elevation.
1019
- * Behind the scenes it uses `fs.symlinkSync()`.
1020
- *
1021
- * @remarks
1022
- * To avoid administrator elevation on Windows, use {@link FileSystem.createSymbolicLinkJunction} instead.
1023
- *
1024
- * On Windows operating systems, the NTFS file system distinguishes file symlinks versus directory symlinks:
1025
- * If the target is not the correct type, the symlink will be created successfully, but will fail to resolve.
1026
- * Other operating systems do not make this distinction, in which case {@link FileSystem.createSymbolicLinkFile}
1027
- * and {@link FileSystem.createSymbolicLinkFolder} can be used interchangeably, but doing so will make your
1028
- * tool incompatible with Windows.
1029
- */
1030
- static createSymbolicLinkFolder(options: IFileSystemCreateLinkOptions): void;
1031
- /**
1032
- * An async version of {@link FileSystem.createSymbolicLinkFolder}.
1033
- */
1034
- static createSymbolicLinkFolderAsync(options: IFileSystemCreateLinkOptions): Promise<void>;
1035
- /**
1036
- * Creates a hard link. The link target must be a file, not a folder.
1037
- * Behind the scenes it uses `fs.linkSync()`.
1038
- *
1039
- * @remarks
1040
- * For security reasons, Windows operating systems by default require administrator elevation to create
1041
- * symbolic links. As a result, on Windows it's generally recommended for Node.js tools to use hard links
1042
- * (for files) or NTFS directory junctions (for folders), since regular users are allowed to create them.
1043
- * Hard links and junctions are less vulnerable to symlink attacks because they cannot reference a network share,
1044
- * and their target must exist at the time of link creation. Non-Windows operating systems generally don't
1045
- * restrict symlink creation, and as such are more vulnerable to symlink attacks. Note that Windows can be
1046
- * configured to permit regular users to create symlinks, for example by enabling Windows 10 "developer mode."
1047
- *
1048
- * A hard link requires the link source and target to both be located on same disk volume;
1049
- * if not, use a symbolic link instead.
1050
- */
1051
- static createHardLink(options: IFileSystemCreateLinkOptions): void;
1052
- /**
1053
- * An async version of {@link FileSystem.createHardLink}.
1054
- */
1055
- static createHardLinkAsync(options: IFileSystemCreateLinkOptions): Promise<void>;
1056
- /**
1057
- * Follows a link to its destination and returns the absolute path to the final target of the link.
1058
- * Behind the scenes it uses `fs.realpathSync()`.
1059
- * @param linkPath - The path to the link.
1060
- */
1061
- static getRealPath(linkPath: string): string;
1062
- /**
1063
- * An async version of {@link FileSystem.getRealPath}.
1064
- */
1065
- static getRealPathAsync(linkPath: string): Promise<string>;
1066
- /**
1067
- * Returns true if the error object indicates the file or folder already exists (`EEXIST`).
1068
- */
1069
- static isExistError(error: Error): boolean;
1070
- /**
1071
- * Returns true if the error object indicates the file or folder does not exist (`ENOENT` or `ENOTDIR`)
1072
- */
1073
- static isNotExistError(error: Error): boolean;
1074
- /**
1075
- * Returns true if the error object indicates the file does not exist (`ENOENT`).
1076
- */
1077
- static isFileDoesNotExistError(error: Error): boolean;
1078
- /**
1079
- * Returns true if the error object indicates the folder does not exist (`ENOTDIR`).
1080
- */
1081
- static isFolderDoesNotExistError(error: Error): boolean;
1082
- /**
1083
- * Returns true if the error object indicates the target is a directory (`EISDIR`).
1084
- */
1085
- static isDirectoryError(error: Error): boolean;
1086
- /**
1087
- * Returns true if the error object indicates the target is not a directory (`ENOTDIR`).
1088
- */
1089
- static isNotDirectoryError(error: Error): boolean;
1090
- /**
1091
- * Returns true if the error object indicates that the `unlink` system call failed
1092
- * due to a permissions issue (`EPERM`).
1093
- */
1094
- static isUnlinkNotPermittedError(error: Error): boolean;
1095
- /**
1096
- * Detects if the provided error object is a `NodeJS.ErrnoException`
1097
- */
1098
- static isErrnoException(error: Error): error is NodeJS.ErrnoException;
1099
- private static _handleLink;
1100
- private static _handleLinkAsync;
1101
- private static _wrapException;
1102
- private static _wrapExceptionAsync;
1103
- private static _updateErrorMessage;
1104
- }
1105
-
1106
- /**
1107
- * Callback function type for {@link IFileSystemCopyFilesAsyncOptions.filter}
1108
- * @public
1109
- */
1110
- export declare type FileSystemCopyFilesAsyncFilter = (sourcePath: string, destinationPath: string) => Promise<boolean>;
1111
-
1112
- /**
1113
- * Callback function type for {@link IFileSystemCopyFilesOptions.filter}
1114
- * @public
1115
- */
1116
- export declare type FileSystemCopyFilesFilter = (sourcePath: string, destinationPath: string) => boolean;
1117
-
1118
- /**
1119
- * An alias for the Node.js `fs.Stats` object.
1120
- *
1121
- * @remarks
1122
- * This avoids the need to import the `fs` package when using the {@link FileSystem} API.
1123
- * @public
1124
- */
1125
- export declare type FileSystemStats = fs.Stats;
1126
-
1127
- /**
1128
- * API for interacting with file handles.
1129
- * @public
1130
- */
1131
- export declare class FileWriter {
1132
- /**
1133
- * The `filePath` that was passed to {@link FileWriter.open}.
1134
- */
1135
- readonly filePath: string;
1136
- private _fileDescriptor;
1137
- private constructor();
1138
- /**
1139
- * Opens a new file handle to the file at the specified path and given mode.
1140
- * Behind the scenes it uses `fs.openSync()`.
1141
- * The behaviour of this function is platform specific.
1142
- * See: https://nodejs.org/docs/latest-v8.x/api/fs.html#fs_fs_open_path_flags_mode_callback
1143
- * @param filePath - The absolute or relative path to the file handle that should be opened.
1144
- * @param flags - The flags for opening the handle
1145
- */
1146
- static open(filePath: string, flags?: IFileWriterFlags): FileWriter;
1147
- /**
1148
- * Helper function to convert the file writer array to a Node.js style string (e.g. "wx" or "a").
1149
- * @param flags - The flags that should be converted.
1150
- */
1151
- private static _convertFlagsForNode;
1152
- /**
1153
- * Writes some text to the given file handle. Throws if the file handle has been closed.
1154
- * Behind the scenes it uses `fs.writeSync()`.
1155
- * @param text - The text to write to the file.
1156
- */
1157
- write(text: string): void;
1158
- /**
1159
- * Closes the file handle permanently. No operations can be made on this file handle after calling this.
1160
- * Behind the scenes it uses `fs.closeSync()` and releases the file descriptor to be re-used.
1161
- *
1162
- * @remarks
1163
- * The `close()` method can be called more than once; additional calls are ignored.
1164
- */
1165
- close(): void;
1166
- }
1167
-
1168
- /**
1169
- * String constants for common folder names.
1170
- *
1171
- * @public
1172
- */
1173
- export declare enum FolderConstants {
1174
- /**
1175
- * ".git" - the data storage for a Git working folder
1176
- */
1177
- Git = ".git",
1178
- /**
1179
- * "node_modules" - the folder where package managers install their files
1180
- */
1181
- NodeModules = "node_modules"
1182
- }
1183
-
1184
- /**
1185
- * An alias for the Node.js `fs.Dirent` object.
1186
- *
1187
- * @remarks
1188
- * This avoids the need to import the `fs` package when using the {@link FileSystem} API.
1189
- * @public
1190
- */
1191
- export declare type FolderItem = fs.Dirent;
1192
-
1193
- /**
1194
- * Options for {@link AnsiEscape.formatForTests}.
1195
- * @public
1196
- */
1197
- export declare interface IAnsiEscapeConvertForTestsOptions {
1198
- /**
1199
- * If true then `\n` will be replaced by `[n]`, and `\r` will be replaced by `[r]`.
1200
- */
1201
- encodeNewlines?: boolean;
1202
- }
1203
-
1204
- /**
1205
- * Options for controlling the parallelism of asynchronous operations.
1206
- *
1207
- * @remarks
1208
- * Used with {@link Async.mapAsync} and {@link Async.forEachAsync}.
1209
- *
1210
- * @beta
1211
- */
1212
- export declare interface IAsyncParallelismOptions {
1213
- /**
1214
- * Optionally used with the {@link Async.mapAsync} and {@link Async.forEachAsync}
1215
- * to limit the maximum number of concurrent promises to the specified number.
1216
- */
1217
- concurrency?: number;
1218
- }
1219
-
1220
- /**
1221
- * @beta
1222
- */
1223
- export declare interface IColorableSequence {
1224
- text: string;
1225
- isEol?: boolean;
1226
- foregroundColor?: ColorValue;
1227
- backgroundColor?: ColorValue;
1228
- textAttributes?: TextAttribute[];
1229
- }
1230
-
1231
- /**
1232
- * Options to be provided to a {@link ConsoleTerminalProvider}
1233
- *
1234
- * @beta
1235
- */
1236
- export declare interface IConsoleTerminalProviderOptions {
1237
- /**
1238
- * If true, print verbose logging messages.
1239
- */
1240
- verboseEnabled: boolean;
1241
- /**
1242
- * If true, print debug logging messages. Note that "verbose" and "debug" are considered
1243
- * separate message filters; if you want debug to imply verbose, it is up to your
1244
- * application code to enforce that.
1245
- */
1246
- debugEnabled: boolean;
1247
- }
1248
-
1249
- /**
1250
- * A process environment variable name and its value. Used by {@link EnvironmentMap}.
1251
- * @public
1252
- */
1253
- export declare interface IEnvironmentEntry {
1254
- /**
1255
- * The name of the environment variable.
1256
- */
1257
- name: string;
1258
- /**
1259
- * The value of the environment variable.
1260
- */
1261
- value: string;
1262
- }
1263
-
1264
- /**
1265
- * Options for Executable.tryResolve().
1266
- * @public
1267
- */
1268
- export declare interface IExecutableResolveOptions {
1269
- /**
1270
- * The current working directory. If omitted, process.cwd() will be used.
1271
- */
1272
- currentWorkingDirectory?: string;
1273
- /**
1274
- * The environment variables for the child process.
1275
- *
1276
- * @remarks
1277
- * If `environment` and `environmentMap` are both omitted, then `process.env` will be used.
1278
- * If `environment` and `environmentMap` cannot both be specified.
1279
- */
1280
- environment?: NodeJS.ProcessEnv;
1281
- /**
1282
- * The environment variables for the child process.
1283
- *
1284
- * @remarks
1285
- * If `environment` and `environmentMap` are both omitted, then `process.env` will be used.
1286
- * If `environment` and `environmentMap` cannot both be specified.
1287
- */
1288
- environmentMap?: EnvironmentMap;
1289
- }
1290
-
1291
- /**
1292
- * Options for {@link Executable.spawn}
1293
- * @public
1294
- */
1295
- export declare interface IExecutableSpawnOptions extends IExecutableResolveOptions {
1296
- /**
1297
- * The stdio mappings for the child process.
1298
- *
1299
- * NOTE: If IExecutableSpawnSyncOptions.input is provided, it will take precedence
1300
- * over the stdin mapping (stdio[0]).
1301
- */
1302
- stdio?: ExecutableStdioMapping;
1303
- }
1304
-
1305
- /**
1306
- * Options for {@link Executable.spawnSync}
1307
- * @public
1308
- */
1309
- export declare interface IExecutableSpawnSyncOptions extends IExecutableResolveOptions {
1310
- /**
1311
- * The content to be passed to the child process's stdin.
1312
- *
1313
- * NOTE: If specified, this content replaces any IExecutableSpawnSyncOptions.stdio[0]
1314
- * mapping for stdin.
1315
- */
1316
- input?: string;
1317
- /**
1318
- * The stdio mappings for the child process.
1319
- *
1320
- * NOTE: If IExecutableSpawnSyncOptions.input is provided, it will take precedence
1321
- * over the stdin mapping (stdio[0]).
1322
- */
1323
- stdio?: ExecutableStdioMapping;
1324
- /**
1325
- * The maximum time the process is allowed to run before it will be terminated.
1326
- */
1327
- timeoutMs?: number;
1328
- /**
1329
- * The largest amount of bytes allowed on stdout or stderr for this synchronous operation.
1330
- * If exceeded, the child process will be terminated. The default is 200 * 1024.
1331
- */
1332
- maxBuffer?: number;
1333
- }
1334
-
1335
- /**
1336
- * Provides options for the output message of a file error.
1337
- *
1338
- * @public
1339
- */
1340
- export declare interface IFileErrorFormattingOptions {
1341
- /**
1342
- * The format for the error message. If no format is provided, format 'Unix' is used by default.
1343
- */
1344
- format?: FileLocationStyle;
1345
- }
1346
-
1347
- /**
1348
- * Provides options for the creation of a FileError.
1349
- *
1350
- * @public
1351
- */
1352
- export declare interface IFileErrorOptions {
1353
- /**
1354
- * The absolute path to the file that contains the error.
1355
- */
1356
- absolutePath: string;
1357
- /**
1358
- * The root folder for the project that the error is in relation to.
1359
- */
1360
- projectFolder: string;
1361
- /**
1362
- * The line number of the error in the target file. Minimum value is 1.
1363
- */
1364
- line?: number;
1365
- /**
1366
- * The column number of the error in the target file. Minimum value is 1.
1367
- */
1368
- column?: number;
1369
- }
1370
-
1371
- /**
1372
- * @public
1373
- */
1374
- export declare interface IFileSystemCopyFileBaseOptions {
1375
- /**
1376
- * The path of the existing object to be copied.
1377
- * The path may be absolute or relative.
1378
- */
1379
- sourcePath: string;
1380
- /**
1381
- * Specifies what to do if the destination path already exists.
1382
- * @defaultValue {@link AlreadyExistsBehavior.Overwrite}
1383
- */
1384
- alreadyExistsBehavior?: AlreadyExistsBehavior;
1385
- }
1386
-
1387
- /**
1388
- * The options for {@link FileSystem.copyFile}
1389
- * @public
1390
- */
1391
- export declare interface IFileSystemCopyFileOptions extends IFileSystemCopyFileBaseOptions {
1392
- /**
1393
- * The path that the object will be copied to.
1394
- * The path may be absolute or relative.
1395
- */
1396
- destinationPath: string;
1397
- }
1398
-
1399
- /**
1400
- * The options for {@link FileSystem.copyFilesAsync}
1401
- * @public
1402
- */
1403
- export declare interface IFileSystemCopyFilesAsyncOptions {
1404
- /**
1405
- * The starting path of the file or folder to be copied.
1406
- * The path may be absolute or relative.
1407
- */
1408
- sourcePath: string;
1409
- /**
1410
- * The path that the files will be copied to.
1411
- * The path may be absolute or relative.
1412
- */
1413
- destinationPath: string;
1414
- /**
1415
- * If true, then when copying symlinks, copy the target object instead of copying the link.
1416
- */
1417
- dereferenceSymlinks?: boolean;
1418
- /**
1419
- * Specifies what to do if a destination path already exists.
1420
- *
1421
- * @remarks
1422
- * This setting is applied individually for each file being copied.
1423
- * For example, `AlreadyExistsBehavior.Overwrite` will not recursively delete a folder
1424
- * whose path corresponds to an individual file that is being copied to that location.
1425
- */
1426
- alreadyExistsBehavior?: AlreadyExistsBehavior;
1427
- /**
1428
- * If true, then the target object will be assigned "last modification" and "last access" timestamps
1429
- * that are the same as the source. Otherwise, the OS default timestamps are assigned.
1430
- */
1431
- preserveTimestamps?: boolean;
1432
- /**
1433
- * A callback that will be invoked for each path that is copied. The callback can return `false`
1434
- * to cause the object to be excluded from the operation.
1435
- */
1436
- filter?: FileSystemCopyFilesAsyncFilter | FileSystemCopyFilesFilter;
1437
- }
1438
-
1439
- /**
1440
- * The options for {@link FileSystem.copyFiles}
1441
- * @public
1442
- */
1443
- export declare interface IFileSystemCopyFilesOptions extends IFileSystemCopyFilesAsyncOptions {
1444
- /** {@inheritdoc IFileSystemCopyFilesAsyncOptions.filter} */
1445
- filter?: FileSystemCopyFilesFilter;
1446
- }
1447
-
1448
- /**
1449
- * The options for {@link FileSystem.createSymbolicLinkJunction}, {@link FileSystem.createSymbolicLinkFile},
1450
- * {@link FileSystem.createSymbolicLinkFolder}, and {@link FileSystem.createHardLink}.
1451
- *
1452
- * @public
1453
- */
1454
- export declare interface IFileSystemCreateLinkOptions {
1455
- /**
1456
- * The newly created symbolic link will point to `linkTargetPath` as its target.
1457
- */
1458
- linkTargetPath: string;
1459
- /**
1460
- * The newly created symbolic link will have this path.
1461
- */
1462
- newLinkPath: string;
1463
- /**
1464
- * Specifies what to do if the path to create already exists.
1465
- * The default is `AlreadyExistsBehavior.Error`.
1466
- */
1467
- alreadyExistsBehavior?: AlreadyExistsBehavior;
1468
- }
1469
-
1470
- /**
1471
- * The options for {@link FileSystem.deleteFile}
1472
- * @public
1473
- */
1474
- export declare interface IFileSystemDeleteFileOptions {
1475
- /**
1476
- * If true, will throw an exception if the file did not exist before `deleteFile()` was called.
1477
- * @defaultValue false
1478
- */
1479
- throwIfNotExists?: boolean;
1480
- }
1481
-
1482
- /**
1483
- * The options for {@link FileSystem.move}
1484
- * @public
1485
- */
1486
- export declare interface IFileSystemMoveOptions {
1487
- /**
1488
- * The path of the existing object to be moved.
1489
- * The path may be absolute or relative.
1490
- */
1491
- sourcePath: string;
1492
- /**
1493
- * The new path for the object.
1494
- * The path may be absolute or relative.
1495
- */
1496
- destinationPath: string;
1497
- /**
1498
- * If true, will overwrite the file if it already exists.
1499
- * @defaultValue true
1500
- */
1501
- overwrite?: boolean;
1502
- /**
1503
- * If true, will ensure the folder is created before writing the file.
1504
- * @defaultValue false
1505
- */
1506
- ensureFolderExists?: boolean;
1507
- }
1508
-
1509
- /**
1510
- * The options for {@link FileSystem.readFile}
1511
- * @public
1512
- */
1513
- export declare interface IFileSystemReadFileOptions {
1514
- /**
1515
- * If specified, will change the encoding of the file that will be written.
1516
- * @defaultValue Encoding.Utf8
1517
- */
1518
- encoding?: Encoding;
1519
- /**
1520
- * If specified, will normalize line endings to the specified style of newline.
1521
- * @defaultValue `undefined` which means no conversion will be performed
1522
- */
1523
- convertLineEndings?: NewlineKind;
1524
- }
1525
-
1526
- /**
1527
- * The options for {@link FileSystem.readFolder}
1528
- * @public
1529
- */
1530
- export declare interface IFileSystemReadFolderOptions {
1531
- /**
1532
- * If true, returns the absolute paths of the files in the folder.
1533
- * @defaultValue false
1534
- */
1535
- absolutePaths?: boolean;
1536
- }
1537
-
1538
- /**
1539
- * The options for {@link FileSystem.updateTimes}
1540
- * Both times must be specified.
1541
- * @public
1542
- */
1543
- export declare interface IFileSystemUpdateTimeParameters {
1544
- /**
1545
- * The POSIX epoch time or Date when this was last accessed.
1546
- */
1547
- accessedTime: number | Date;
1548
- /**
1549
- * The POSIX epoch time or Date when this was last modified
1550
- */
1551
- modifiedTime: number | Date;
1552
- }
1553
-
1554
- /**
1555
- * The options for {@link FileSystem.writeFile}
1556
- * @public
1557
- */
1558
- export declare interface IFileSystemWriteFileOptions {
1559
- /**
1560
- * If true, will ensure the folder is created before writing the file.
1561
- * @defaultValue false
1562
- */
1563
- ensureFolderExists?: boolean;
1564
- /**
1565
- * If specified, will normalize line endings to the specified style of newline.
1566
- * @defaultValue `undefined` which means no conversion will be performed
1567
- */
1568
- convertLineEndings?: NewlineKind;
1569
- /**
1570
- * If specified, will change the encoding of the file that will be written.
1571
- * @defaultValue "utf8"
1572
- */
1573
- encoding?: Encoding;
1574
- }
1575
-
1576
- /**
1577
- * Interface which represents the flags about which mode the file should be opened in.
1578
- * @public
1579
- */
1580
- export declare interface IFileWriterFlags {
1581
- /**
1582
- * Open file for appending.
1583
- */
1584
- append?: boolean;
1585
- /**
1586
- * Fails if path exists. The exclusive flag ensures that path is newly created.
1587
- *
1588
- * @remarks
1589
- * On POSIX-like operating systems, path is considered to exist even if it is a symlink to a
1590
- * non-existent file. The exclusive flag may or may not work with network file systems.
1591
- *
1592
- * POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
1593
- */
1594
- exclusive?: boolean;
1595
- }
1596
-
1597
- /**
1598
- * Options for {@link Import.resolveModule}
1599
- * @public
1600
- */
1601
- export declare interface IImportResolveModuleOptions extends IImportResolveOptions {
1602
- /**
1603
- * The module identifier to resolve. For example "\@rushstack/node-core-library" or
1604
- * "\@rushstack/node-core-library/lib/index.js"
1605
- */
1606
- modulePath: string;
1607
- }
1608
-
1609
- /**
1610
- * Common options shared by {@link IImportResolveModuleOptions} and {@link IImportResolvePackageOptions}
1611
- * @public
1612
- */
1613
- export declare interface IImportResolveOptions {
1614
- /**
1615
- * The path from which {@link IImportResolveModuleOptions.modulePath} or
1616
- * {@link IImportResolvePackageOptions.packageName} should be resolved.
1617
- */
1618
- baseFolderPath: string;
1619
- /**
1620
- * If true, if the package name matches a Node.js system module, then the return
1621
- * value will be the package name without any path.
1622
- *
1623
- * @remarks
1624
- * This will take precedence over an installed NPM package of the same name.
1625
- *
1626
- * Example:
1627
- * ```ts
1628
- * // Returns the string "fs" indicating the Node.js system module
1629
- * Import.resolveModulePath({
1630
- * resolvePath: "fs",
1631
- * basePath: process.cwd()
1632
- * })
1633
- * ```
1634
- */
1635
- includeSystemModules?: boolean;
1636
- /**
1637
- * If true, then resolvePath is allowed to refer to the package.json of the active project.
1638
- *
1639
- * @remarks
1640
- * This will take precedence over any installed dependency with the same name.
1641
- * Note that this requires an additional PackageJsonLookup calculation.
1642
- *
1643
- * Example:
1644
- * ```ts
1645
- * // Returns an absolute path to the current package
1646
- * Import.resolveModulePath({
1647
- * resolvePath: "current-project",
1648
- * basePath: process.cwd(),
1649
- * allowSelfReference: true
1650
- * })
1651
- * ```
1652
- */
1653
- allowSelfReference?: boolean;
1654
- }
1655
-
1656
- /**
1657
- * Options for {@link Import.resolvePackage}
1658
- * @public
1659
- */
1660
- export declare interface IImportResolvePackageOptions extends IImportResolveOptions {
1661
- /**
1662
- * The package name to resolve. For example "\@rushstack/node-core-library"
1663
- */
1664
- packageName: string;
1665
- }
1666
-
1667
- /**
1668
- * Options for {@link JsonFile.loadAndValidate} and {@link JsonFile.loadAndValidateAsync}
1669
- *
1670
- * @public
1671
- */
1672
- export declare interface IJsonFileLoadAndValidateOptions extends IJsonFileParseOptions, IJsonSchemaValidateOptions {
1673
- }
1674
-
1675
- /**
1676
- * Options for {@link JsonFile.parseString}, {@link JsonFile.load}, and {@link JsonFile.loadAsync}.
1677
- *
1678
- * @public
1679
- */
1680
- export declare interface IJsonFileParseOptions {
1681
- /**
1682
- * Specifies the variant of JSON syntax to be used.
1683
- *
1684
- * @defaultValue
1685
- * `JsonSyntax.Json5`
1686
- *
1687
- * NOTE: This default will be changed to `JsonSyntax.JsonWithComments` in a future release.
1688
- */
1689
- jsonSyntax?: JsonSyntax;
1690
- }
1691
-
1692
- /**
1693
- * Options for {@link JsonFile.save} and {@link JsonFile.saveAsync}.
1694
- *
1695
- * @public
1696
- */
1697
- export declare interface IJsonFileSaveOptions extends IJsonFileStringifyOptions {
1698
- /**
1699
- * If there is an existing file, and the contents have not changed, then
1700
- * don't write anything; this preserves the old timestamp.
1701
- */
1702
- onlyIfChanged?: boolean;
1703
- /**
1704
- * Creates the folder recursively using FileSystem.ensureFolder()
1705
- * Defaults to false.
1706
- */
1707
- ensureFolderExists?: boolean;
1708
- /**
1709
- * If true, use the "jju" library to preserve the existing JSON formatting: The file will be loaded
1710
- * from the target filename, the new content will be merged in (preserving whitespace and comments),
1711
- * and then the file will be overwritten with the merged contents. If the target file does not exist,
1712
- * then the file is saved normally.
1713
- */
1714
- updateExistingFile?: boolean;
1715
- }
1716
-
1717
- /**
1718
- * Options for {@link JsonFile.stringify}
1719
- *
1720
- * @public
1721
- */
1722
- export declare interface IJsonFileStringifyOptions {
1723
- /**
1724
- * If provided, the specified newline type will be used instead of the default `\r\n`.
1725
- */
1726
- newlineConversion?: NewlineKind;
1727
- /**
1728
- * By default, `JsonFile.stringify()` validates that the object does not contain any
1729
- * keys whose value is `undefined`. To disable this validation, set `ignoreUndefinedValues=true`
1730
- * which causes such keys to be silently discarded, consistent with the system `JSON.stringify()`.
1731
- *
1732
- * @remarks
1733
- *
1734
- * The JSON file format can represent `null` values ({@link JsonNull}) but not `undefined` values.
1735
- * In ECMAScript code however, we generally avoid `null` and always represent empty states
1736
- * as `undefined`, because it is the default value of missing/uninitialized variables.
1737
- * (In practice, distinguishing "null" versus "uninitialized" has more drawbacks than benefits.)
1738
- * This poses a problem when serializing ECMAScript objects that contain `undefined` members.
1739
- * As a safeguard, `JsonFile` will report an error if any `undefined` values are encountered
1740
- * during serialization. Set `ignoreUndefinedValues=true` to disable this safeguard.
1741
- */
1742
- ignoreUndefinedValues?: boolean;
1743
- /**
1744
- * If true, then the "jju" library will be used to improve the text formatting.
1745
- * Note that this is slightly slower than the native JSON.stringify() implementation.
1746
- */
1747
- prettyFormatting?: boolean;
1748
- /**
1749
- * If specified, this header will be prepended to the start of the file. The header must consist
1750
- * of lines prefixed by "//" characters.
1751
- * @remarks
1752
- * When used with {@link IJsonFileSaveOptions.updateExistingFile}
1753
- * or {@link JsonFile.updateString}, the header will ONLY be added for a newly created file.
1754
- */
1755
- headerComment?: string;
1756
- }
1757
-
1758
- /**
1759
- * Callback function arguments for JsonSchema.validateObjectWithCallback();
1760
- * @public
1761
- */
1762
- export declare interface IJsonSchemaErrorInfo {
1763
- /**
1764
- * The z-schema error tree, formatted as an indented text string.
1765
- */
1766
- details: string;
1767
- }
1768
-
1769
- /**
1770
- * Options for JsonSchema.fromFile()
1771
- * @public
1772
- */
1773
- export declare interface IJsonSchemaFromFileOptions {
1774
- /**
1775
- * Other schemas that this schema references, e.g. via the "$ref" directive.
1776
- * @remarks
1777
- * The tree of dependent schemas may reference the same schema more than once.
1778
- * However, if the same schema "id" is used by two different JsonSchema instances,
1779
- * an error will be reported. This means you cannot load the same filename twice
1780
- * and use them both together, and you cannot have diamond dependencies on different
1781
- * versions of the same schema. Although technically this would be possible to support,
1782
- * it normally indicates an error or design problem.
1783
- *
1784
- * JsonSchema also does not allow circular references between schema dependencies.
1785
- */
1786
- dependentSchemas?: JsonSchema[];
1787
- }
1788
-
1789
- /**
1790
- * Options for JsonSchema.validateObject()
1791
- * @public
1792
- */
1793
- export declare interface IJsonSchemaValidateOptions {
1794
- /**
1795
- * A custom header that will be used to report schema errors.
1796
- * @remarks
1797
- * If omitted, the default header is "JSON validation failed:". The error message starts with
1798
- * the header, followed by the full input filename, followed by the z-schema error tree.
1799
- * If you wish to customize all aspects of the error message, use JsonFile.loadAndValidateWithCallback()
1800
- * or JsonSchema.validateObjectWithCallback().
1801
- */
1802
- customErrorHeader?: string;
1803
- }
1804
-
1805
- /**
1806
- * Helpers for resolving and importing Node.js modules.
1807
- * @public
1808
- */
1809
- export declare class Import {
1810
- private static __builtInModules;
1811
- private static get _builtInModules();
1812
- /**
1813
- * Provides a way to improve process startup times by lazy-loading imported modules.
1814
- *
1815
- * @remarks
1816
- * This is a more structured wrapper for the {@link https://www.npmjs.com/package/import-lazy|import-lazy}
1817
- * package. It enables you to replace an import like this:
1818
- *
1819
- * ```ts
1820
- * import * as example from 'example'; // <-- 100ms load time
1821
- *
1822
- * if (condition) {
1823
- * example.doSomething();
1824
- * }
1825
- * ```
1826
- *
1827
- * ...with a pattern like this:
1828
- *
1829
- * ```ts
1830
- * const example: typeof import('example') = Import.lazy('example', require);
1831
- *
1832
- * if (condition) {
1833
- * example.doSomething(); // <-- 100ms load time occurs here, only if needed
1834
- * }
1835
- * ```
1836
- *
1837
- * The implementation relies on JavaScript's `Proxy` feature to intercept access to object members. Thus
1838
- * it will only work correctly with certain types of module exports. If a particular export isn't well behaved,
1839
- * you may need to find (or introduce) some other module in your dependency graph to apply the optimization to.
1840
- *
1841
- * Usage guidelines:
1842
- *
1843
- * - Always specify types using `typeof` as shown above.
1844
- *
1845
- * - Never apply lazy-loading in a way that would convert the module's type to `any`. Losing type safety
1846
- * seriously impacts the maintainability of the code base.
1847
- *
1848
- * - In cases where the non-runtime types are needed, import them separately using the `Types` suffix:
1849
- *
1850
- * ```ts
1851
- * const example: typeof import('example') = Import.lazy('example', require);
1852
- * import type * as exampleTypes from 'example';
1853
- * ```
1854
- *
1855
- * - If the imported module confusingly has the same name as its export, then use the Module suffix:
1856
- *
1857
- * ```ts
1858
- * const exampleModule: typeof import('../../logic/Example') = Import.lazy(
1859
- * '../../logic/Example', require);
1860
- * import type * as exampleTypes from '../../logic/Example';
1861
- * ```
1862
- *
1863
- * - If the exports cause a lot of awkwardness (e.g. too many expressions need to have `exampleModule.` inserted
1864
- * into them), or if some exports cannot be proxied (e.g. `Import.lazy('example', require)` returns a function
1865
- * signature), then do not lazy-load that module. Instead, apply lazy-loading to some other module which is
1866
- * better behaved.
1867
- *
1868
- * - It's recommended to sort imports in a standard ordering:
1869
- *
1870
- * ```ts
1871
- * // 1. external imports
1872
- * import * as path from 'path';
1873
- * import { Import, JsonFile, JsonObject } from '@rushstack/node-core-library';
1874
- *
1875
- * // 2. local imports
1876
- * import { LocalFile } from './path/LocalFile';
1877
- *
1878
- * // 3. lazy-imports (which are technically variables, not imports)
1879
- * const semver: typeof import('semver') = Import.lazy('semver', require);
1880
- * ```
1881
- */
1882
- static lazy(moduleName: string, require: (id: string) => unknown): any;
1883
- /**
1884
- * This resolves a module path using similar logic as the Node.js `require.resolve()` API,
1885
- * but supporting extra features such as specifying the base folder.
1886
- *
1887
- * @remarks
1888
- * A module path is a text string that might appear in a statement such as
1889
- * `import { X } from "____";` or `const x = require("___");`. The implementation is based
1890
- * on the popular `resolve` NPM package.
1891
- *
1892
- * Suppose `example` is an NPM package whose entry point is `lib/index.js`:
1893
- * ```ts
1894
- * // Returns "/path/to/project/node_modules/example/lib/index.js"
1895
- * Import.resolveModule({ modulePath: 'example' });
1896
- *
1897
- * // Returns "/path/to/project/node_modules/example/lib/other.js"
1898
- * Import.resolveModule({ modulePath: 'example/lib/other' });
1899
- * ```
1900
- * If you need to determine the containing package folder
1901
- * (`/path/to/project/node_modules/example`), use {@link Import.resolvePackage} instead.
1902
- *
1903
- * @returns the absolute path of the resolved module.
1904
- * If {@link IImportResolveOptions.includeSystemModules} is specified
1905
- * and a system module is found, then its name is returned without any file path.
1906
- */
1907
- static resolveModule(options: IImportResolveModuleOptions): string;
1908
- /**
1909
- * Performs module resolution to determine the folder where a package is installed.
1910
- *
1911
- * @remarks
1912
- * Suppose `example` is an NPM package whose entry point is `lib/index.js`:
1913
- * ```ts
1914
- * // Returns "/path/to/project/node_modules/example"
1915
- * Import.resolvePackage({ packageName: 'example' });
1916
- * ```
1917
- *
1918
- * If you need to resolve a module path, use {@link Import.resolveModule} instead:
1919
- * ```ts
1920
- * // Returns "/path/to/project/node_modules/example/lib/index.js"
1921
- * Import.resolveModule({ modulePath: 'example' });
1922
- * ```
1923
- *
1924
- * @returns the absolute path of the package folder.
1925
- * If {@link IImportResolveOptions.includeSystemModules} is specified
1926
- * and a system module is found, then its name is returned without any file path.
1927
- */
1928
- static resolvePackage(options: IImportResolvePackageOptions): string;
1929
- private static _getPackageName;
1930
- }
1931
-
1932
- /**
1933
- * An interface for accessing common fields from a package.json file whose version field may be missing.
1934
- *
1935
- * @remarks
1936
- * This interface is the same as {@link IPackageJson}, except that the `version` field is optional.
1937
- * According to the {@link https://docs.npmjs.com/files/package.json | NPM documentation}
1938
- * and {@link http://wiki.commonjs.org/wiki/Packages/1.0 | CommonJS Packages specification}, the `version` field
1939
- * is normally a required field for package.json files.
1940
- *
1941
- * However, NodeJS relaxes this requirement for its `require()` API. The
1942
- * {@link https://nodejs.org/dist/latest-v10.x/docs/api/modules.html#modules_folders_as_modules
1943
- * | "Folders as Modules" section} from the NodeJS documentation gives an example of a package.json file
1944
- * that has only the `name` and `main` fields. NodeJS does not consider the `version` field during resolution,
1945
- * so it can be omitted. Some libraries do this.
1946
- *
1947
- * Use the `INodePackageJson` interface when loading such files. Use `IPackageJson` for package.json files
1948
- * that are installed from an NPM registry, or are otherwise known to have a `version` field.
1949
- *
1950
- * @public
1951
- */
1952
- export declare interface INodePackageJson {
1953
- /**
1954
- * The name of the package.
1955
- */
1956
- name: string;
1957
- /**
1958
- * A version number conforming to the Semantic Versioning (SemVer) standard.
1959
- */
1960
- version?: string;
1961
- /**
1962
- * Indicates whether this package is allowed to be published or not.
1963
- */
1964
- private?: boolean;
1965
- /**
1966
- * A brief description of the package.
1967
- */
1968
- description?: string;
1969
- /**
1970
- * The URL of the project's repository.
1971
- */
1972
- repository?: string | IPackageJsonRepository;
1973
- /**
1974
- * The URL to the project's web page.
1975
- */
1976
- homepage?: string;
1977
- /**
1978
- * The name of the license.
1979
- */
1980
- license?: string;
1981
- /**
1982
- * The path to the module file that will act as the main entry point.
1983
- */
1984
- main?: string;
1985
- /**
1986
- * The path to the TypeScript *.d.ts file describing the module file
1987
- * that will act as the main entry point.
1988
- */
1989
- types?: string;
1990
- /**
1991
- * Alias for `types`
1992
- */
1993
- typings?: string;
1994
- /**
1995
- * The path to the TSDoc metadata file.
1996
- * This is still being standardized: https://github.com/microsoft/tsdoc/issues/7#issuecomment-442271815
1997
- * @beta
1998
- */
1999
- tsdocMetadata?: string;
2000
- /**
2001
- * The main entry point for the package.
2002
- */
2003
- bin?: string;
2004
- /**
2005
- * An array of dependencies that must always be installed for this package.
2006
- */
2007
- dependencies?: IPackageJsonDependencyTable;
2008
- /**
2009
- * An array of optional dependencies that may be installed for this package.
2010
- */
2011
- optionalDependencies?: IPackageJsonDependencyTable;
2012
- /**
2013
- * An array of dependencies that must only be installed for developers who will
2014
- * build this package.
2015
- */
2016
- devDependencies?: IPackageJsonDependencyTable;
2017
- /**
2018
- * An array of dependencies that must be installed by a consumer of this package,
2019
- * but which will not be automatically installed by this package.
2020
- */
2021
- peerDependencies?: IPackageJsonDependencyTable;
2022
- /**
2023
- * A table of script hooks that a package manager or build tool may invoke.
2024
- */
2025
- scripts?: IPackageJsonScriptTable;
2026
- /**
2027
- * A table of package version resolutions. This feature is only implemented by the Yarn package manager.
2028
- *
2029
- * @remarks
2030
- * See the {@link https://github.com/yarnpkg/rfcs/blob/master/implemented/0000-selective-versions-resolutions.md
2031
- * | 0000-selective-versions-resolutions.md RFC} for details.
2032
- */
2033
- resolutions?: Record<string, string>;
2034
- }
2035
-
2036
- /**
2037
- * An `Error` subclass that should be thrown to report an unexpected state that may indicate a software defect.
2038
- * An application may handle this error by instructing the end user to report an issue to the application maintainers.
2039
- *
2040
- * @remarks
2041
- * Do not use this class unless you intend to solicit bug reports from end users.
2042
- *
2043
- * @public
2044
- */
2045
- export declare class InternalError extends Error {
2046
- /**
2047
- * If true, a JavScript `debugger;` statement will be invoked whenever the `InternalError` constructor is called.
2048
- *
2049
- * @remarks
2050
- * Generally applications should not be catching and ignoring an `InternalError`. Instead, the error should
2051
- * be reported and typically the application will terminate. Thus, if `InternalError` is constructed, it's
2052
- * almost always something we want to examine in a debugger.
2053
- */
2054
- static breakInDebugger: boolean;
2055
- /**
2056
- * The underlying error message, without the additional boilerplate for an `InternalError`.
2057
- */
2058
- readonly unformattedMessage: string;
2059
- /**
2060
- * Constructs a new instance of the {@link InternalError} class.
2061
- *
2062
- * @param message - A message describing the error. This will be assigned to
2063
- * {@link InternalError.unformattedMessage}. The `Error.message` field will have additional boilerplate
2064
- * explaining that the user has encountered a software defect.
2065
- */
2066
- constructor(message: string);
2067
- private static _formatMessage;
2068
- /** @override */
2069
- toString(): string;
2070
- }
2071
-
2072
- /**
2073
- * An interface for accessing common fields from a package.json file.
2074
- *
2075
- * @remarks
2076
- * This interface describes a package.json file format whose `name` and `version` field are required.
2077
- * In some situations, the `version` field is optional; in that case, use the {@link INodePackageJson}
2078
- * interface instead.
2079
- *
2080
- * More fields may be added to this interface in the future. For documentation about the package.json file format,
2081
- * see the {@link http://wiki.commonjs.org/wiki/Packages/1.0 | CommonJS Packages specification}
2082
- * and the {@link https://docs.npmjs.com/files/package.json | NPM manual page}.
2083
- *
2084
- * @public
2085
- */
2086
- export declare interface IPackageJson extends INodePackageJson {
2087
- /** {@inheritDoc INodePackageJson.version} */
2088
- version: string;
2089
- }
2090
-
2091
- /**
2092
- * This interface is part of the IPackageJson file format. It is used for the
2093
- * "dependencies", "optionalDependencies", and "devDependencies" fields.
2094
- * @public
2095
- */
2096
- export declare interface IPackageJsonDependencyTable {
2097
- /**
2098
- * The key is the name of a dependency. The value is a Semantic Versioning (SemVer)
2099
- * range specifier.
2100
- */
2101
- [dependencyName: string]: string;
2102
- }
2103
-
2104
- /**
2105
- * Constructor parameters for {@link PackageJsonLookup}
2106
- *
2107
- * @public
2108
- */
2109
- export declare interface IPackageJsonLookupParameters {
2110
- /**
2111
- * Certain package.json fields such as "contributors" can be very large, and may
2112
- * significantly increase the memory footprint for the PackageJsonLookup cache.
2113
- * By default, PackageJsonLookup only loads a subset of standard commonly used
2114
- * fields names. Set loadExtraFields=true to always return all fields.
2115
- */
2116
- loadExtraFields?: boolean;
2117
- }
2118
-
2119
- /**
2120
- * This interface is part of the IPackageJson file format. It is used for the
2121
- * "repository" field.
2122
- * @public
2123
- */
2124
- export declare interface IPackageJsonRepository {
2125
- /**
2126
- * The source control type for the repository that hosts the project. This is typically "git".
2127
- */
2128
- type: string;
2129
- /**
2130
- * The URL of the repository that hosts the project.
2131
- */
2132
- url: string;
2133
- /**
2134
- * If the project does not exist at the root of the repository, its path is specified here.
2135
- */
2136
- directory?: string;
2137
- }
2138
-
2139
- /**
2140
- * This interface is part of the IPackageJson file format. It is used for the
2141
- * "scripts" field.
2142
- * @public
2143
- */
2144
- export declare interface IPackageJsonScriptTable {
2145
- /**
2146
- * The key is the name of the script hook. The value is the script body which may
2147
- * be a file path or shell script command.
2148
- */
2149
- [scriptName: string]: string;
2150
- }
2151
-
2152
- /**
2153
- * Options that configure the validation rules used by a {@link PackageNameParser} instance.
2154
- *
2155
- * @remarks
2156
- * The default validation is based on the npmjs.com registry's policy for published packages, and includes these
2157
- * restrictions:
2158
- *
2159
- * - The package name cannot be longer than 214 characters.
2160
- *
2161
- * - The package name must not be empty.
2162
- *
2163
- * - Other than the `@` and `/` delimiters used for scopes, the only allowed characters
2164
- * are letters, numbers, `-`, `_`, and `.`.
2165
- *
2166
- * - The name must not start with a `.` or `_`.
2167
- *
2168
- * @public
2169
- */
2170
- export declare interface IPackageNameParserOptions {
2171
- /**
2172
- * If true, allows upper-case letters in package names.
2173
- * This improves compatibility with some legacy private registries that still allow that.
2174
- */
2175
- allowUpperCase?: boolean;
2176
- }
2177
-
2178
- /**
2179
- * A package name that has been separated into its scope and unscoped name.
2180
- *
2181
- * @public
2182
- */
2183
- export declare interface IParsedPackageName {
2184
- /**
2185
- * The parsed NPM scope, or an empty string if there was no scope. The scope value will
2186
- * always include the at-sign.
2187
- * @remarks
2188
- * For example, if the parsed input was "\@scope/example", then scope would be "\@scope".
2189
- */
2190
- scope: string;
2191
- /**
2192
- * The parsed NPM package name without the scope.
2193
- * @remarks
2194
- * For example, if the parsed input was "\@scope/example", then the name would be "example".
2195
- */
2196
- unscopedName: string;
2197
- }
2198
-
2199
- /**
2200
- * Result object returned by {@link PackageName.tryParse}
2201
- *
2202
- * @public
2203
- */
2204
- export declare interface IParsedPackageNameOrError extends IParsedPackageName {
2205
- /**
2206
- * If the input string could not be parsed, then this string will contain a nonempty
2207
- * error message. Otherwise it will be an empty string.
2208
- */
2209
- error: string;
2210
- }
2211
-
2212
- /**
2213
- * Options for {@link Path.formatConcisely}.
2214
- * @public
2215
- */
2216
- export declare interface IPathFormatConciselyOptions {
2217
- /**
2218
- * The path to be converted.
2219
- */
2220
- pathToConvert: string;
2221
- /**
2222
- * The base path to use when converting `pathToConvert` to a relative path.
2223
- */
2224
- baseFolder: string;
2225
- /**
2226
- * If set to true, don't include the leading `./` if the path is under the base folder.
2227
- */
2228
- trimLeadingDotSlash?: boolean;
2229
- }
2230
-
2231
- /**
2232
- * Options for {@link Path.formatFileLocation}.
2233
- * @public
2234
- */
2235
- export declare interface IPathFormatFileLocationOptions {
2236
- /**
2237
- * The base path to use when converting `pathToFormat` to a relative path. If not specified,
2238
- * `pathToFormat` will be used as-is.
2239
- */
2240
- baseFolder?: string;
2241
- /**
2242
- * The path that will be used to specify the file location.
2243
- */
2244
- pathToFormat: string;
2245
- /**
2246
- * The message related to the file location.
2247
- */
2248
- message: string;
2249
- /**
2250
- * The style of file location formatting to use.
2251
- */
2252
- format: FileLocationStyle;
2253
- /**
2254
- * The optional line number. If not specified, the line number will not be included
2255
- * in the formatted string.
2256
- */
2257
- line?: number;
2258
- /**
2259
- * The optional column number. If not specified, the column number will not be included
2260
- * in the formatted string.
2261
- */
2262
- column?: number;
2263
- }
2264
-
2265
- /**
2266
- * Constructor parameters for {@link ProtectableMap}
2267
- *
2268
- * @public
2269
- */
2270
- export declare interface IProtectableMapParameters<K, V> {
2271
- /**
2272
- * An optional hook that will be invoked before Map.clear() is performed.
2273
- */
2274
- onClear?: (source: ProtectableMap<K, V>) => void;
2275
- /**
2276
- * An optional hook that will be invoked before Map.delete() is performed.
2277
- */
2278
- onDelete?: (source: ProtectableMap<K, V>, key: K) => void;
2279
- /**
2280
- * An optional hook that will be invoked before Map.set() is performed.
2281
- * @remarks
2282
- * If this hook is provided, the function MUST return the `value` parameter.
2283
- * This provides the opportunity to modify the value before it is added
2284
- * to the map.
2285
- */
2286
- onSet?: (source: ProtectableMap<K, V>, key: K, value: V) => V;
2287
- }
2288
-
2289
- /**
2290
- * @remarks
2291
- * Used with {@link Async.runWithRetriesAsync}.
2292
- *
2293
- * @beta
2294
- */
2295
- export declare interface IRunWithRetriesOptions<TResult> {
2296
- action: () => Promise<TResult> | TResult;
2297
- maxRetries: number;
2298
- retryDelayMs?: number;
2299
- }
2300
-
2301
- /**
2302
- * @beta
2303
- */
2304
- export declare interface IStringBufferOutputOptions {
2305
- /**
2306
- * If set to true, special characters like \\n, \\r, and the \\u001b character
2307
- * in color control tokens will get normalized to [-n-], [-r-], and [-x-] respectively
2308
- *
2309
- * This option defaults to `true`
2310
- */
2311
- normalizeSpecialCharacters: boolean;
2312
- }
2313
-
2314
- /**
2315
- * An interface for a builder object that allows a large text string to be constructed incrementally by appending
2316
- * small chunks.
2317
- *
2318
- * @remarks
2319
- *
2320
- * {@link StringBuilder} is the default implementation of this contract.
2321
- *
2322
- * @public
2323
- */
2324
- export declare interface IStringBuilder {
2325
- /**
2326
- * Append the specified text to the buffer.
2327
- */
2328
- append(text: string): void;
2329
- /**
2330
- * Returns a single string containing all the text that was appended to the buffer so far.
2331
- *
2332
- * @remarks
2333
- *
2334
- * This is a potentially expensive operation.
2335
- */
2336
- toString(): string;
2337
- }
2338
-
2339
- /**
2340
- * Details about how the `child_process.ChildProcess` was created.
2341
- *
2342
- * @beta
2343
- */
2344
- export declare interface ISubprocessOptions {
2345
- /**
2346
- * Whether or not the child process was started in detached mode.
2347
- *
2348
- * @remarks
2349
- * On POSIX systems, detached=true is required for killing the subtree. Attempting to kill the
2350
- * subtree on POSIX systems with detached=false will throw an error. On Windows, detached=true
2351
- * creates a separate console window and is not required for killing the subtree. In general,
2352
- * it is recommended to use SubprocessTerminator.RECOMMENDED_OPTIONS when forking or spawning
2353
- * a child process.
2354
- */
2355
- detached: boolean;
2356
- }
2357
-
2358
- /**
2359
- * @beta
2360
- */
2361
- export declare interface ITerminal {
2362
- /**
2363
- * Subscribe a new terminal provider.
2364
- */
2365
- registerProvider(provider: ITerminalProvider): void;
2366
- /**
2367
- * Unsubscribe a terminal provider. If the provider isn't subscribed, this function does nothing.
2368
- */
2369
- unregisterProvider(provider: ITerminalProvider): void;
2370
- /**
2371
- * Write a generic message to the terminal
2372
- */
2373
- write(...messageParts: (string | IColorableSequence)[]): void;
2374
- /**
2375
- * Write a generic message to the terminal, followed by a newline
2376
- */
2377
- writeLine(...messageParts: (string | IColorableSequence)[]): void;
2378
- /**
2379
- * Write a warning message to the console with yellow text.
2380
- *
2381
- * @remarks
2382
- * The yellow color takes precedence over any other foreground colors set.
2383
- */
2384
- writeWarning(...messageParts: (string | IColorableSequence)[]): void;
2385
- /**
2386
- * Write a warning message to the console with yellow text, followed by a newline.
2387
- *
2388
- * @remarks
2389
- * The yellow color takes precedence over any other foreground colors set.
2390
- */
2391
- writeWarningLine(...messageParts: (string | IColorableSequence)[]): void;
2392
- /**
2393
- * Write an error message to the console with red text.
2394
- *
2395
- * @remarks
2396
- * The red color takes precedence over any other foreground colors set.
2397
- */
2398
- writeError(...messageParts: (string | IColorableSequence)[]): void;
2399
- /**
2400
- * Write an error message to the console with red text, followed by a newline.
2401
- *
2402
- * @remarks
2403
- * The red color takes precedence over any other foreground colors set.
2404
- */
2405
- writeErrorLine(...messageParts: (string | IColorableSequence)[]): void;
2406
- /**
2407
- * Write a verbose-level message.
2408
- */
2409
- writeVerbose(...messageParts: (string | IColorableSequence)[]): void;
2410
- /**
2411
- * Write a verbose-level message followed by a newline.
2412
- */
2413
- writeVerboseLine(...messageParts: (string | IColorableSequence)[]): void;
2414
- /**
2415
- * Write a debug-level message.
2416
- */
2417
- writeDebug(...messageParts: (string | IColorableSequence)[]): void;
2418
- /**
2419
- * Write a debug-level message followed by a newline.
2420
- */
2421
- writeDebugLine(...messageParts: (string | IColorableSequence)[]): void;
2422
- }
2423
-
2424
- /**
2425
- * Implement the interface to create a terminal provider. Terminal providers
2426
- * can be registered to a {@link Terminal} instance to receive messages.
2427
- *
2428
- * @beta
2429
- */
2430
- export declare interface ITerminalProvider {
2431
- /**
2432
- * This property should return true only if the terminal provider supports
2433
- * rendering console colors.
2434
- */
2435
- supportsColor: boolean;
2436
- /**
2437
- * This property should return the newline character the terminal provider
2438
- * expects.
2439
- */
2440
- eolCharacter: string;
2441
- /**
2442
- * This function gets called on every terminal provider upon every
2443
- * message function call on the terminal instance.
2444
- *
2445
- * @param data - The terminal message.
2446
- * @param severity - The message severity. Terminal providers can
2447
- * route different kinds of messages to different streams and may choose
2448
- * to ignore verbose or debug messages.
2449
- */
2450
- write(data: string, severity: TerminalProviderSeverity): void;
2451
- }
2452
-
2453
- /**
2454
- * Utilities for reading/writing JSON files.
2455
- * @public
2456
- */
2457
- export declare class JsonFile {
2458
- /**
2459
- * @internal
2460
- */
2461
- static _formatPathForError: (path: string) => string;
2462
- /**
2463
- * Loads a JSON file.
2464
- */
2465
- static load(jsonFilename: string, options?: IJsonFileParseOptions): JsonObject;
2466
- /**
2467
- * An async version of {@link JsonFile.load}.
2468
- */
2469
- static loadAsync(jsonFilename: string, options?: IJsonFileParseOptions): Promise<JsonObject>;
2470
- /**
2471
- * Parses a JSON file's contents.
2472
- */
2473
- static parseString(jsonContents: string, options?: IJsonFileParseOptions): JsonObject;
2474
- /**
2475
- * Loads a JSON file and validate its schema.
2476
- */
2477
- static loadAndValidate(jsonFilename: string, jsonSchema: JsonSchema, options?: IJsonFileLoadAndValidateOptions): JsonObject;
2478
- /**
2479
- * An async version of {@link JsonFile.loadAndValidate}.
2480
- */
2481
- static loadAndValidateAsync(jsonFilename: string, jsonSchema: JsonSchema, options?: IJsonFileLoadAndValidateOptions): Promise<JsonObject>;
2482
- /**
2483
- * Loads a JSON file and validate its schema, reporting errors using a callback
2484
- * @remarks
2485
- * See JsonSchema.validateObjectWithCallback() for more info.
2486
- */
2487
- static loadAndValidateWithCallback(jsonFilename: string, jsonSchema: JsonSchema, errorCallback: (errorInfo: IJsonSchemaErrorInfo) => void, options?: IJsonFileLoadAndValidateOptions): JsonObject;
2488
- /**
2489
- * An async version of {@link JsonFile.loadAndValidateWithCallback}.
2490
- */
2491
- static loadAndValidateWithCallbackAsync(jsonFilename: string, jsonSchema: JsonSchema, errorCallback: (errorInfo: IJsonSchemaErrorInfo) => void, options?: IJsonFileLoadAndValidateOptions): Promise<JsonObject>;
2492
- /**
2493
- * Serializes the specified JSON object to a string buffer.
2494
- * @param jsonObject - the object to be serialized
2495
- * @param options - other settings that control serialization
2496
- * @returns a JSON string, with newlines, and indented with two spaces
2497
- */
2498
- static stringify(jsonObject: JsonObject, options?: IJsonFileStringifyOptions): string;
2499
- /**
2500
- * Serializes the specified JSON object to a string buffer.
2501
- * @param jsonObject - the object to be serialized
2502
- * @param options - other settings that control serialization
2503
- * @returns a JSON string, with newlines, and indented with two spaces
2504
- */
2505
- static updateString(previousJson: string, newJsonObject: JsonObject, options?: IJsonFileStringifyOptions): string;
2506
- /**
2507
- * Saves the file to disk. Returns false if nothing was written due to options.onlyIfChanged.
2508
- * @param jsonObject - the object to be saved
2509
- * @param jsonFilename - the file path to write
2510
- * @param options - other settings that control how the file is saved
2511
- * @returns false if ISaveJsonFileOptions.onlyIfChanged didn't save anything; true otherwise
2512
- */
2513
- static save(jsonObject: JsonObject, jsonFilename: string, options?: IJsonFileSaveOptions): boolean;
2514
- /**
2515
- * An async version of {@link JsonFile.save}.
2516
- */
2517
- static saveAsync(jsonObject: JsonObject, jsonFilename: string, options?: IJsonFileSaveOptions): Promise<boolean>;
2518
- /**
2519
- * Used to validate a data structure before writing. Reports an error if there
2520
- * are any undefined members.
2521
- */
2522
- static validateNoUndefinedMembers(jsonObject: JsonObject): void;
2523
- private static _validateNoUndefinedMembers;
2524
- private static _formatKeyPath;
2525
- private static _formatJsonHeaderComment;
2526
- private static _buildJjuParseOptions;
2527
- }
2528
-
2529
- /**
2530
- * The Rush Stack lint rules discourage usage of `null`. However, JSON parsers always return JavaScript's
2531
- * `null` to keep the two syntaxes consistent. When creating interfaces that describe JSON structures,
2532
- * use `JsonNull` to avoid triggering the lint rule. Do not use `JsonNull` for any other purpose.
2533
- *
2534
- * @remarks
2535
- * If you are designing a new JSON file format, it's a good idea to avoid `null` entirely. In most cases
2536
- * there are better representations that convey more information about an item that is unknown, omitted, or disabled.
2537
- *
2538
- * To understand why `null` is deprecated, please see the `@rushstack/eslint-plugin` documentation here:
2539
- *
2540
- * {@link https://www.npmjs.com/package/@rushstack/eslint-plugin#rushstackno-null}
2541
- *
2542
- * @public
2543
- */
2544
- export declare type JsonNull = null;
2545
-
2546
- /**
2547
- * Represents a JSON-serializable object whose type has not been determined yet.
2548
- *
2549
- * @remarks
2550
- *
2551
- * This type is similar to `any`, except that it communicates that the object is serializable JSON.
2552
- *
2553
- * @public
2554
- */
2555
- export declare type JsonObject = any;
2556
-
2557
- /**
2558
- * Represents a JSON schema that can be used to validate JSON data files loaded by the JsonFile class.
2559
- * @remarks
2560
- * The schema itself is normally loaded and compiled later, only if it is actually required to validate
2561
- * an input. To avoid schema errors at runtime, it's recommended to create a unit test that calls
2562
- * JsonSchema.ensureCompiled() for each of your schema objects.
2563
- *
2564
- * @public
2565
- */
2566
- export declare class JsonSchema {
2567
- private _dependentSchemas;
2568
- private _filename;
2569
- private _validator;
2570
- private _schemaObject;
2571
- private constructor();
2572
- /**
2573
- * Registers a JsonSchema that will be loaded from a file on disk.
2574
- * @remarks
2575
- * NOTE: An error occurs if the file does not exist; however, the file itself is not loaded or validated
2576
- * until it the schema is actually used.
2577
- */
2578
- static fromFile(filename: string, options?: IJsonSchemaFromFileOptions): JsonSchema;
2579
- /**
2580
- * Registers a JsonSchema that will be loaded from a file on disk.
2581
- * @remarks
2582
- * NOTE: An error occurs if the file does not exist; however, the file itself is not loaded or validated
2583
- * until it the schema is actually used.
2584
- */
2585
- static fromLoadedObject(schemaObject: JsonObject): JsonSchema;
2586
- private static _collectDependentSchemas;
2587
- /**
2588
- * Used to nicely format the ZSchema error tree.
2589
- */
2590
- private static _formatErrorDetails;
2591
- /**
2592
- * Used by _formatErrorDetails.
2593
- */
2594
- private static _formatErrorDetailsHelper;
2595
- /**
2596
- * Returns a short name for this schema, for use in error messages.
2597
- * @remarks
2598
- * If the schema was loaded from a file, then the base filename is used. Otherwise, the "id"
2599
- * field is used if available.
2600
- */
2601
- get shortName(): string;
2602
- /**
2603
- * If not already done, this loads the schema from disk and compiles it.
2604
- * @remarks
2605
- * Any dependencies will be compiled as well.
2606
- */
2607
- ensureCompiled(): void;
2608
- /**
2609
- * Validates the specified JSON object against this JSON schema. If the validation fails,
2610
- * an exception will be thrown.
2611
- * @param jsonObject - The JSON data to be validated
2612
- * @param filenameForErrors - The filename that the JSON data was available, or an empty string
2613
- * if not applicable
2614
- * @param options - Other options that control the validation
2615
- */
2616
- validateObject(jsonObject: JsonObject, filenameForErrors: string, options?: IJsonSchemaValidateOptions): void;
2617
- /**
2618
- * Validates the specified JSON object against this JSON schema. If the validation fails,
2619
- * a callback is called for each validation error.
2620
- */
2621
- validateObjectWithCallback(jsonObject: JsonObject, errorCallback: (errorInfo: IJsonSchemaErrorInfo) => void): void;
2622
- private _ensureLoaded;
2623
- }
2624
-
2625
- /**
2626
- * Specifies the variant of JSON syntax to be used.
2627
- *
2628
- * @public
2629
- */
2630
- export declare enum JsonSyntax {
2631
- /**
2632
- * Specifies the exact RFC 8259 format as implemented by the `JSON.parse()` system API.
2633
- * This format was designed for machine generated inputs such as an HTTP payload.
2634
- * It is not a recommend choice for human-authored files, because it does not support
2635
- * code comments.
2636
- *
2637
- * @remarks
2638
- *
2639
- * A well-known quote from Douglas Crockford, the inventor of JSON:
2640
- *
2641
- * "I removed comments from JSON because I saw people were using them to hold parsing directives,
2642
- * a practice which would have destroyed interoperability. I know that the lack of comments makes
2643
- * some people sad, but it shouldn't. Suppose you are using JSON to keep configuration files,
2644
- * which you would like to annotate. Go ahead and insert all the comments you like.
2645
- * Then pipe it through JSMin before handing it to your JSON parser."
2646
- *
2647
- * @see {@link https://datatracker.ietf.org/doc/html/rfc8259 | RFC 8259}
2648
- */
2649
- Strict = "strict",
2650
- /**
2651
- * `JsonSyntax.JsonWithComments` is the recommended format for human-authored config files.
2652
- * It is a minimal extension to `JsonSyntax.Strict` adding support for code comments
2653
- * using `//` and `/*`.
2654
- *
2655
- * @remarks
2656
- *
2657
- * VS Code calls this format `jsonc`, but it should not be confused with unrelated file formats
2658
- * and libraries that also use the name "JSONC".
2659
- *
2660
- * To fix VS Code syntax highlighting, add this setting:
2661
- * `"files.associations": { "*.json": "jsonc" }`
2662
- *
2663
- * To fix GitHub syntax highlighting, add this to your `.gitattributes`:
2664
- * `*.json linguist-language=JSON-with-Comments`
2665
- */
2666
- JsonWithComments = "jsonWithComments",
2667
- /**
2668
- * JSON5 is a project that proposes a JSON-like format supplemented with ECMAScript 5.1
2669
- * notations for objects, numbers, comments, and more.
2670
- *
2671
- * @remarks
2672
- * Files using this format should use the `.json5` file extension instead of `.json`.
2673
- *
2674
- * JSON5 has substantial differences from JSON: object keys may be unquoted, trailing commas
2675
- * are allowed, and strings may span multiple lines. Whereas `JsonSyntax.JsonWithComments` can
2676
- * be cheaply converted to standard JSON by stripping comments, parsing JSON5 requires a
2677
- * nontrivial algorithm that may not be easily available in some contexts or programming languages.
2678
- *
2679
- * @see {@link https://json5.org/ | JSON5 project website}
2680
- */
2681
- Json5 = "json5"
2682
- }
2683
-
2684
- /**
2685
- * Helper functions used when interacting with APIs that do not follow modern coding practices.
2686
- * @public
2687
- */
2688
- export declare class LegacyAdapters {
2689
- /**
2690
- * This function wraps a function with a callback in a promise.
2691
- */
2692
- static convertCallbackToPromise<TResult, TError>(fn: (cb: LegacyCallback<TResult, TError>) => void): Promise<TResult>;
2693
- static convertCallbackToPromise<TResult, TError, TArg1>(fn: (arg1: TArg1, cb: LegacyCallback<TResult, TError>) => void, arg1: TArg1): Promise<TResult>;
2694
- static convertCallbackToPromise<TResult, TError, TArg1, TArg2>(fn: (arg1: TArg1, arg2: TArg2, cb: LegacyCallback<TResult, TError>) => void, arg1: TArg1, arg2: TArg2): Promise<TResult>;
2695
- static convertCallbackToPromise<TResult, TError, TArg1, TArg2, TArg3>(fn: (arg1: TArg1, arg2: TArg2, arg3: TArg3, cb: LegacyCallback<TResult, TError>) => void, arg1: TArg1, arg2: TArg2, arg3: TArg3): Promise<TResult>;
2696
- static convertCallbackToPromise<TResult, TError, TArg1, TArg2, TArg3, TArg4>(fn: (arg1: TArg1, arg2: TArg2, arg3: TArg3, arg4: TArg4, cb: LegacyCallback<TResult, TError>) => void, arg1: TArg1, arg2: TArg2, arg3: TArg3, arg4: TArg4): Promise<TResult>;
2697
- /**
2698
- * Normalizes an object into an `Error` object.
2699
- */
2700
- static scrubError(error: Error | string | any): Error;
2701
- /**
2702
- * Prior to Node 11.x, the `Array.sort()` algorithm is not guaranteed to be stable.
2703
- * If you need a stable sort, you can use `sortStable()` as a workaround.
2704
- *
2705
- * @deprecated
2706
- * Use native Array.sort(), since Node &lt; 14 is no longer supported
2707
- * @remarks
2708
- * On NodeJS 11.x and later, this method simply calls the native `Array.sort()`.
2709
- */
2710
- static sortStable<T>(array: T[], compare?: (a: T, b: T) => number): void;
2711
- }
2712
-
2713
- /**
2714
- * Callback used by {@link LegacyAdapters}.
2715
- * @public
2716
- */
2717
- export declare type LegacyCallback<TResult, TError> = (error: TError | null | undefined, result: TResult) => void;
2718
-
2719
- /**
2720
- * The `LockFile` implements a file-based mutex for synchronizing access to a shared resource
2721
- * between multiple Node.js processes. It is not recommended for synchronization solely within
2722
- * a single Node.js process.
2723
- * @remarks
2724
- * The implementation works on Windows, Mac, and Linux without requiring any native helpers.
2725
- * On non-Windows systems, the algorithm requires access to the `ps` shell command. On Linux,
2726
- * it requires access the `/proc/${pidString}/stat` filesystem.
2727
- * @public
2728
- */
2729
- export declare class LockFile {
2730
- private static _getStartTime;
2731
- private _fileWriter;
2732
- private _filePath;
2733
- private _dirtyWhenAcquired;
2734
- private constructor();
2735
- /**
2736
- * Returns the path of the lockfile that will be created when a lock is successfully acquired.
2737
- * @param resourceFolder - The folder where the lock file will be created
2738
- * @param resourceName - An alphanumeric name that describes the resource being locked. This will become
2739
- * the filename of the temporary file created to manage the lock.
2740
- * @param pid - The PID for the current Node.js process (`process.pid`), which is used by the locking algorithm.
2741
- */
2742
- static getLockFilePath(resourceFolder: string, resourceName: string, pid?: number): string;
2743
- /**
2744
- * Attempts to create a lockfile with the given filePath.
2745
- * @param resourceFolder - The folder where the lock file will be created
2746
- * @param resourceName - An alphanumeric name that describes the resource being locked. This will become
2747
- * the filename of the temporary file created to manage the lock.
2748
- * @returns If successful, returns a `LockFile` instance. If unable to get a lock, returns `undefined`.
2749
- */
2750
- static tryAcquire(resourceFolder: string, resourceName: string): LockFile | undefined;
2751
- /**
2752
- * Attempts to create the lockfile. Will continue to loop at every 100ms until the lock becomes available
2753
- * or the maxWaitMs is surpassed.
2754
- *
2755
- * @remarks
2756
- * This function is subject to starvation, whereby it does not ensure that the process that has been
2757
- * waiting the longest to acquire the lock will get it first. This means that a process could theoretically
2758
- * wait for the lock forever, while other processes skipped it in line and acquired the lock first.
2759
- *
2760
- * @param resourceFolder - The folder where the lock file will be created
2761
- * @param resourceName - An alphanumeric name that describes the resource being locked. This will become
2762
- * the filename of the temporary file created to manage the lock.
2763
- * @param maxWaitMs - The maximum number of milliseconds to wait for the lock before reporting an error
2764
- */
2765
- static acquire(resourceFolder: string, resourceName: string, maxWaitMs?: number): Promise<LockFile>;
2766
- /**
2767
- * Attempts to acquire the lock on a Linux or OSX machine
2768
- */
2769
- private static _tryAcquireMacOrLinux;
2770
- /**
2771
- * Attempts to acquire the lock using Windows
2772
- * This algorithm is much simpler since we can rely on the operating system
2773
- */
2774
- private static _tryAcquireWindows;
2775
- /**
2776
- * Unlocks a file and optionally removes it from disk.
2777
- * This can only be called once.
2778
- *
2779
- * @param deleteFile - Whether to delete the lockfile from disk. Defaults to true.
2780
- */
2781
- release(deleteFile?: boolean): void;
2782
- /**
2783
- * Returns the initial state of the lock.
2784
- * This can be used to detect if the previous process was terminated before releasing the resource.
2785
- */
2786
- get dirtyWhenAcquired(): boolean;
2787
- /**
2788
- * Returns the absolute path to the lockfile
2789
- */
2790
- get filePath(): string;
2791
- /**
2792
- * Returns true if this lock is currently being held.
2793
- */
2794
- get isReleased(): boolean;
2795
- }
2796
-
2797
- /**
2798
- * Helper functions for working with the `Map<K, V>` data type.
2799
- *
2800
- * @public
2801
- */
2802
- export declare class MapExtensions {
2803
- /**
2804
- * Adds all the (key, value) pairs from the source map into the target map.
2805
- * @remarks
2806
- * This function modifies targetMap. Any existing keys will be overwritten.
2807
- * @param targetMap - The map that entries will be added to
2808
- * @param sourceMap - The map containing the entries to be added
2809
- */
2810
- static mergeFromMap<K, V>(targetMap: Map<K, V>, sourceMap: ReadonlyMap<K, V>): void;
2811
- /**
2812
- * Converts a string-keyed map to an object.
2813
- * @remarks
2814
- * This function has the same effect as Object.fromEntries(map.entries())
2815
- * in supported versions of Node (\>= 12.0.0).
2816
- * @param map - The map that the object properties will be sourced from
2817
- */
2818
- static toObject<TValue>(map: Map<string, TValue>): {
2819
- [key: string]: TValue;
2820
- };
2821
- }
2822
-
2823
- /**
2824
- * Enumeration controlling conversion of newline characters.
2825
- * @public
2826
- */
2827
- export declare enum NewlineKind {
2828
- /**
2829
- * Windows-style newlines
2830
- */
2831
- CrLf = "\r\n",
2832
- /**
2833
- * POSIX-style newlines
2834
- *
2835
- * @remarks
2836
- * POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
2837
- */
2838
- Lf = "\n",
2839
- /**
2840
- * Default newline type for this operating system (`os.EOL`).
2841
- */
2842
- OsDefault = "os"
2843
- }
2844
-
2845
- /**
2846
- * This class provides methods for finding the nearest "package.json" for a folder
2847
- * and retrieving the name of the package. The results are cached.
2848
- *
2849
- * @public
2850
- */
2851
- export declare class PackageJsonLookup {
2852
- private static _instance;
2853
- /**
2854
- * A singleton instance of `PackageJsonLookup`, which is useful for short-lived processes
2855
- * that can reasonably assume that the file system will not be modified after the cache
2856
- * is populated.
2857
- *
2858
- * @remarks
2859
- * For long-running processes that need to clear the cache at appropriate times,
2860
- * it is recommended to create your own instance of `PackageJsonLookup` instead
2861
- * of relying on this instance.
2862
- */
2863
- static get instance(): PackageJsonLookup;
2864
- private _loadExtraFields;
2865
- private _packageFolderCache;
2866
- private _packageJsonCache;
2867
- constructor(parameters?: IPackageJsonLookupParameters);
2868
- /**
2869
- * A helper for loading the caller's own package.json file.
2870
- *
2871
- * @remarks
2872
- *
2873
- * This function provides a concise and efficient way for an NPM package to report metadata about itself.
2874
- * For example, a tool might want to report its version.
2875
- *
2876
- * The `loadOwnPackageJson()` probes upwards from the caller's folder, expecting to find a package.json file,
2877
- * which is assumed to be the caller's package. The result is cached, under the assumption that a tool's
2878
- * own package.json (and intermediary folders) will never change during the lifetime of the process.
2879
- *
2880
- * @example
2881
- * ```ts
2882
- * // Report the version of our NPM package
2883
- * const myPackageVersion: string = PackageJsonLookup.loadOwnPackageJson(__dirname).version;
2884
- * console.log(`Cool Tool - Version ${myPackageVersion}`);
2885
- * ```
2886
- *
2887
- * @param dirnameOfCaller - The NodeJS `__dirname` macro for the caller.
2888
- * @returns This function always returns a valid `IPackageJson` object. If any problems are encountered during
2889
- * loading, an exception will be thrown instead.
2890
- */
2891
- static loadOwnPackageJson(dirnameOfCaller: string): IPackageJson;
2892
- /**
2893
- * Clears the internal file cache.
2894
- * @remarks
2895
- * Call this method if changes have been made to the package.json files on disk.
2896
- */
2897
- clearCache(): void;
2898
- /**
2899
- * Returns the absolute path of a folder containing a package.json file, by looking
2900
- * upwards from the specified fileOrFolderPath. If no package.json can be found,
2901
- * undefined is returned.
2902
- *
2903
- * @remarks
2904
- * The fileOrFolderPath is not required to actually exist on disk.
2905
- * The fileOrFolderPath itself can be the return value, if it is a folder containing
2906
- * a package.json file.
2907
- * Both positive and negative lookup results are cached.
2908
- *
2909
- * @param fileOrFolderPath - a relative or absolute path to a source file or folder
2910
- * that may be part of a package
2911
- * @returns an absolute path to a folder containing a package.json file
2912
- */
2913
- tryGetPackageFolderFor(fileOrFolderPath: string): string | undefined;
2914
- /**
2915
- * If the specified file or folder is part of a package, this returns the absolute path
2916
- * to the associated package.json file.
2917
- *
2918
- * @remarks
2919
- * The package folder is determined using the same algorithm
2920
- * as {@link PackageJsonLookup.tryGetPackageFolderFor}.
2921
- *
2922
- * @param fileOrFolderPath - a relative or absolute path to a source file or folder
2923
- * that may be part of a package
2924
- * @returns an absolute path to * package.json file
2925
- */
2926
- tryGetPackageJsonFilePathFor(fileOrFolderPath: string): string | undefined;
2927
- /**
2928
- * If the specified file or folder is part of a package, this loads and returns the
2929
- * associated package.json file.
2930
- *
2931
- * @remarks
2932
- * The package folder is determined using the same algorithm
2933
- * as {@link PackageJsonLookup.tryGetPackageFolderFor}.
2934
- *
2935
- * @param fileOrFolderPath - a relative or absolute path to a source file or folder
2936
- * that may be part of a package
2937
- * @returns an IPackageJson object, or undefined if the fileOrFolderPath does not
2938
- * belong to a package
2939
- */
2940
- tryLoadPackageJsonFor(fileOrFolderPath: string): IPackageJson | undefined;
2941
- /**
2942
- * This function is similar to {@link PackageJsonLookup.tryLoadPackageJsonFor}, except that it does not report
2943
- * an error if the `version` field is missing from the package.json file.
2944
- */
2945
- tryLoadNodePackageJsonFor(fileOrFolderPath: string): INodePackageJson | undefined;
2946
- /**
2947
- * Loads the specified package.json file, if it is not already present in the cache.
2948
- *
2949
- * @remarks
2950
- * Unless {@link IPackageJsonLookupParameters.loadExtraFields} was specified,
2951
- * the returned IPackageJson object will contain a subset of essential fields.
2952
- * The returned object should be considered to be immutable; the caller must never
2953
- * modify it.
2954
- *
2955
- * @param jsonFilename - a relative or absolute path to a package.json file
2956
- */
2957
- loadPackageJson(jsonFilename: string): IPackageJson;
2958
- /**
2959
- * This function is similar to {@link PackageJsonLookup.loadPackageJson}, except that it does not report an error
2960
- * if the `version` field is missing from the package.json file.
2961
- */
2962
- loadNodePackageJson(jsonFilename: string): INodePackageJson;
2963
- private _loadPackageJsonInner;
2964
- /**
2965
- * Try to load a package.json file as an INodePackageJson,
2966
- * returning undefined if the found file does not contain a `name` field.
2967
- */
2968
- private _tryLoadNodePackageJsonInner;
2969
- private _tryGetPackageFolderFor;
2970
- }
2971
-
2972
- /**
2973
- * Provides basic operations for validating and manipulating NPM package names such as `my-package`
2974
- * or `@scope/my-package`.
2975
- *
2976
- * @remarks
2977
- * This is the default implementation of {@link PackageNameParser}, exposed as a convenient static class.
2978
- * If you need to configure the parsing rules, use `PackageNameParser` instead.
2979
- *
2980
- * @public
2981
- */
2982
- export declare class PackageName {
2983
- private static readonly _parser;
2984
- /** {@inheritDoc PackageNameParser.tryParse} */
2985
- static tryParse(packageName: string): IParsedPackageNameOrError;
2986
- /** {@inheritDoc PackageNameParser.parse} */
2987
- static parse(packageName: string): IParsedPackageName;
2988
- /** {@inheritDoc PackageNameParser.getScope} */
2989
- static getScope(packageName: string): string;
2990
- /** {@inheritDoc PackageNameParser.getUnscopedName} */
2991
- static getUnscopedName(packageName: string): string;
2992
- /** {@inheritDoc PackageNameParser.isValidName} */
2993
- static isValidName(packageName: string): boolean;
2994
- /** {@inheritDoc PackageNameParser.validate} */
2995
- static validate(packageName: string): void;
2996
- /** {@inheritDoc PackageNameParser.combineParts} */
2997
- static combineParts(scope: string, unscopedName: string): string;
2998
- }
2999
-
3000
- /**
3001
- * A configurable parser for validating and manipulating NPM package names such as `my-package` or `@scope/my-package`.
3002
- *
3003
- * @remarks
3004
- * If you do not need to customize the parser configuration, it is recommended to use {@link PackageName}
3005
- * which exposes these operations as a simple static class.
3006
- *
3007
- * @public
3008
- */
3009
- export declare class PackageNameParser {
3010
- private static readonly _invalidNameCharactersRegExp;
3011
- private readonly _options;
3012
- constructor(options?: IPackageNameParserOptions);
3013
- /**
3014
- * This attempts to parse a package name that may include a scope component.
3015
- * The packageName must not be an empty string.
3016
- * @remarks
3017
- * This function will not throw an exception.
3018
- *
3019
- * @returns an {@link IParsedPackageNameOrError} structure whose `error` property will be
3020
- * nonempty if the string could not be parsed.
3021
- */
3022
- tryParse(packageName: string): IParsedPackageNameOrError;
3023
- /**
3024
- * Same as {@link PackageName.tryParse}, except this throws an exception if the input
3025
- * cannot be parsed.
3026
- * @remarks
3027
- * The packageName must not be an empty string.
3028
- */
3029
- parse(packageName: string): IParsedPackageName;
3030
- /**
3031
- * {@inheritDoc IParsedPackageName.scope}
3032
- */
3033
- getScope(packageName: string): string;
3034
- /**
3035
- * {@inheritDoc IParsedPackageName.unscopedName}
3036
- */
3037
- getUnscopedName(packageName: string): string;
3038
- /**
3039
- * Returns true if the specified package name is valid, or false otherwise.
3040
- * @remarks
3041
- * This function will not throw an exception.
3042
- */
3043
- isValidName(packageName: string): boolean;
3044
- /**
3045
- * Throws an exception if the specified name is not a valid package name.
3046
- * The packageName must not be an empty string.
3047
- */
3048
- validate(packageName: string): void;
3049
- /**
3050
- * Combines an optional package scope with an unscoped root name.
3051
- * @param scope - Must be either an empty string, or a scope name such as "\@example"
3052
- * @param unscopedName - Must be a nonempty package name that does not contain a scope
3053
- * @returns A full package name such as "\@example/some-library".
3054
- */
3055
- combineParts(scope: string, unscopedName: string): string;
3056
- }
3057
-
3058
- /**
3059
- * Common operations for manipulating file and directory paths.
3060
- * @remarks
3061
- * This API is intended to eventually be a complete replacement for the NodeJS "path" API.
3062
- * @public
3063
- */
3064
- export declare class Path {
3065
- private static _relativePathRegex;
3066
- private static _upwardPathSegmentRegex;
3067
- /**
3068
- * Returns true if "childPath" is located inside the "parentFolderPath" folder
3069
- * or one of its child folders. Note that "parentFolderPath" is not considered to be
3070
- * under itself. The "childPath" can refer to any type of file system object.
3071
- *
3072
- * @remarks
3073
- * The indicated file/folder objects are not required to actually exist on disk.
3074
- * For example, "parentFolderPath" is interpreted as a folder name even if it refers to a file.
3075
- * If the paths are relative, they will first be resolved using path.resolve().
3076
- */
3077
- static isUnder(childPath: string, parentFolderPath: string): boolean;
3078
- /**
3079
- * Returns true if "childPath" is equal to "parentFolderPath", or if it is inside that folder
3080
- * or one of its children. The "childPath" can refer to any type of file system object.
3081
- *
3082
- * @remarks
3083
- * The indicated file/folder objects are not required to actually exist on disk.
3084
- * For example, "parentFolderPath" is interpreted as a folder name even if it refers to a file.
3085
- * If the paths are relative, they will first be resolved using path.resolve().
3086
- */
3087
- static isUnderOrEqual(childPath: string, parentFolderPath: string): boolean;
3088
- /**
3089
- * Returns true if `path1` and `path2` refer to the same underlying path.
3090
- *
3091
- * @remarks
3092
- *
3093
- * The comparison is performed using `path.relative()`.
3094
- */
3095
- static isEqual(path1: string, path2: string): boolean;
3096
- /**
3097
- * Formats a path to look nice for reporting purposes.
3098
- * @remarks
3099
- * If `pathToConvert` is under the `baseFolder`, then it will be converted to a relative with the `./` prefix
3100
- * unless the {@link IPathFormatConciselyOptions.trimLeadingDotSlash} option is set to `true`.
3101
- * Otherwise, it will be converted to an absolute path.
3102
- *
3103
- * Backslashes will be converted to slashes, unless the path starts with an OS-specific string like `C:\`.
3104
- */
3105
- static formatConcisely(options: IPathFormatConciselyOptions): string;
3106
- /**
3107
- * Formats a file location to look nice for reporting purposes.
3108
- * @remarks
3109
- * If `pathToFormat` is under the `baseFolder`, then it will be converted to a relative with the `./` prefix.
3110
- * Otherwise, it will be converted to an absolute path.
3111
- *
3112
- * Backslashes will be converted to slashes, unless the path starts with an OS-specific string like `C:\`.
3113
- */
3114
- static formatFileLocation(options: IPathFormatFileLocationOptions): string;
3115
- /**
3116
- * Replaces Windows-style backslashes with POSIX-style slashes.
3117
- *
3118
- * @remarks
3119
- * POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
3120
- */
3121
- static convertToSlashes(inputPath: string): string;
3122
- /**
3123
- * Replaces POSIX-style slashes with Windows-style backslashes
3124
- *
3125
- * @remarks
3126
- * POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
3127
- */
3128
- static convertToBackslashes(inputPath: string): string;
3129
- /**
3130
- * Replaces slashes or backslashes with the appropriate slash for the current operating system.
3131
- */
3132
- static convertToPlatformDefault(inputPath: string): string;
3133
- /**
3134
- * Returns true if the specified path is a relative path and does not use `..` to walk upwards.
3135
- *
3136
- * @example
3137
- * ```ts
3138
- * // These evaluate to true
3139
- * isDownwardRelative('folder');
3140
- * isDownwardRelative('file');
3141
- * isDownwardRelative('folder/');
3142
- * isDownwardRelative('./folder/');
3143
- * isDownwardRelative('./folder/file');
3144
- *
3145
- * // These evaluate to false
3146
- * isDownwardRelative('../folder');
3147
- * isDownwardRelative('folder/../file');
3148
- * isDownwardRelative('/folder/file');
3149
- * ```
3150
- */
3151
- static isDownwardRelative(inputPath: string): boolean;
3152
- }
3153
-
3154
- /**
3155
- * An integer value used to specify file permissions for POSIX-like operating systems.
3156
- *
3157
- * @remarks
3158
- *
3159
- * This bitfield corresponds to the "mode_t" structure described in this document:
3160
- * http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html
3161
- *
3162
- * It is used with NodeJS APIs such as fs.Stat.mode and fs.chmodSync(). These values
3163
- * represent a set of permissions and can be combined using bitwise arithmetic.
3164
- *
3165
- * POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
3166
- *
3167
- * @public
3168
- */
3169
- export declare enum PosixModeBits {
3170
- /**
3171
- * Indicates that the item's owner can read the item.
3172
- */
3173
- UserRead = 256,
3174
- /**
3175
- * Indicates that the item's owner can modify the item.
3176
- */
3177
- UserWrite = 128,
3178
- /**
3179
- * Indicates that the item's owner can execute the item (if it is a file)
3180
- * or search the item (if it is a directory).
3181
- */
3182
- UserExecute = 64,
3183
- /**
3184
- * Indicates that users belonging to the item's group can read the item.
3185
- */
3186
- GroupRead = 32,
3187
- /**
3188
- * Indicates that users belonging to the item's group can modify the item.
3189
- */
3190
- GroupWrite = 16,
3191
- /**
3192
- * Indicates that users belonging to the item's group can execute the item (if it is a file)
3193
- * or search the item (if it is a directory).
3194
- */
3195
- GroupExecute = 8,
3196
- /**
3197
- * Indicates that other users (besides the item's owner user or group) can read the item.
3198
- */
3199
- OthersRead = 4,
3200
- /**
3201
- * Indicates that other users (besides the item's owner user or group) can modify the item.
3202
- */
3203
- OthersWrite = 2,
3204
- /**
3205
- * Indicates that other users (besides the item's owner user or group) can execute the item (if it is a file)
3206
- * or search the item (if it is a directory).
3207
- */
3208
- OthersExecute = 1,
3209
- /**
3210
- * A zero value where no permissions bits are set.
3211
- */
3212
- None = 0,
3213
- /**
3214
- * An alias combining OthersRead, GroupRead, and UserRead permission bits.
3215
- */
3216
- AllRead = 292,
3217
- /**
3218
- * An alias combining OthersWrite, GroupWrite, and UserWrite permission bits.
3219
- */
3220
- AllWrite = 146,
3221
- /**
3222
- * An alias combining OthersExecute, GroupExecute, and UserExecute permission bits.
3223
- */
3224
- AllExecute = 73
3225
- }
3226
-
3227
- /**
3228
- * The ProtectableMap provides an easy way for an API to expose a `Map<K, V>` property
3229
- * while intercepting and validating any write operations that are performed by
3230
- * consumers of the API.
3231
- *
3232
- * @remarks
3233
- * The ProtectableMap itself is intended to be a private object that only its owner
3234
- * can access directly. Any operations performed directly on the ProtectableMap will
3235
- * bypass the hooks and any validation they perform. The public property that is exposed
3236
- * to API consumers should return {@link ProtectableMap.protectedView} instead.
3237
- *
3238
- * For example, suppose you want to share your `Map<string, number>` data structure,
3239
- * but you want to enforce that the key must always be an upper case string:
3240
- * You could use the onSet() hook to validate the keys and throw an exception
3241
- * if the key is not uppercase.
3242
- *
3243
- * @public
3244
- */
3245
- export declare class ProtectableMap<K, V> {
3246
- private readonly _protectedView;
3247
- constructor(parameters: IProtectableMapParameters<K, V>);
3248
- /**
3249
- * The owner of the protectable map should return this object via its public API.
3250
- */
3251
- get protectedView(): Map<K, V>;
3252
- /**
3253
- * Removes all entries from the map.
3254
- * This operation does NOT invoke the ProtectableMap onClear() hook.
3255
- */
3256
- clear(): void;
3257
- /**
3258
- * Removes the specified key from the map.
3259
- * This operation does NOT invoke the ProtectableMap onDelete() hook.
3260
- */
3261
- delete(key: K): boolean;
3262
- /**
3263
- * Sets a value for the specified key.
3264
- * This operation does NOT invoke the ProtectableMap onSet() hook.
3265
- */
3266
- set(key: K, value: V): this;
3267
- /**
3268
- * Performs an operation for each (key, value) entries in the map.
3269
- */
3270
- forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;
3271
- /**
3272
- * Retrieves the value for the specified key.
3273
- * @returns undefined if the value is undefined OR if the key is missing;
3274
- * otherwise returns the value associated with the key.
3275
- */
3276
- get(key: K): V | undefined;
3277
- /**
3278
- * Returns true if the specified key belongs to the map.
3279
- */
3280
- has(key: K): boolean;
3281
- /**
3282
- * Returns the number of (key, value) entries in the map.
3283
- */
3284
- get size(): number;
3285
- }
3286
-
3287
- /**
3288
- * Operations for sorting collections.
3289
- *
3290
- * @public
3291
- */
3292
- export declare class Sort {
3293
- /**
3294
- * Compares `x` and `y` using the JavaScript `>` and `<` operators. This function is suitable for usage as
3295
- * the callback for `array.sort()`.
3296
- *
3297
- * @remarks
3298
- *
3299
- * The JavaScript ordering is generalized so that `undefined` \< `null` \< all other values.
3300
- *
3301
- * @returns -1 if `x` is smaller than `y`, 1 if `x` is greater than `y`, or 0 if the values are equal.
3302
- *
3303
- * @example
3304
- *
3305
- * ```ts
3306
- * let array: number[] = [3, 6, 2];
3307
- * array.sort(Sort.compareByValue); // [2, 3, 6]
3308
- * ```
3309
- */
3310
- static compareByValue(x: any, y: any): number;
3311
- /**
3312
- * Sorts the array according to a key which is obtained from the array elements.
3313
- * The result is guaranteed to be a stable sort.
3314
- *
3315
- * @example
3316
- *
3317
- * ```ts
3318
- * let array: string[] = [ 'aaa', 'bb', 'c' ];
3319
- * Sort.sortBy(array, x => x.length); // [ 'c', 'bb', 'aaa' ]
3320
- * ```
3321
- */
3322
- static sortBy<T>(array: T[], keySelector: (element: T) => any, comparer?: (x: any, y: any) => number): void;
3323
- /**
3324
- * Returns true if the collection is already sorted.
3325
- */
3326
- static isSorted<T>(collection: Iterable<T>, comparer?: (x: any, y: any) => number): boolean;
3327
- /**
3328
- * Returns true if the collection is already sorted by the specified key.
3329
- *
3330
- * @example
3331
- *
3332
- * ```ts
3333
- * let array: string[] = [ 'a', 'bb', 'ccc' ];
3334
- * Sort.isSortedBy(array, x => x.length); // true
3335
- * ```
3336
- */
3337
- static isSortedBy<T>(collection: Iterable<T>, keySelector: (element: T) => any, comparer?: (x: any, y: any) => number): boolean;
3338
- /**
3339
- * Sorts the entries in a Map object according to the map keys.
3340
- * The result is guaranteed to be a stable sort.
3341
- *
3342
- * @example
3343
- *
3344
- * ```ts
3345
- * let map: Map<string, number> = new Map<string, number>();
3346
- * map.set('zebra', 1);
3347
- * map.set('goose', 2);
3348
- * map.set('aardvark', 3);
3349
- * Sort.sortMapKeys(map);
3350
- * console.log(JSON.stringify(Array.from(map.keys()))); // ["aardvark","goose","zebra"]
3351
- * ```
3352
- */
3353
- static sortMapKeys<K, V>(map: Map<K, V>, keyComparer?: (x: K, y: K) => number): void;
3354
- /**
3355
- * Sorts the entries in a Set object according to the specified keys.
3356
- * The result is guaranteed to be a stable sort.
3357
- *
3358
- * @example
3359
- *
3360
- * ```ts
3361
- * let set: Set<string> = new Set<string>();
3362
- * set.add('aaa');
3363
- * set.add('bb');
3364
- * set.add('c');
3365
- * Sort.sortSetBy(set, x => x.length);
3366
- * console.log(Array.from(set)); // ['c', 'bb', 'aaa']
3367
- * ```
3368
- */
3369
- static sortSetBy<T>(set: Set<T>, keySelector: (element: T) => any, keyComparer?: (x: T, y: T) => number): void;
3370
- /**
3371
- * Sorts the entries in a Set object. The result is guaranteed to be a stable sort.
3372
- *
3373
- * @example
3374
- *
3375
- * ```ts
3376
- * let set: Set<string> = new Set<string>();
3377
- * set.add('zebra');
3378
- * set.add('goose');
3379
- * set.add('aardvark');
3380
- * Sort.sortSet(set);
3381
- * console.log(Array.from(set)); // ['aardvark', 'goose', 'zebra']
3382
- * ```
3383
- */
3384
- static sortSet<T>(set: Set<T>, comparer?: (x: T, y: T) => number): void;
3385
- }
3386
-
3387
- /**
3388
- * Terminal provider that stores written data in buffers separated by severity.
3389
- * This terminal provider is designed to be used when code that prints to a terminal
3390
- * is being unit tested.
3391
- *
3392
- * @beta
3393
- */
3394
- export declare class StringBufferTerminalProvider implements ITerminalProvider {
3395
- private _standardBuffer;
3396
- private _verboseBuffer;
3397
- private _debugBuffer;
3398
- private _warningBuffer;
3399
- private _errorBuffer;
3400
- private _supportsColor;
3401
- constructor(supportsColor?: boolean);
3402
- /**
3403
- * {@inheritDoc ITerminalProvider.write}
3404
- */
3405
- write(data: string, severity: TerminalProviderSeverity): void;
3406
- /**
3407
- * {@inheritDoc ITerminalProvider.eolCharacter}
3408
- */
3409
- get eolCharacter(): string;
3410
- /**
3411
- * {@inheritDoc ITerminalProvider.supportsColor}
3412
- */
3413
- get supportsColor(): boolean;
3414
- /**
3415
- * Get everything that has been written at log-level severity.
3416
- */
3417
- getOutput(options?: IStringBufferOutputOptions): string;
3418
- /**
3419
- * Get everything that has been written at verbose-level severity.
3420
- */
3421
- getVerbose(options?: IStringBufferOutputOptions): string;
3422
- /**
3423
- * Get everything that has been written at debug-level severity.
3424
- */
3425
- getDebugOutput(options?: IStringBufferOutputOptions): string;
3426
- /**
3427
- * Get everything that has been written at error-level severity.
3428
- */
3429
- getErrorOutput(options?: IStringBufferOutputOptions): string;
3430
- /**
3431
- * Get everything that has been written at warning-level severity.
3432
- */
3433
- getWarningOutput(options?: IStringBufferOutputOptions): string;
3434
- private _normalizeOutput;
3435
- }
3436
-
3437
- /**
3438
- * This class allows a large text string to be constructed incrementally by appending small chunks. The final
3439
- * string can be obtained by calling StringBuilder.toString().
3440
- *
3441
- * @remarks
3442
- * A naive approach might use the `+=` operator to append strings: This would have the downside of copying
3443
- * the entire string each time a chunk is appended, resulting in `O(n^2)` bytes of memory being allocated
3444
- * (and later freed by the garbage collector), and many of the allocations could be very large objects.
3445
- * StringBuilder avoids this overhead by accumulating the chunks in an array, and efficiently joining them
3446
- * when `getText()` is finally called.
3447
- *
3448
- * @public
3449
- */
3450
- export declare class StringBuilder implements IStringBuilder {
3451
- private _chunks;
3452
- constructor();
3453
- /** {@inheritDoc IStringBuilder.append} */
3454
- append(text: string): void;
3455
- /** {@inheritDoc IStringBuilder.toString} */
3456
- toString(): string;
3457
- }
3458
-
3459
- /**
3460
- * When a child process is created, registering it with the SubprocessTerminator will ensure
3461
- * that the child gets terminated when the current process terminates.
3462
- *
3463
- * @remarks
3464
- * This works by hooking the current process's events for SIGTERM/SIGINT/exit, and ensuring the
3465
- * child process gets terminated in those cases.
3466
- *
3467
- * SubprocessTerminator doesn't do anything on Windows, since by default Windows automatically
3468
- * terminates child processes when their parent is terminated.
3469
- *
3470
- * @beta
3471
- */
3472
- export declare class SubprocessTerminator {
3473
- /**
3474
- * Whether the hooks are installed
3475
- */
3476
- private static _initialized;
3477
- /**
3478
- * The list of registered child processes. Processes are removed from this set if they
3479
- * terminate on their own.
3480
- */
3481
- private static _subprocessesByPid;
3482
- private static readonly _isWindows;
3483
- /**
3484
- * The recommended options when creating a child process.
3485
- */
3486
- static readonly RECOMMENDED_OPTIONS: ISubprocessOptions;
3487
- /**
3488
- * Registers a child process so that it will be terminated automatically if the current process
3489
- * is terminated.
3490
- */
3491
- static killProcessTreeOnExit(subprocess: child_process.ChildProcess, subprocessOptions: ISubprocessOptions): void;
3492
- /**
3493
- * Terminate the child process and all of its children.
3494
- */
3495
- static killProcessTree(subprocess: child_process.ChildProcess, subprocessOptions: ISubprocessOptions): void;
3496
- private static _ensureInitialized;
3497
- private static _cleanupChildProcesses;
3498
- private static _validateSubprocessOptions;
3499
- private static _onExit;
3500
- private static _onTerminateSignal;
3501
- private static _logDebug;
3502
- }
3503
-
3504
- /**
3505
- * This class facilitates writing to a console.
3506
- *
3507
- * @beta
3508
- */
3509
- export declare class Terminal implements ITerminal {
3510
- private _providers;
3511
- constructor(provider: ITerminalProvider);
3512
- /**
3513
- * {@inheritdoc ITerminal.registerProvider}
3514
- */
3515
- registerProvider(provider: ITerminalProvider): void;
3516
- /**
3517
- * {@inheritdoc ITerminal.unregisterProvider}
3518
- */
3519
- unregisterProvider(provider: ITerminalProvider): void;
3520
- /**
3521
- * {@inheritdoc ITerminal.write}
3522
- */
3523
- write(...messageParts: (string | IColorableSequence)[]): void;
3524
- /**
3525
- * {@inheritdoc ITerminal.writeLine}
3526
- */
3527
- writeLine(...messageParts: (string | IColorableSequence)[]): void;
3528
- /**
3529
- * {@inheritdoc ITerminal.writeWarning}
3530
- */
3531
- writeWarning(...messageParts: (string | IColorableSequence)[]): void;
3532
- /**
3533
- * {@inheritdoc ITerminal.writeWarningLine}
3534
- */
3535
- writeWarningLine(...messageParts: (string | IColorableSequence)[]): void;
3536
- /**
3537
- * {@inheritdoc ITerminal.writeError}
3538
- */
3539
- writeError(...messageParts: (string | IColorableSequence)[]): void;
3540
- /**
3541
- * {@inheritdoc ITerminal.writeErrorLine}
3542
- */
3543
- writeErrorLine(...messageParts: (string | IColorableSequence)[]): void;
3544
- /**
3545
- * {@inheritdoc ITerminal.writeVerbose}
3546
- */
3547
- writeVerbose(...messageParts: (string | IColorableSequence)[]): void;
3548
- /**
3549
- * {@inheritdoc ITerminal.writeVerboseLine}
3550
- */
3551
- writeVerboseLine(...messageParts: (string | IColorableSequence)[]): void;
3552
- /**
3553
- * {@inheritdoc ITerminal.writeDebug}
3554
- */
3555
- writeDebug(...messageParts: (string | IColorableSequence)[]): void;
3556
- /**
3557
- * {@inheritdoc ITerminal.writeDebugLine}
3558
- */
3559
- writeDebugLine(...messageParts: (string | IColorableSequence)[]): void;
3560
- private _writeSegmentsToProviders;
3561
- private _serializeFormattableTextSegments;
3562
- }
3563
-
3564
- /**
3565
- * Similar to many popular logging packages, terminal providers support a range of message
3566
- * severities. These severities have built-in formatting defaults in the Terminal object
3567
- * (warnings are yellow, errors are red, etc.).
3568
- *
3569
- * Terminal providers may choose to suppress certain messages based on their severity,
3570
- * or to route some messages to other providers or not based on severity.
3571
- *
3572
- * Severity | Purpose
3573
- * --------- | -------
3574
- * error | Build errors and fatal issues
3575
- * warning | Not necessarily fatal, but indicate a problem the user should fix
3576
- * log | Informational messages
3577
- * verbose | Additional information that may not always be necessary
3578
- * debug | Highest detail level, best used for troubleshooting information
3579
- *
3580
- * @beta
3581
- */
3582
- export declare enum TerminalProviderSeverity {
3583
- log = 0,
3584
- warning = 1,
3585
- error = 2,
3586
- verbose = 3,
3587
- debug = 4
3588
- }
3589
-
3590
- /**
3591
- * Operations for working with strings that contain text.
3592
- *
3593
- * @remarks
3594
- * The utilities provided by this class are intended to be simple, small, and very
3595
- * broadly applicable.
3596
- *
3597
- * @public
3598
- */
3599
- export declare class Text {
3600
- private static readonly _newLineRegEx;
3601
- private static readonly _newLineAtEndRegEx;
3602
- /**
3603
- * Returns the same thing as targetString.replace(searchValue, replaceValue), except that
3604
- * all matches are replaced, rather than just the first match.
3605
- * @param input - The string to be modified
3606
- * @param searchValue - The value to search for
3607
- * @param replaceValue - The replacement text
3608
- */
3609
- static replaceAll(input: string, searchValue: string, replaceValue: string): string;
3610
- /**
3611
- * Converts all newlines in the provided string to use Windows-style CRLF end of line characters.
3612
- */
3613
- static convertToCrLf(input: string): string;
3614
- /**
3615
- * Converts all newlines in the provided string to use POSIX-style LF end of line characters.
3616
- *
3617
- * POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
3618
- */
3619
- static convertToLf(input: string): string;
3620
- /**
3621
- * Converts all newlines in the provided string to use the specified newline type.
3622
- */
3623
- static convertTo(input: string, newlineKind: NewlineKind): string;
3624
- /**
3625
- * Returns the newline character sequence for the specified `NewlineKind`.
3626
- */
3627
- static getNewline(newlineKind: NewlineKind): string;
3628
- /**
3629
- * Append characters to the end of a string to ensure the result has a minimum length.
3630
- * @remarks
3631
- * If the string length already exceeds the minimum length, then the string is unchanged.
3632
- * The string is not truncated.
3633
- */
3634
- static padEnd(s: string, minimumLength: number, paddingCharacter?: string): string;
3635
- /**
3636
- * Append characters to the start of a string to ensure the result has a minimum length.
3637
- * @remarks
3638
- * If the string length already exceeds the minimum length, then the string is unchanged.
3639
- * The string is not truncated.
3640
- */
3641
- static padStart(s: string, minimumLength: number, paddingCharacter?: string): string;
3642
- /**
3643
- * If the string is longer than maximumLength characters, truncate it to that length
3644
- * using "..." to indicate the truncation.
3645
- *
3646
- * @remarks
3647
- * For example truncateWithEllipsis('1234578', 5) would produce '12...'.
3648
- */
3649
- static truncateWithEllipsis(s: string, maximumLength: number): string;
3650
- /**
3651
- * Returns the input string with a trailing `\n` character appended, if not already present.
3652
- */
3653
- static ensureTrailingNewline(s: string, newlineKind?: NewlineKind): string;
3654
- }
3655
-
3656
- /**
3657
- * Text styles used with {@link IColorableSequence}.
3658
- * @beta
3659
- */
3660
- export declare enum TextAttribute {
3661
- Bold = 0,
3662
- Dim = 1,
3663
- Underline = 2,
3664
- Blink = 3,
3665
- InvertColor = 4,
3666
- Hidden = 5
3667
- }
3668
-
3669
- /**
3670
- * Provides a version-independent implementation of the JavaScript `instanceof` operator.
3671
- *
3672
- * @remarks
3673
- * The JavaScript `instanceof` operator normally only identifies objects from a particular library instance.
3674
- * For example, suppose the NPM package `example-lib` has two published versions 1.2.0 and 1.3.0, and
3675
- * it exports a class called `A`. Suppose some code consumes version `1.3.0` of the library, but it receives
3676
- * an object that was constructed using version `1.2.0`. In this situation `a instanceof A` will return `false`,
3677
- * even though `a` is an instance of `A`. The reason is that there are two prototypes for `A`; one for each
3678
- * version.
3679
- *
3680
- * The `TypeUuid` facility provides a way to make `a instanceof A` return true for both prototypes of `A`,
3681
- * by instead using a universally unique identifier (UUID) to detect object instances.
3682
- *
3683
- * You can use `Symbol.hasInstance` to enable the system `instanceof` operator to recognize type UUID equivalence:
3684
- * ```ts
3685
- * const uuidWidget: string = '9c340ef0-d29f-4e2e-a09f-42bacc59024b';
3686
- * class Widget {
3687
- * public static [Symbol.hasInstance](instance: object): boolean {
3688
- * return TypeUuid.isInstanceOf(instance, uuidWidget);
3689
- * }
3690
- * }
3691
- * ```
3692
- * // Example usage:
3693
- * ```ts
3694
- * import { Widget as Widget1 } from 'v1-of-library';
3695
- * import { Widget as Widget2 } from 'v2-of-library';
3696
- * const widget = new Widget2();
3697
- * console.log(widget instanceof Widget1); // prints true
3698
- * ```
3699
- *
3700
- * @public
3701
- */
3702
- export declare class TypeUuid {
3703
- private static _uuidRegExp;
3704
- /**
3705
- * Registers a JavaScript class as having a type identified by the specified UUID.
3706
- * @privateRemarks
3707
- * We cannot use a construct signature for `targetClass` because it may be an abstract class.
3708
- */
3709
- static registerClass(targetClass: any, typeUuid: string): void;
3710
- /**
3711
- * Returns true if the `targetObject` is an instance of a JavaScript class that was previously
3712
- * registered using the specified `typeUuid`. Base classes are also considered.
3713
- */
3714
- static isInstanceOf(targetObject: unknown, typeUuid: string): boolean;
3715
- }
3716
-
3717
- export { }