pi-cursor-sdk 0.1.12 → 0.1.14

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 (2608) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +17 -20
  3. package/docs/cursor-model-ux-spec.md +6 -6
  4. package/package.json +2 -5
  5. package/src/bundled-context-windows.ts +5 -2
  6. package/src/cursor-fallback-models.generated.ts +4068 -71
  7. package/node_modules/@bufbuild/protobuf/README.md +0 -43
  8. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.d.ts +0 -422
  9. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.js +0 -444
  10. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.d.ts +0 -113
  11. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.js +0 -15
  12. package/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.d.ts +0 -33
  13. package/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.js +0 -69
  14. package/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.d.ts +0 -36
  15. package/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.js +0 -910
  16. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.d.ts +0 -15
  17. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.js +0 -264
  18. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.d.ts +0 -9
  19. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.js +0 -94
  20. package/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.d.ts +0 -672
  21. package/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.js +0 -15
  22. package/node_modules/@bufbuild/protobuf/dist/cjs/enum.d.ts +0 -35
  23. package/node_modules/@bufbuild/protobuf/dist/cjs/enum.js +0 -15
  24. package/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.d.ts +0 -35
  25. package/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.js +0 -114
  26. package/node_modules/@bufbuild/protobuf/dist/cjs/extension.d.ts +0 -24
  27. package/node_modules/@bufbuild/protobuf/dist/cjs/extension.js +0 -15
  28. package/node_modules/@bufbuild/protobuf/dist/cjs/field-list.d.ts +0 -27
  29. package/node_modules/@bufbuild/protobuf/dist/cjs/field-list.js +0 -15
  30. package/node_modules/@bufbuild/protobuf/dist/cjs/field.d.ts +0 -314
  31. package/node_modules/@bufbuild/protobuf/dist/cjs/field.js +0 -15
  32. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.d.ts +0 -157
  33. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.js +0 -273
  34. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.d.ts +0 -256
  35. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.js +0 -316
  36. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.d.ts +0 -271
  37. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.js +0 -219
  38. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.d.ts +0 -2277
  39. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.js +0 -2077
  40. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.d.ts +0 -100
  41. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.js +0 -169
  42. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.d.ts +0 -28
  43. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.js +0 -52
  44. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.d.ts +0 -227
  45. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.js +0 -311
  46. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.d.ts +0 -29
  47. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.js +0 -55
  48. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.d.ts +0 -158
  49. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.js +0 -240
  50. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.d.ts +0 -132
  51. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.js +0 -213
  52. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.d.ts +0 -437
  53. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.js +0 -562
  54. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.d.ts +0 -267
  55. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.js +0 -569
  56. package/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.d.ts +0 -70
  57. package/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.js +0 -323
  58. package/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts +0 -42
  59. package/node_modules/@bufbuild/protobuf/dist/cjs/index.js +0 -84
  60. package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts +0 -22
  61. package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js +0 -52
  62. package/node_modules/@bufbuild/protobuf/dist/cjs/json-format.d.ts +0 -111
  63. package/node_modules/@bufbuild/protobuf/dist/cjs/json-format.js +0 -15
  64. package/node_modules/@bufbuild/protobuf/dist/cjs/message-type.d.ts +0 -51
  65. package/node_modules/@bufbuild/protobuf/dist/cjs/message-type.js +0 -15
  66. package/node_modules/@bufbuild/protobuf/dist/cjs/message.d.ts +0 -131
  67. package/node_modules/@bufbuild/protobuf/dist/cjs/message.js +0 -129
  68. package/node_modules/@bufbuild/protobuf/dist/cjs/package.json +0 -1
  69. package/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.d.ts +0 -16
  70. package/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.js +0 -59
  71. package/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.d.ts +0 -7
  72. package/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.js +0 -431
  73. package/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.d.ts +0 -27
  74. package/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.js +0 -94
  75. package/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.d.ts +0 -34
  76. package/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.js +0 -86
  77. package/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.d.ts +0 -19
  78. package/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.js +0 -120
  79. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.d.ts +0 -18
  80. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.js +0 -76
  81. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.d.ts +0 -9
  82. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.js +0 -69
  83. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.d.ts +0 -25
  84. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.js +0 -57
  85. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field.d.ts +0 -16
  86. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field.js +0 -45
  87. package/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.d.ts +0 -2
  88. package/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.js +0 -626
  89. package/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.d.ts +0 -18
  90. package/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.js +0 -50
  91. package/node_modules/@bufbuild/protobuf/dist/cjs/private/names.d.ts +0 -43
  92. package/node_modules/@bufbuild/protobuf/dist/cjs/private/names.js +0 -278
  93. package/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.d.ts +0 -7
  94. package/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.js +0 -15
  95. package/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.d.ts +0 -53
  96. package/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.js +0 -41
  97. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.d.ts +0 -9
  98. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.js +0 -79
  99. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.d.ts +0 -102
  100. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.js +0 -172
  101. package/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.d.ts +0 -18
  102. package/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.js +0 -105
  103. package/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.d.ts +0 -4
  104. package/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.js +0 -189
  105. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.d.ts +0 -2
  106. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.js +0 -237
  107. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util.d.ts +0 -38
  108. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util.js +0 -15
  109. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.d.ts +0 -18
  110. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.js +0 -128
  111. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.d.ts +0 -54
  112. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.js +0 -155
  113. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.d.ts +0 -5
  114. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.js +0 -29
  115. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts +0 -95
  116. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js +0 -116
  117. package/node_modules/@bufbuild/protobuf/dist/cjs/proto2.d.ts +0 -4
  118. package/node_modules/@bufbuild/protobuf/dist/cjs/proto2.js +0 -53
  119. package/node_modules/@bufbuild/protobuf/dist/cjs/proto3.d.ts +0 -4
  120. package/node_modules/@bufbuild/protobuf/dist/cjs/proto3.js +0 -56
  121. package/node_modules/@bufbuild/protobuf/dist/cjs/scalar.d.ts +0 -53
  122. package/node_modules/@bufbuild/protobuf/dist/cjs/scalar.js +0 -81
  123. package/node_modules/@bufbuild/protobuf/dist/cjs/service-type.d.ts +0 -96
  124. package/node_modules/@bufbuild/protobuf/dist/cjs/service-type.js +0 -53
  125. package/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.d.ts +0 -12
  126. package/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.js +0 -72
  127. package/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.d.ts +0 -57
  128. package/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.js +0 -15
  129. package/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.d.ts +0 -422
  130. package/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.js +0 -439
  131. package/node_modules/@bufbuild/protobuf/dist/esm/binary-format.d.ts +0 -113
  132. package/node_modules/@bufbuild/protobuf/dist/esm/binary-format.js +0 -14
  133. package/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.d.ts +0 -33
  134. package/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.js +0 -67
  135. package/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.d.ts +0 -36
  136. package/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.js +0 -906
  137. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.d.ts +0 -15
  138. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.js +0 -261
  139. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry.d.ts +0 -9
  140. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry.js +0 -90
  141. package/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.d.ts +0 -672
  142. package/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.js +0 -14
  143. package/node_modules/@bufbuild/protobuf/dist/esm/enum.d.ts +0 -35
  144. package/node_modules/@bufbuild/protobuf/dist/esm/enum.js +0 -14
  145. package/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.d.ts +0 -35
  146. package/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.js +0 -107
  147. package/node_modules/@bufbuild/protobuf/dist/esm/extension.d.ts +0 -24
  148. package/node_modules/@bufbuild/protobuf/dist/esm/extension.js +0 -14
  149. package/node_modules/@bufbuild/protobuf/dist/esm/field-list.d.ts +0 -27
  150. package/node_modules/@bufbuild/protobuf/dist/esm/field-list.js +0 -14
  151. package/node_modules/@bufbuild/protobuf/dist/esm/field.d.ts +0 -314
  152. package/node_modules/@bufbuild/protobuf/dist/esm/field.js +0 -14
  153. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.d.ts +0 -157
  154. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.js +0 -269
  155. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.d.ts +0 -256
  156. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.js +0 -310
  157. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.d.ts +0 -271
  158. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.js +0 -212
  159. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.d.ts +0 -2277
  160. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.js +0 -2041
  161. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.d.ts +0 -100
  162. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.js +0 -165
  163. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.d.ts +0 -28
  164. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.js +0 -48
  165. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.d.ts +0 -227
  166. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.js +0 -307
  167. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.d.ts +0 -29
  168. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.js +0 -51
  169. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.d.ts +0 -158
  170. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.js +0 -234
  171. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.d.ts +0 -132
  172. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.js +0 -209
  173. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.d.ts +0 -437
  174. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.js +0 -554
  175. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.d.ts +0 -267
  176. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.js +0 -557
  177. package/node_modules/@bufbuild/protobuf/dist/esm/google/varint.d.ts +0 -70
  178. package/node_modules/@bufbuild/protobuf/dist/esm/google/varint.js +0 -313
  179. package/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts +0 -42
  180. package/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -43
  181. package/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts +0 -22
  182. package/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +0 -48
  183. package/node_modules/@bufbuild/protobuf/dist/esm/json-format.d.ts +0 -111
  184. package/node_modules/@bufbuild/protobuf/dist/esm/json-format.js +0 -14
  185. package/node_modules/@bufbuild/protobuf/dist/esm/message-type.d.ts +0 -51
  186. package/node_modules/@bufbuild/protobuf/dist/esm/message-type.js +0 -14
  187. package/node_modules/@bufbuild/protobuf/dist/esm/message.d.ts +0 -131
  188. package/node_modules/@bufbuild/protobuf/dist/esm/message.js +0 -125
  189. package/node_modules/@bufbuild/protobuf/dist/esm/private/assert.d.ts +0 -16
  190. package/node_modules/@bufbuild/protobuf/dist/esm/private/assert.js +0 -52
  191. package/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.d.ts +0 -7
  192. package/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.js +0 -427
  193. package/node_modules/@bufbuild/protobuf/dist/esm/private/enum.d.ts +0 -27
  194. package/node_modules/@bufbuild/protobuf/dist/esm/private/enum.js +0 -87
  195. package/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.d.ts +0 -34
  196. package/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.js +0 -81
  197. package/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.d.ts +0 -19
  198. package/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.js +0 -116
  199. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.d.ts +0 -18
  200. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.js +0 -72
  201. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.d.ts +0 -9
  202. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.js +0 -65
  203. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.d.ts +0 -25
  204. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.js +0 -53
  205. package/node_modules/@bufbuild/protobuf/dist/esm/private/field.d.ts +0 -16
  206. package/node_modules/@bufbuild/protobuf/dist/esm/private/field.js +0 -41
  207. package/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.d.ts +0 -2
  208. package/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.js +0 -623
  209. package/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.d.ts +0 -18
  210. package/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.js +0 -46
  211. package/node_modules/@bufbuild/protobuf/dist/esm/private/names.d.ts +0 -43
  212. package/node_modules/@bufbuild/protobuf/dist/esm/private/names.js +0 -269
  213. package/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.d.ts +0 -7
  214. package/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.js +0 -14
  215. package/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.d.ts +0 -53
  216. package/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.js +0 -37
  217. package/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.d.ts +0 -9
  218. package/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.js +0 -74
  219. package/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.d.ts +0 -102
  220. package/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.js +0 -168
  221. package/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.d.ts +0 -18
  222. package/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.js +0 -99
  223. package/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.d.ts +0 -4
  224. package/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.js +0 -184
  225. package/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.d.ts +0 -2
  226. package/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.js +0 -234
  227. package/node_modules/@bufbuild/protobuf/dist/esm/private/util.d.ts +0 -38
  228. package/node_modules/@bufbuild/protobuf/dist/esm/private/util.js +0 -14
  229. package/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.d.ts +0 -18
  230. package/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.js +0 -125
  231. package/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.d.ts +0 -54
  232. package/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.js +0 -152
  233. package/node_modules/@bufbuild/protobuf/dist/esm/proto-double.d.ts +0 -5
  234. package/node_modules/@bufbuild/protobuf/dist/esm/proto-double.js +0 -26
  235. package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts +0 -95
  236. package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +0 -113
  237. package/node_modules/@bufbuild/protobuf/dist/esm/proto2.d.ts +0 -4
  238. package/node_modules/@bufbuild/protobuf/dist/esm/proto2.js +0 -50
  239. package/node_modules/@bufbuild/protobuf/dist/esm/proto3.d.ts +0 -4
  240. package/node_modules/@bufbuild/protobuf/dist/esm/proto3.js +0 -53
  241. package/node_modules/@bufbuild/protobuf/dist/esm/scalar.d.ts +0 -53
  242. package/node_modules/@bufbuild/protobuf/dist/esm/scalar.js +0 -78
  243. package/node_modules/@bufbuild/protobuf/dist/esm/service-type.d.ts +0 -96
  244. package/node_modules/@bufbuild/protobuf/dist/esm/service-type.js +0 -50
  245. package/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.d.ts +0 -12
  246. package/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.js +0 -70
  247. package/node_modules/@bufbuild/protobuf/dist/esm/type-registry.d.ts +0 -57
  248. package/node_modules/@bufbuild/protobuf/dist/esm/type-registry.js +0 -14
  249. package/node_modules/@bufbuild/protobuf/package.json +0 -34
  250. package/node_modules/@connectrpc/connect/README.md +0 -62
  251. package/node_modules/@connectrpc/connect/dist/cjs/any-client.d.ts +0 -22
  252. package/node_modules/@connectrpc/connect/dist/cjs/any-client.js +0 -34
  253. package/node_modules/@connectrpc/connect/dist/cjs/call-options.d.ts +0 -34
  254. package/node_modules/@connectrpc/connect/dist/cjs/call-options.js +0 -15
  255. package/node_modules/@connectrpc/connect/dist/cjs/callback-client.d.ts +0 -31
  256. package/node_modules/@connectrpc/connect/dist/cjs/callback-client.js +0 -116
  257. package/node_modules/@connectrpc/connect/dist/cjs/code.d.ts +0 -75
  258. package/node_modules/@connectrpc/connect/dist/cjs/code.js +0 -92
  259. package/node_modules/@connectrpc/connect/dist/cjs/connect-error.d.ts +0 -90
  260. package/node_modules/@connectrpc/connect/dist/cjs/connect-error.js +0 -134
  261. package/node_modules/@connectrpc/connect/dist/cjs/context-values.d.ts +0 -34
  262. package/node_modules/@connectrpc/connect/dist/cjs/context-values.js +0 -41
  263. package/node_modules/@connectrpc/connect/dist/cjs/cors.d.ts +0 -45
  264. package/node_modules/@connectrpc/connect/dist/cjs/cors.js +0 -82
  265. package/node_modules/@connectrpc/connect/dist/cjs/http-headers.d.ts +0 -36
  266. package/node_modules/@connectrpc/connect/dist/cjs/http-headers.js +0 -68
  267. package/node_modules/@connectrpc/connect/dist/cjs/implementation.d.ts +0 -165
  268. package/node_modules/@connectrpc/connect/dist/cjs/implementation.js +0 -79
  269. package/node_modules/@connectrpc/connect/dist/cjs/index.d.ts +0 -22
  270. package/node_modules/@connectrpc/connect/dist/cjs/index.js +0 -47
  271. package/node_modules/@connectrpc/connect/dist/cjs/interceptor.d.ts +0 -155
  272. package/node_modules/@connectrpc/connect/dist/cjs/interceptor.js +0 -27
  273. package/node_modules/@connectrpc/connect/dist/cjs/method-type.d.ts +0 -43
  274. package/node_modules/@connectrpc/connect/dist/cjs/method-type.js +0 -15
  275. package/node_modules/@connectrpc/connect/dist/cjs/package.json +0 -1
  276. package/node_modules/@connectrpc/connect/dist/cjs/promise-client.d.ts +0 -49
  277. package/node_modules/@connectrpc/connect/dist/cjs/promise-client.js +0 -147
  278. package/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.d.ts +0 -527
  279. package/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.js +0 -959
  280. package/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.d.ts +0 -48
  281. package/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.js +0 -75
  282. package/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.d.ts +0 -16
  283. package/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.js +0 -43
  284. package/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.d.ts +0 -17
  285. package/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.js +0 -36
  286. package/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.d.ts +0 -59
  287. package/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.js +0 -152
  288. package/node_modules/@connectrpc/connect/dist/cjs/protocol/index.d.ts +0 -24
  289. package/node_modules/@connectrpc/connect/dist/cjs/protocol/index.js +0 -93
  290. package/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.d.ts +0 -21
  291. package/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.js +0 -250
  292. package/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.d.ts +0 -24
  293. package/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.js +0 -80
  294. package/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.d.ts +0 -12
  295. package/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.js +0 -56
  296. package/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.d.ts +0 -18
  297. package/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.js +0 -15
  298. package/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.d.ts +0 -45
  299. package/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.js +0 -119
  300. package/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.d.ts +0 -104
  301. package/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.js +0 -148
  302. package/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.d.ts +0 -36
  303. package/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.js +0 -100
  304. package/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.d.ts +0 -98
  305. package/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.js +0 -15
  306. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.d.ts +0 -35
  307. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.js +0 -150
  308. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.d.ts +0 -7
  309. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.js +0 -90
  310. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.d.ts +0 -155
  311. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.js +0 -131
  312. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.d.ts +0 -102
  313. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.js +0 -78
  314. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.d.ts +0 -16
  315. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.js +0 -52
  316. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.d.ts +0 -40
  317. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.js +0 -71
  318. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.d.ts +0 -44
  319. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.js +0 -132
  320. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.d.ts +0 -36
  321. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.js +0 -163
  322. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.d.ts +0 -7
  323. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.js +0 -68
  324. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.d.ts +0 -6
  325. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.js +0 -281
  326. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.d.ts +0 -12
  327. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.js +0 -28
  328. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.d.ts +0 -15
  329. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.js +0 -90
  330. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.d.ts +0 -16
  331. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.js +0 -81
  332. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.d.ts +0 -13
  333. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.js +0 -44
  334. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.d.ts +0 -8
  335. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.js +0 -24
  336. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.d.ts +0 -19
  337. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.js +0 -70
  338. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.d.ts +0 -19
  339. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.js +0 -53
  340. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.d.ts +0 -6
  341. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.js +0 -214
  342. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.d.ts +0 -30
  343. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.js +0 -72
  344. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.d.ts +0 -20
  345. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.js +0 -58
  346. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.d.ts +0 -16
  347. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.js +0 -38
  348. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.d.ts +0 -89
  349. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.js +0 -120
  350. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.d.ts +0 -6
  351. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.js +0 -122
  352. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.d.ts +0 -12
  353. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.js +0 -28
  354. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.d.ts +0 -8
  355. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.js +0 -46
  356. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.d.ts +0 -10
  357. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.js +0 -61
  358. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.d.ts +0 -13
  359. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.js +0 -53
  360. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.d.ts +0 -13
  361. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.js +0 -56
  362. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.d.ts +0 -28
  363. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.js +0 -104
  364. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.d.ts +0 -6
  365. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.js +0 -185
  366. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.d.ts +0 -33
  367. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.js +0 -75
  368. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.d.ts +0 -13
  369. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.js +0 -44
  370. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.d.ts +0 -19
  371. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.js +0 -41
  372. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.d.ts +0 -6
  373. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.js +0 -128
  374. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.d.ts +0 -20
  375. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.js +0 -44
  376. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.d.ts +0 -8
  377. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.js +0 -61
  378. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.d.ts +0 -13
  379. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.js +0 -59
  380. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.d.ts +0 -27
  381. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.js +0 -71
  382. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.d.ts +0 -6
  383. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.js +0 -238
  384. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.d.ts +0 -34
  385. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.js +0 -73
  386. package/node_modules/@connectrpc/connect/dist/cjs/router-transport.d.ts +0 -13
  387. package/node_modules/@connectrpc/connect/dist/cjs/router-transport.js +0 -32
  388. package/node_modules/@connectrpc/connect/dist/cjs/router.d.ts +0 -88
  389. package/node_modules/@connectrpc/connect/dist/cjs/router.js +0 -83
  390. package/node_modules/@connectrpc/connect/dist/cjs/transport.d.ts +0 -20
  391. package/node_modules/@connectrpc/connect/dist/cjs/transport.js +0 -15
  392. package/node_modules/@connectrpc/connect/dist/esm/any-client.d.ts +0 -22
  393. package/node_modules/@connectrpc/connect/dist/esm/any-client.js +0 -31
  394. package/node_modules/@connectrpc/connect/dist/esm/call-options.d.ts +0 -34
  395. package/node_modules/@connectrpc/connect/dist/esm/call-options.js +0 -14
  396. package/node_modules/@connectrpc/connect/dist/esm/callback-client.d.ts +0 -31
  397. package/node_modules/@connectrpc/connect/dist/esm/callback-client.js +0 -113
  398. package/node_modules/@connectrpc/connect/dist/esm/code.d.ts +0 -75
  399. package/node_modules/@connectrpc/connect/dist/esm/code.js +0 -89
  400. package/node_modules/@connectrpc/connect/dist/esm/connect-error.d.ts +0 -90
  401. package/node_modules/@connectrpc/connect/dist/esm/connect-error.js +0 -130
  402. package/node_modules/@connectrpc/connect/dist/esm/context-values.d.ts +0 -34
  403. package/node_modules/@connectrpc/connect/dist/esm/context-values.js +0 -37
  404. package/node_modules/@connectrpc/connect/dist/esm/cors.d.ts +0 -45
  405. package/node_modules/@connectrpc/connect/dist/esm/cors.js +0 -79
  406. package/node_modules/@connectrpc/connect/dist/esm/http-headers.d.ts +0 -36
  407. package/node_modules/@connectrpc/connect/dist/esm/http-headers.js +0 -63
  408. package/node_modules/@connectrpc/connect/dist/esm/implementation.d.ts +0 -165
  409. package/node_modules/@connectrpc/connect/dist/esm/implementation.js +0 -75
  410. package/node_modules/@connectrpc/connect/dist/esm/index.d.ts +0 -22
  411. package/node_modules/@connectrpc/connect/dist/esm/index.js +0 -27
  412. package/node_modules/@connectrpc/connect/dist/esm/interceptor.d.ts +0 -155
  413. package/node_modules/@connectrpc/connect/dist/esm/interceptor.js +0 -24
  414. package/node_modules/@connectrpc/connect/dist/esm/method-type.d.ts +0 -43
  415. package/node_modules/@connectrpc/connect/dist/esm/method-type.js +0 -14
  416. package/node_modules/@connectrpc/connect/dist/esm/promise-client.d.ts +0 -49
  417. package/node_modules/@connectrpc/connect/dist/esm/promise-client.js +0 -139
  418. package/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.d.ts +0 -527
  419. package/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.js +0 -937
  420. package/node_modules/@connectrpc/connect/dist/esm/protocol/compression.d.ts +0 -48
  421. package/node_modules/@connectrpc/connect/dist/esm/protocol/compression.js +0 -71
  422. package/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.d.ts +0 -16
  423. package/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.js +0 -40
  424. package/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.d.ts +0 -17
  425. package/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.js +0 -33
  426. package/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.d.ts +0 -59
  427. package/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.js +0 -145
  428. package/node_modules/@connectrpc/connect/dist/esm/protocol/index.d.ts +0 -24
  429. package/node_modules/@connectrpc/connect/dist/esm/protocol/index.js +0 -32
  430. package/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.d.ts +0 -21
  431. package/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.js +0 -246
  432. package/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.d.ts +0 -24
  433. package/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.js +0 -75
  434. package/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.d.ts +0 -12
  435. package/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.js +0 -53
  436. package/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.d.ts +0 -18
  437. package/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.js +0 -14
  438. package/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.d.ts +0 -45
  439. package/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.js +0 -115
  440. package/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.d.ts +0 -104
  441. package/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.js +0 -140
  442. package/node_modules/@connectrpc/connect/dist/esm/protocol/signals.d.ts +0 -36
  443. package/node_modules/@connectrpc/connect/dist/esm/protocol/signals.js +0 -95
  444. package/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.d.ts +0 -98
  445. package/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.js +0 -14
  446. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.d.ts +0 -35
  447. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.js +0 -142
  448. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.d.ts +0 -7
  449. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.js +0 -87
  450. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.d.ts +0 -155
  451. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.js +0 -125
  452. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal.d.ts +0 -102
  453. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal.js +0 -74
  454. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.d.ts +0 -16
  455. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.js +0 -48
  456. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.d.ts +0 -40
  457. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.js +0 -66
  458. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.d.ts +0 -44
  459. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.js +0 -126
  460. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.d.ts +0 -36
  461. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.js +0 -157
  462. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.d.ts +0 -7
  463. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.js +0 -65
  464. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.d.ts +0 -6
  465. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.js +0 -278
  466. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.d.ts +0 -12
  467. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.js +0 -25
  468. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.d.ts +0 -15
  469. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.js +0 -86
  470. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.d.ts +0 -16
  471. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.js +0 -33
  472. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.d.ts +0 -13
  473. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.js +0 -41
  474. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.d.ts +0 -8
  475. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.js +0 -21
  476. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.d.ts +0 -19
  477. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.js +0 -66
  478. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.d.ts +0 -19
  479. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.js +0 -49
  480. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.d.ts +0 -6
  481. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.js +0 -211
  482. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.d.ts +0 -30
  483. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.js +0 -68
  484. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.d.ts +0 -20
  485. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.js +0 -53
  486. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.d.ts +0 -16
  487. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.js +0 -34
  488. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.d.ts +0 -89
  489. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.js +0 -116
  490. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.d.ts +0 -6
  491. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.js +0 -119
  492. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.d.ts +0 -12
  493. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.js +0 -25
  494. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.d.ts +0 -8
  495. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.js +0 -43
  496. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.d.ts +0 -10
  497. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.js +0 -28
  498. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.d.ts +0 -13
  499. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.js +0 -50
  500. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.d.ts +0 -13
  501. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.js +0 -52
  502. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.d.ts +0 -28
  503. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.js +0 -99
  504. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.d.ts +0 -6
  505. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.js +0 -182
  506. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.d.ts +0 -33
  507. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.js +0 -71
  508. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.d.ts +0 -13
  509. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.js +0 -41
  510. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.d.ts +0 -19
  511. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.js +0 -37
  512. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.d.ts +0 -6
  513. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.js +0 -125
  514. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.d.ts +0 -20
  515. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.js +0 -33
  516. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.d.ts +0 -8
  517. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.js +0 -26
  518. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.d.ts +0 -13
  519. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.js +0 -55
  520. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.d.ts +0 -27
  521. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.js +0 -65
  522. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.d.ts +0 -6
  523. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.js +0 -235
  524. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.d.ts +0 -34
  525. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.js +0 -69
  526. package/node_modules/@connectrpc/connect/dist/esm/router-transport.d.ts +0 -13
  527. package/node_modules/@connectrpc/connect/dist/esm/router-transport.js +0 -29
  528. package/node_modules/@connectrpc/connect/dist/esm/router.d.ts +0 -88
  529. package/node_modules/@connectrpc/connect/dist/esm/router.js +0 -80
  530. package/node_modules/@connectrpc/connect/dist/esm/transport.d.ts +0 -20
  531. package/node_modules/@connectrpc/connect/dist/esm/transport.js +0 -14
  532. package/node_modules/@connectrpc/connect/package.json +0 -75
  533. package/node_modules/@connectrpc/connect/protocol-connect.js +0 -16
  534. package/node_modules/@connectrpc/connect/protocol-grpc-web.js +0 -16
  535. package/node_modules/@connectrpc/connect/protocol-grpc.js +0 -16
  536. package/node_modules/@connectrpc/connect/protocol.js +0 -16
  537. package/node_modules/@connectrpc/connect-node/README.md +0 -141
  538. package/node_modules/@connectrpc/connect-node/dist/cjs/compression.d.ts +0 -15
  539. package/node_modules/@connectrpc/connect-node/dist/cjs/compression.js +0 -89
  540. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-node-adapter.d.ts +0 -42
  541. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-node-adapter.js +0 -61
  542. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-transport.d.ts +0 -100
  543. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-transport.js +0 -25
  544. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-transport.d.ts +0 -96
  545. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-transport.js +0 -25
  546. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-web-transport.d.ts +0 -96
  547. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-web-transport.js +0 -25
  548. package/node_modules/@connectrpc/connect-node/dist/cjs/http2-session-manager.d.ts +0 -146
  549. package/node_modules/@connectrpc/connect-node/dist/cjs/http2-session-manager.js +0 -536
  550. package/node_modules/@connectrpc/connect-node/dist/cjs/index.d.ts +0 -15
  551. package/node_modules/@connectrpc/connect-node/dist/cjs/index.js +0 -36
  552. package/node_modules/@connectrpc/connect-node/dist/cjs/node-error.d.ts +0 -45
  553. package/node_modules/@connectrpc/connect-node/dist/cjs/node-error.js +0 -154
  554. package/node_modules/@connectrpc/connect-node/dist/cjs/node-headers-polyfill.d.ts +0 -1
  555. package/node_modules/@connectrpc/connect-node/dist/cjs/node-headers-polyfill.js +0 -29
  556. package/node_modules/@connectrpc/connect-node/dist/cjs/node-transport-options.d.ts +0 -89
  557. package/node_modules/@connectrpc/connect-node/dist/cjs/node-transport-options.js +0 -58
  558. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-client.d.ts +0 -54
  559. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-client.js +0 -326
  560. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-handler.d.ts +0 -41
  561. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-handler.js +0 -234
  562. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-header.d.ts +0 -19
  563. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-header.js +0 -97
  564. package/node_modules/@connectrpc/connect-node/dist/cjs/package.json +0 -1
  565. package/node_modules/@connectrpc/connect-node/dist/esm/compression.d.ts +0 -15
  566. package/node_modules/@connectrpc/connect-node/dist/esm/compression.js +0 -86
  567. package/node_modules/@connectrpc/connect-node/dist/esm/connect-node-adapter.d.ts +0 -42
  568. package/node_modules/@connectrpc/connect-node/dist/esm/connect-node-adapter.js +0 -58
  569. package/node_modules/@connectrpc/connect-node/dist/esm/connect-transport.d.ts +0 -100
  570. package/node_modules/@connectrpc/connect-node/dist/esm/connect-transport.js +0 -22
  571. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-transport.d.ts +0 -96
  572. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-transport.js +0 -22
  573. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-web-transport.d.ts +0 -96
  574. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-web-transport.js +0 -22
  575. package/node_modules/@connectrpc/connect-node/dist/esm/http2-session-manager.d.ts +0 -146
  576. package/node_modules/@connectrpc/connect-node/dist/esm/http2-session-manager.js +0 -532
  577. package/node_modules/@connectrpc/connect-node/dist/esm/index.d.ts +0 -15
  578. package/node_modules/@connectrpc/connect-node/dist/esm/index.js +0 -23
  579. package/node_modules/@connectrpc/connect-node/dist/esm/node-error.d.ts +0 -45
  580. package/node_modules/@connectrpc/connect-node/dist/esm/node-error.js +0 -147
  581. package/node_modules/@connectrpc/connect-node/dist/esm/node-headers-polyfill.d.ts +0 -1
  582. package/node_modules/@connectrpc/connect-node/dist/esm/node-headers-polyfill.js +0 -27
  583. package/node_modules/@connectrpc/connect-node/dist/esm/node-transport-options.d.ts +0 -89
  584. package/node_modules/@connectrpc/connect-node/dist/esm/node-transport-options.js +0 -58
  585. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-client.d.ts +0 -54
  586. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-client.js +0 -324
  587. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-handler.d.ts +0 -41
  588. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-handler.js +0 -230
  589. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-header.d.ts +0 -19
  590. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-header.js +0 -93
  591. package/node_modules/@connectrpc/connect-node/package.json +0 -46
  592. package/node_modules/@cursor/sdk/LICENSE.md +0 -3
  593. package/node_modules/@cursor/sdk/README.md +0 -23
  594. package/node_modules/@cursor/sdk/dist/cjs/642.index.js +0 -1
  595. package/node_modules/@cursor/sdk/dist/cjs/agent.d.ts +0 -170
  596. package/node_modules/@cursor/sdk/dist/cjs/agent.d.ts.map +0 -1
  597. package/node_modules/@cursor/sdk/dist/cjs/analytics.d.ts +0 -98
  598. package/node_modules/@cursor/sdk/dist/cjs/analytics.d.ts.map +0 -1
  599. package/node_modules/@cursor/sdk/dist/cjs/artifacts.d.ts +0 -6
  600. package/node_modules/@cursor/sdk/dist/cjs/artifacts.d.ts.map +0 -1
  601. package/node_modules/@cursor/sdk/dist/cjs/cloud-agent.d.ts +0 -47
  602. package/node_modules/@cursor/sdk/dist/cjs/cloud-agent.d.ts.map +0 -1
  603. package/node_modules/@cursor/sdk/dist/cjs/cloud-api-client.d.ts +0 -197
  604. package/node_modules/@cursor/sdk/dist/cjs/cloud-api-client.d.ts.map +0 -1
  605. package/node_modules/@cursor/sdk/dist/cjs/cloud-executor.d.ts +0 -14
  606. package/node_modules/@cursor/sdk/dist/cjs/cloud-executor.d.ts.map +0 -1
  607. package/node_modules/@cursor/sdk/dist/cjs/cloud-mcp-utils.d.ts +0 -4
  608. package/node_modules/@cursor/sdk/dist/cjs/cloud-mcp-utils.d.ts.map +0 -1
  609. package/node_modules/@cursor/sdk/dist/cjs/core-adapter.d.ts +0 -2
  610. package/node_modules/@cursor/sdk/dist/cjs/core-adapter.d.ts.map +0 -1
  611. package/node_modules/@cursor/sdk/dist/cjs/errors.d.ts +0 -135
  612. package/node_modules/@cursor/sdk/dist/cjs/errors.d.ts.map +0 -1
  613. package/node_modules/@cursor/sdk/dist/cjs/executor-common.d.ts +0 -16
  614. package/node_modules/@cursor/sdk/dist/cjs/executor-common.d.ts.map +0 -1
  615. package/node_modules/@cursor/sdk/dist/cjs/executor-types.d.ts +0 -65
  616. package/node_modules/@cursor/sdk/dist/cjs/executor-types.d.ts.map +0 -1
  617. package/node_modules/@cursor/sdk/dist/cjs/index.d.ts +0 -18
  618. package/node_modules/@cursor/sdk/dist/cjs/index.d.ts.map +0 -1
  619. package/node_modules/@cursor/sdk/dist/cjs/index.js +0 -8
  620. package/node_modules/@cursor/sdk/dist/cjs/index.js.LICENSE.txt +0 -285
  621. package/node_modules/@cursor/sdk/dist/cjs/local-executor.d.ts +0 -18
  622. package/node_modules/@cursor/sdk/dist/cjs/local-executor.d.ts.map +0 -1
  623. package/node_modules/@cursor/sdk/dist/cjs/local-model-validation.d.ts +0 -6
  624. package/node_modules/@cursor/sdk/dist/cjs/local-model-validation.d.ts.map +0 -1
  625. package/node_modules/@cursor/sdk/dist/cjs/messages.d.ts +0 -110
  626. package/node_modules/@cursor/sdk/dist/cjs/messages.d.ts.map +0 -1
  627. package/node_modules/@cursor/sdk/dist/cjs/options.d.ts +0 -145
  628. package/node_modules/@cursor/sdk/dist/cjs/options.d.ts.map +0 -1
  629. package/node_modules/@cursor/sdk/dist/cjs/package.json +0 -3
  630. package/node_modules/@cursor/sdk/dist/cjs/platform.d.ts +0 -71
  631. package/node_modules/@cursor/sdk/dist/cjs/platform.d.ts.map +0 -1
  632. package/node_modules/@cursor/sdk/dist/cjs/prefetched-blobs.d.ts +0 -13
  633. package/node_modules/@cursor/sdk/dist/cjs/prefetched-blobs.d.ts.map +0 -1
  634. package/node_modules/@cursor/sdk/dist/cjs/public-api.d.ts +0 -12
  635. package/node_modules/@cursor/sdk/dist/cjs/public-api.d.ts.map +0 -1
  636. package/node_modules/@cursor/sdk/dist/cjs/run-event-tailer.d.ts +0 -33
  637. package/node_modules/@cursor/sdk/dist/cjs/run-event-tailer.d.ts.map +0 -1
  638. package/node_modules/@cursor/sdk/dist/cjs/run-interaction-accumulator.d.ts +0 -33
  639. package/node_modules/@cursor/sdk/dist/cjs/run-interaction-accumulator.d.ts.map +0 -1
  640. package/node_modules/@cursor/sdk/dist/cjs/run.d.ts +0 -44
  641. package/node_modules/@cursor/sdk/dist/cjs/run.d.ts.map +0 -1
  642. package/node_modules/@cursor/sdk/dist/cjs/sdk-statsig.d.ts +0 -10
  643. package/node_modules/@cursor/sdk/dist/cjs/sdk-statsig.d.ts.map +0 -1
  644. package/node_modules/@cursor/sdk/dist/cjs/stubs.d.ts +0 -98
  645. package/node_modules/@cursor/sdk/dist/cjs/stubs.d.ts.map +0 -1
  646. package/node_modules/@cursor/sdk/dist/cjs/subagent-conversion.d.ts +0 -22
  647. package/node_modules/@cursor/sdk/dist/cjs/subagent-conversion.d.ts.map +0 -1
  648. package/node_modules/@cursor/sdk/dist/cjs/tool-call-utils.d.ts +0 -7
  649. package/node_modules/@cursor/sdk/dist/cjs/tool-call-utils.d.ts.map +0 -1
  650. package/node_modules/@cursor/sdk/dist/cjs/types/conversation-types.d.ts +0 -12062
  651. package/node_modules/@cursor/sdk/dist/cjs/types/conversation-types.d.ts.map +0 -1
  652. package/node_modules/@cursor/sdk/dist/cjs/types/delta-types.d.ts +0 -2
  653. package/node_modules/@cursor/sdk/dist/cjs/types/delta-types.d.ts.map +0 -1
  654. package/node_modules/@cursor/sdk/dist/cjs/types/tool-call-types.d.ts +0 -2
  655. package/node_modules/@cursor/sdk/dist/cjs/types/tool-call-types.d.ts.map +0 -1
  656. package/node_modules/@cursor/sdk/dist/cjs/utils/conversation-utils.d.ts +0 -3
  657. package/node_modules/@cursor/sdk/dist/cjs/utils/conversation-utils.d.ts.map +0 -1
  658. package/node_modules/@cursor/sdk/dist/cjs/utils/logger.d.ts +0 -12
  659. package/node_modules/@cursor/sdk/dist/cjs/utils/logger.d.ts.map +0 -1
  660. package/node_modules/@cursor/sdk/dist/cjs/utils/message-schemas.d.ts +0 -2
  661. package/node_modules/@cursor/sdk/dist/cjs/utils/message-schemas.d.ts.map +0 -1
  662. package/node_modules/@cursor/sdk/dist/esm/642.index.js +0 -1
  663. package/node_modules/@cursor/sdk/dist/esm/agent.d.ts +0 -170
  664. package/node_modules/@cursor/sdk/dist/esm/agent.d.ts.map +0 -1
  665. package/node_modules/@cursor/sdk/dist/esm/analytics.d.ts +0 -98
  666. package/node_modules/@cursor/sdk/dist/esm/analytics.d.ts.map +0 -1
  667. package/node_modules/@cursor/sdk/dist/esm/artifacts.d.ts +0 -6
  668. package/node_modules/@cursor/sdk/dist/esm/artifacts.d.ts.map +0 -1
  669. package/node_modules/@cursor/sdk/dist/esm/cloud-agent.d.ts +0 -47
  670. package/node_modules/@cursor/sdk/dist/esm/cloud-agent.d.ts.map +0 -1
  671. package/node_modules/@cursor/sdk/dist/esm/cloud-api-client.d.ts +0 -197
  672. package/node_modules/@cursor/sdk/dist/esm/cloud-api-client.d.ts.map +0 -1
  673. package/node_modules/@cursor/sdk/dist/esm/cloud-executor.d.ts +0 -14
  674. package/node_modules/@cursor/sdk/dist/esm/cloud-executor.d.ts.map +0 -1
  675. package/node_modules/@cursor/sdk/dist/esm/cloud-mcp-utils.d.ts +0 -4
  676. package/node_modules/@cursor/sdk/dist/esm/cloud-mcp-utils.d.ts.map +0 -1
  677. package/node_modules/@cursor/sdk/dist/esm/core-adapter.d.ts +0 -2
  678. package/node_modules/@cursor/sdk/dist/esm/core-adapter.d.ts.map +0 -1
  679. package/node_modules/@cursor/sdk/dist/esm/errors.d.ts +0 -135
  680. package/node_modules/@cursor/sdk/dist/esm/errors.d.ts.map +0 -1
  681. package/node_modules/@cursor/sdk/dist/esm/executor-common.d.ts +0 -16
  682. package/node_modules/@cursor/sdk/dist/esm/executor-common.d.ts.map +0 -1
  683. package/node_modules/@cursor/sdk/dist/esm/executor-types.d.ts +0 -65
  684. package/node_modules/@cursor/sdk/dist/esm/executor-types.d.ts.map +0 -1
  685. package/node_modules/@cursor/sdk/dist/esm/index.d.ts +0 -18
  686. package/node_modules/@cursor/sdk/dist/esm/index.d.ts.map +0 -1
  687. package/node_modules/@cursor/sdk/dist/esm/index.js +0 -8
  688. package/node_modules/@cursor/sdk/dist/esm/index.js.LICENSE.txt +0 -285
  689. package/node_modules/@cursor/sdk/dist/esm/local-executor.d.ts +0 -18
  690. package/node_modules/@cursor/sdk/dist/esm/local-executor.d.ts.map +0 -1
  691. package/node_modules/@cursor/sdk/dist/esm/local-model-validation.d.ts +0 -6
  692. package/node_modules/@cursor/sdk/dist/esm/local-model-validation.d.ts.map +0 -1
  693. package/node_modules/@cursor/sdk/dist/esm/messages.d.ts +0 -110
  694. package/node_modules/@cursor/sdk/dist/esm/messages.d.ts.map +0 -1
  695. package/node_modules/@cursor/sdk/dist/esm/options.d.ts +0 -145
  696. package/node_modules/@cursor/sdk/dist/esm/options.d.ts.map +0 -1
  697. package/node_modules/@cursor/sdk/dist/esm/platform.d.ts +0 -71
  698. package/node_modules/@cursor/sdk/dist/esm/platform.d.ts.map +0 -1
  699. package/node_modules/@cursor/sdk/dist/esm/prefetched-blobs.d.ts +0 -13
  700. package/node_modules/@cursor/sdk/dist/esm/prefetched-blobs.d.ts.map +0 -1
  701. package/node_modules/@cursor/sdk/dist/esm/public-api.d.ts +0 -12
  702. package/node_modules/@cursor/sdk/dist/esm/public-api.d.ts.map +0 -1
  703. package/node_modules/@cursor/sdk/dist/esm/run-event-tailer.d.ts +0 -33
  704. package/node_modules/@cursor/sdk/dist/esm/run-event-tailer.d.ts.map +0 -1
  705. package/node_modules/@cursor/sdk/dist/esm/run-interaction-accumulator.d.ts +0 -33
  706. package/node_modules/@cursor/sdk/dist/esm/run-interaction-accumulator.d.ts.map +0 -1
  707. package/node_modules/@cursor/sdk/dist/esm/run.d.ts +0 -44
  708. package/node_modules/@cursor/sdk/dist/esm/run.d.ts.map +0 -1
  709. package/node_modules/@cursor/sdk/dist/esm/sdk-statsig.d.ts +0 -10
  710. package/node_modules/@cursor/sdk/dist/esm/sdk-statsig.d.ts.map +0 -1
  711. package/node_modules/@cursor/sdk/dist/esm/stubs.d.ts +0 -98
  712. package/node_modules/@cursor/sdk/dist/esm/stubs.d.ts.map +0 -1
  713. package/node_modules/@cursor/sdk/dist/esm/subagent-conversion.d.ts +0 -22
  714. package/node_modules/@cursor/sdk/dist/esm/subagent-conversion.d.ts.map +0 -1
  715. package/node_modules/@cursor/sdk/dist/esm/tool-call-utils.d.ts +0 -7
  716. package/node_modules/@cursor/sdk/dist/esm/tool-call-utils.d.ts.map +0 -1
  717. package/node_modules/@cursor/sdk/dist/esm/types/conversation-types.d.ts +0 -12062
  718. package/node_modules/@cursor/sdk/dist/esm/types/conversation-types.d.ts.map +0 -1
  719. package/node_modules/@cursor/sdk/dist/esm/types/delta-types.d.ts +0 -2
  720. package/node_modules/@cursor/sdk/dist/esm/types/delta-types.d.ts.map +0 -1
  721. package/node_modules/@cursor/sdk/dist/esm/types/tool-call-types.d.ts +0 -2
  722. package/node_modules/@cursor/sdk/dist/esm/types/tool-call-types.d.ts.map +0 -1
  723. package/node_modules/@cursor/sdk/dist/esm/utils/conversation-utils.d.ts +0 -3
  724. package/node_modules/@cursor/sdk/dist/esm/utils/conversation-utils.d.ts.map +0 -1
  725. package/node_modules/@cursor/sdk/dist/esm/utils/logger.d.ts +0 -12
  726. package/node_modules/@cursor/sdk/dist/esm/utils/logger.d.ts.map +0 -1
  727. package/node_modules/@cursor/sdk/dist/esm/utils/message-schemas.d.ts +0 -2
  728. package/node_modules/@cursor/sdk/dist/esm/utils/message-schemas.d.ts.map +0 -1
  729. package/node_modules/@cursor/sdk/package.json +0 -114
  730. package/node_modules/@cursor/sdk-darwin-arm64/README.md +0 -5
  731. package/node_modules/@cursor/sdk-darwin-arm64/bin/cursorsandbox +0 -0
  732. package/node_modules/@cursor/sdk-darwin-arm64/bin/rg +0 -0
  733. package/node_modules/@cursor/sdk-darwin-arm64/package.json +0 -25
  734. package/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
  735. package/node_modules/@isaacs/fs-minipass/README.md +0 -71
  736. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +0 -118
  737. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +0 -1
  738. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
  739. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +0 -1
  740. package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
  741. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +0 -118
  742. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +0 -1
  743. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
  744. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +0 -1
  745. package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
  746. package/node_modules/@isaacs/fs-minipass/package.json +0 -72
  747. package/node_modules/@statsig/client-core/package.json +0 -15
  748. package/node_modules/@statsig/client-core/src/$_StatsigGlobal.d.ts +0 -19
  749. package/node_modules/@statsig/client-core/src/$_StatsigGlobal.js +0 -41
  750. package/node_modules/@statsig/client-core/src/CacheKey.d.ts +0 -4
  751. package/node_modules/@statsig/client-core/src/CacheKey.js +0 -28
  752. package/node_modules/@statsig/client-core/src/ClientInterfaces.d.ts +0 -62
  753. package/node_modules/@statsig/client-core/src/ClientInterfaces.js +0 -2
  754. package/node_modules/@statsig/client-core/src/DataAdapterCore.d.ts +0 -29
  755. package/node_modules/@statsig/client-core/src/DataAdapterCore.js +0 -216
  756. package/node_modules/@statsig/client-core/src/Diagnostics.d.ts +0 -67
  757. package/node_modules/@statsig/client-core/src/Diagnostics.js +0 -100
  758. package/node_modules/@statsig/client-core/src/DnsTxtQuery.d.ts +0 -2
  759. package/node_modules/@statsig/client-core/src/DnsTxtQuery.js +0 -63
  760. package/node_modules/@statsig/client-core/src/DownloadConfigSpecsResponse.d.ts +0 -61
  761. package/node_modules/@statsig/client-core/src/DownloadConfigSpecsResponse.js +0 -2
  762. package/node_modules/@statsig/client-core/src/ErrorBoundary.d.ts +0 -17
  763. package/node_modules/@statsig/client-core/src/ErrorBoundary.js +0 -197
  764. package/node_modules/@statsig/client-core/src/EvaluationOptions.d.ts +0 -30
  765. package/node_modules/@statsig/client-core/src/EvaluationOptions.js +0 -2
  766. package/node_modules/@statsig/client-core/src/EvaluationTypes.d.ts +0 -49
  767. package/node_modules/@statsig/client-core/src/EvaluationTypes.js +0 -2
  768. package/node_modules/@statsig/client-core/src/EvaluationTypesV2.d.ts +0 -30
  769. package/node_modules/@statsig/client-core/src/EvaluationTypesV2.js +0 -2
  770. package/node_modules/@statsig/client-core/src/EventBatch.d.ts +0 -8
  771. package/node_modules/@statsig/client-core/src/EventBatch.js +0 -14
  772. package/node_modules/@statsig/client-core/src/EventLogger.d.ts +0 -48
  773. package/node_modules/@statsig/client-core/src/EventLogger.js +0 -349
  774. package/node_modules/@statsig/client-core/src/EventRetryConstants.d.ts +0 -7
  775. package/node_modules/@statsig/client-core/src/EventRetryConstants.js +0 -12
  776. package/node_modules/@statsig/client-core/src/Hashing.d.ts +0 -3
  777. package/node_modules/@statsig/client-core/src/Hashing.js +0 -35
  778. package/node_modules/@statsig/client-core/src/InitializeResponse.d.ts +0 -66
  779. package/node_modules/@statsig/client-core/src/InitializeResponse.js +0 -2
  780. package/node_modules/@statsig/client-core/src/Log.d.ts +0 -15
  781. package/node_modules/@statsig/client-core/src/Log.js +0 -44
  782. package/node_modules/@statsig/client-core/src/MemoKey.d.ts +0 -11
  783. package/node_modules/@statsig/client-core/src/MemoKey.js +0 -37
  784. package/node_modules/@statsig/client-core/src/NetworkConfig.d.ts +0 -26
  785. package/node_modules/@statsig/client-core/src/NetworkConfig.js +0 -23
  786. package/node_modules/@statsig/client-core/src/NetworkCore.d.ts +0 -55
  787. package/node_modules/@statsig/client-core/src/NetworkCore.js +0 -371
  788. package/node_modules/@statsig/client-core/src/NetworkFallbackResolver.d.ts +0 -21
  789. package/node_modules/@statsig/client-core/src/NetworkFallbackResolver.js +0 -198
  790. package/node_modules/@statsig/client-core/src/OverrideAdapter.d.ts +0 -16
  791. package/node_modules/@statsig/client-core/src/OverrideAdapter.js +0 -2
  792. package/node_modules/@statsig/client-core/src/ParamStoreTypes.d.ts +0 -65
  793. package/node_modules/@statsig/client-core/src/ParamStoreTypes.js +0 -2
  794. package/node_modules/@statsig/client-core/src/SDKFlags.d.ts +0 -4
  795. package/node_modules/@statsig/client-core/src/SDKFlags.js +0 -13
  796. package/node_modules/@statsig/client-core/src/SDKType.d.ts +0 -8
  797. package/node_modules/@statsig/client-core/src/SDKType.js +0 -19
  798. package/node_modules/@statsig/client-core/src/SafeJs.d.ts +0 -8
  799. package/node_modules/@statsig/client-core/src/SafeJs.js +0 -68
  800. package/node_modules/@statsig/client-core/src/SessionID.d.ts +0 -20
  801. package/node_modules/@statsig/client-core/src/SessionID.js +0 -106
  802. package/node_modules/@statsig/client-core/src/SizeOf.d.ts +0 -1
  803. package/node_modules/@statsig/client-core/src/SizeOf.js +0 -26
  804. package/node_modules/@statsig/client-core/src/StableID.d.ts +0 -9
  805. package/node_modules/@statsig/client-core/src/StableID.js +0 -90
  806. package/node_modules/@statsig/client-core/src/StatsigClientBase.d.ts +0 -74
  807. package/node_modules/@statsig/client-core/src/StatsigClientBase.js +0 -207
  808. package/node_modules/@statsig/client-core/src/StatsigClientEventEmitter.d.ts +0 -100
  809. package/node_modules/@statsig/client-core/src/StatsigClientEventEmitter.js +0 -6
  810. package/node_modules/@statsig/client-core/src/StatsigDataAdapter.d.ts +0 -131
  811. package/node_modules/@statsig/client-core/src/StatsigDataAdapter.js +0 -4
  812. package/node_modules/@statsig/client-core/src/StatsigEvent.d.ts +0 -28
  813. package/node_modules/@statsig/client-core/src/StatsigEvent.js +0 -98
  814. package/node_modules/@statsig/client-core/src/StatsigMetadata.d.ts +0 -18
  815. package/node_modules/@statsig/client-core/src/StatsigMetadata.js +0 -14
  816. package/node_modules/@statsig/client-core/src/StatsigOptionsCommon.d.ts +0 -180
  817. package/node_modules/@statsig/client-core/src/StatsigOptionsCommon.js +0 -16
  818. package/node_modules/@statsig/client-core/src/StatsigPlugin.d.ts +0 -5
  819. package/node_modules/@statsig/client-core/src/StatsigPlugin.js +0 -2
  820. package/node_modules/@statsig/client-core/src/StatsigTypeFactories.d.ts +0 -8
  821. package/node_modules/@statsig/client-core/src/StatsigTypeFactories.js +0 -57
  822. package/node_modules/@statsig/client-core/src/StatsigTypes.d.ts +0 -43
  823. package/node_modules/@statsig/client-core/src/StatsigTypes.js +0 -2
  824. package/node_modules/@statsig/client-core/src/StatsigUpdateDetails.d.ts +0 -14
  825. package/node_modules/@statsig/client-core/src/StatsigUpdateDetails.js +0 -17
  826. package/node_modules/@statsig/client-core/src/StatsigUser.d.ts +0 -24
  827. package/node_modules/@statsig/client-core/src/StatsigUser.js +0 -25
  828. package/node_modules/@statsig/client-core/src/StorageProvider.d.ts +0 -17
  829. package/node_modules/@statsig/client-core/src/StorageProvider.js +0 -90
  830. package/node_modules/@statsig/client-core/src/TypedJsonParse.d.ts +0 -8
  831. package/node_modules/@statsig/client-core/src/TypedJsonParse.js +0 -27
  832. package/node_modules/@statsig/client-core/src/TypingUtils.d.ts +0 -7
  833. package/node_modules/@statsig/client-core/src/TypingUtils.js +0 -12
  834. package/node_modules/@statsig/client-core/src/UUID.d.ts +0 -1
  835. package/node_modules/@statsig/client-core/src/UUID.js +0 -28
  836. package/node_modules/@statsig/client-core/src/UrlConfiguration.d.ts +0 -12
  837. package/node_modules/@statsig/client-core/src/UrlConfiguration.js +0 -41
  838. package/node_modules/@statsig/client-core/src/VisibilityObserving.d.ts +0 -9
  839. package/node_modules/@statsig/client-core/src/VisibilityObserving.js +0 -39
  840. package/node_modules/@statsig/client-core/src/__tests__/MockOverrideAdapter.d.ts +0 -16
  841. package/node_modules/@statsig/client-core/src/__tests__/MockOverrideAdapter.js +0 -21
  842. package/node_modules/@statsig/client-core/src/index.d.ts +0 -47
  843. package/node_modules/@statsig/client-core/src/index.js +0 -70
  844. package/node_modules/@statsig/js-client/LICENSE +0 -14
  845. package/node_modules/@statsig/js-client/README.md +0 -49
  846. package/node_modules/@statsig/js-client/build/statsig-js-client+session-replay+web-analytics.min.js +0 -2
  847. package/node_modules/@statsig/js-client/build/statsig-js-client+session-replay.min.js +0 -1
  848. package/node_modules/@statsig/js-client/build/statsig-js-client+web-analytics.min.js +0 -2
  849. package/node_modules/@statsig/js-client/build/statsig-js-client.min.js +0 -1
  850. package/node_modules/@statsig/js-client/package.json +0 -18
  851. package/node_modules/@statsig/js-client/src/EvaluationResponseDeltas.d.ts +0 -10
  852. package/node_modules/@statsig/js-client/src/EvaluationResponseDeltas.js +0 -49
  853. package/node_modules/@statsig/js-client/src/EvaluationStore.d.ts +0 -29
  854. package/node_modules/@statsig/js-client/src/EvaluationStore.js +0 -175
  855. package/node_modules/@statsig/js-client/src/InitializeContainer.d.ts +0 -9
  856. package/node_modules/@statsig/js-client/src/InitializeContainer.js +0 -2
  857. package/node_modules/@statsig/js-client/src/Network.d.ts +0 -9
  858. package/node_modules/@statsig/js-client/src/Network.js +0 -74
  859. package/node_modules/@statsig/js-client/src/ParamStoreGetterFactory.d.ts +0 -3
  860. package/node_modules/@statsig/js-client/src/ParamStoreGetterFactory.js +0 -74
  861. package/node_modules/@statsig/js-client/src/StatsigClient.d.ts +0 -244
  862. package/node_modules/@statsig/js-client/src/StatsigClient.js +0 -418
  863. package/node_modules/@statsig/js-client/src/StatsigEvaluationsDataAdapter.d.ts +0 -15
  864. package/node_modules/@statsig/js-client/src/StatsigEvaluationsDataAdapter.js +0 -65
  865. package/node_modules/@statsig/js-client/src/StatsigOptions.d.ts +0 -42
  866. package/node_modules/@statsig/js-client/src/StatsigOptions.js +0 -2
  867. package/node_modules/@statsig/js-client/src/V1InitializeContainer.d.ts +0 -13
  868. package/node_modules/@statsig/js-client/src/V1InitializeContainer.js +0 -35
  869. package/node_modules/@statsig/js-client/src/V2InitializeContainer.d.ts +0 -13
  870. package/node_modules/@statsig/js-client/src/V2InitializeContainer.js +0 -82
  871. package/node_modules/@statsig/js-client/src/index.d.ts +0 -9
  872. package/node_modules/@statsig/js-client/src/index.js +0 -25
  873. package/node_modules/abbrev/LICENSE +0 -46
  874. package/node_modules/abbrev/README.md +0 -23
  875. package/node_modules/abbrev/lib/index.js +0 -53
  876. package/node_modules/abbrev/package.json +0 -41
  877. package/node_modules/base64-js/LICENSE +0 -21
  878. package/node_modules/base64-js/README.md +0 -34
  879. package/node_modules/base64-js/base64js.min.js +0 -1
  880. package/node_modules/base64-js/index.d.ts +0 -3
  881. package/node_modules/base64-js/index.js +0 -150
  882. package/node_modules/base64-js/package.json +0 -47
  883. package/node_modules/bindings/LICENSE.md +0 -22
  884. package/node_modules/bindings/README.md +0 -98
  885. package/node_modules/bindings/bindings.js +0 -221
  886. package/node_modules/bindings/package.json +0 -28
  887. package/node_modules/bl/.travis.yml +0 -17
  888. package/node_modules/bl/BufferList.js +0 -396
  889. package/node_modules/bl/LICENSE.md +0 -13
  890. package/node_modules/bl/README.md +0 -247
  891. package/node_modules/bl/bl.js +0 -84
  892. package/node_modules/bl/package.json +0 -37
  893. package/node_modules/bl/test/convert.js +0 -21
  894. package/node_modules/bl/test/indexOf.js +0 -492
  895. package/node_modules/bl/test/isBufferList.js +0 -32
  896. package/node_modules/bl/test/test.js +0 -869
  897. package/node_modules/buffer/AUTHORS.md +0 -70
  898. package/node_modules/buffer/LICENSE +0 -21
  899. package/node_modules/buffer/README.md +0 -410
  900. package/node_modules/buffer/index.d.ts +0 -186
  901. package/node_modules/buffer/index.js +0 -1817
  902. package/node_modules/buffer/package.json +0 -96
  903. package/node_modules/chownr/LICENSE.md +0 -63
  904. package/node_modules/chownr/README.md +0 -3
  905. package/node_modules/chownr/dist/commonjs/index.d.ts +0 -3
  906. package/node_modules/chownr/dist/commonjs/index.d.ts.map +0 -1
  907. package/node_modules/chownr/dist/commonjs/index.js +0 -93
  908. package/node_modules/chownr/dist/commonjs/index.js.map +0 -1
  909. package/node_modules/chownr/dist/commonjs/package.json +0 -3
  910. package/node_modules/chownr/dist/esm/index.d.ts +0 -3
  911. package/node_modules/chownr/dist/esm/index.d.ts.map +0 -1
  912. package/node_modules/chownr/dist/esm/index.js +0 -85
  913. package/node_modules/chownr/dist/esm/index.js.map +0 -1
  914. package/node_modules/chownr/dist/esm/package.json +0 -3
  915. package/node_modules/chownr/package.json +0 -69
  916. package/node_modules/decompress-response/index.d.ts +0 -22
  917. package/node_modules/decompress-response/index.js +0 -58
  918. package/node_modules/decompress-response/license +0 -9
  919. package/node_modules/decompress-response/package.json +0 -56
  920. package/node_modules/decompress-response/readme.md +0 -48
  921. package/node_modules/deep-extend/CHANGELOG.md +0 -46
  922. package/node_modules/deep-extend/LICENSE +0 -20
  923. package/node_modules/deep-extend/README.md +0 -91
  924. package/node_modules/deep-extend/index.js +0 -1
  925. package/node_modules/deep-extend/lib/deep-extend.js +0 -150
  926. package/node_modules/deep-extend/package.json +0 -62
  927. package/node_modules/detect-libc/LICENSE +0 -201
  928. package/node_modules/detect-libc/README.md +0 -163
  929. package/node_modules/detect-libc/index.d.ts +0 -14
  930. package/node_modules/detect-libc/lib/detect-libc.js +0 -313
  931. package/node_modules/detect-libc/lib/elf.js +0 -39
  932. package/node_modules/detect-libc/lib/filesystem.js +0 -51
  933. package/node_modules/detect-libc/lib/process.js +0 -24
  934. package/node_modules/detect-libc/package.json +0 -44
  935. package/node_modules/end-of-stream/LICENSE +0 -21
  936. package/node_modules/end-of-stream/README.md +0 -54
  937. package/node_modules/end-of-stream/index.js +0 -96
  938. package/node_modules/end-of-stream/package.json +0 -37
  939. package/node_modules/env-paths/index.d.ts +0 -101
  940. package/node_modules/env-paths/index.js +0 -74
  941. package/node_modules/env-paths/license +0 -9
  942. package/node_modules/env-paths/package.json +0 -45
  943. package/node_modules/env-paths/readme.md +0 -115
  944. package/node_modules/expand-template/.travis.yml +0 -6
  945. package/node_modules/expand-template/LICENSE +0 -21
  946. package/node_modules/expand-template/README.md +0 -43
  947. package/node_modules/expand-template/index.js +0 -26
  948. package/node_modules/expand-template/package.json +0 -29
  949. package/node_modules/expand-template/test.js +0 -67
  950. package/node_modules/exponential-backoff/LICENSE +0 -202
  951. package/node_modules/exponential-backoff/README.md +0 -89
  952. package/node_modules/exponential-backoff/dist/backoff.d.ts +0 -9
  953. package/node_modules/exponential-backoff/dist/backoff.js +0 -124
  954. package/node_modules/exponential-backoff/dist/backoff.js.map +0 -1
  955. package/node_modules/exponential-backoff/dist/delay/always/always.delay.d.ts +0 -3
  956. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js +0 -25
  957. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js.map +0 -1
  958. package/node_modules/exponential-backoff/dist/delay/delay.base.d.ts +0 -12
  959. package/node_modules/exponential-backoff/dist/delay/delay.base.js +0 -45
  960. package/node_modules/exponential-backoff/dist/delay/delay.base.js.map +0 -1
  961. package/node_modules/exponential-backoff/dist/delay/delay.factory.d.ts +0 -3
  962. package/node_modules/exponential-backoff/dist/delay/delay.factory.js +0 -17
  963. package/node_modules/exponential-backoff/dist/delay/delay.factory.js.map +0 -1
  964. package/node_modules/exponential-backoff/dist/delay/delay.interface.d.ts +0 -4
  965. package/node_modules/exponential-backoff/dist/delay/delay.interface.js +0 -3
  966. package/node_modules/exponential-backoff/dist/delay/delay.interface.js.map +0 -1
  967. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.d.ts +0 -6
  968. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +0 -82
  969. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js.map +0 -1
  970. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.d.ts +0 -1
  971. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +0 -8
  972. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js.map +0 -1
  973. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.d.ts +0 -3
  974. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +0 -15
  975. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js.map +0 -1
  976. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.d.ts +0 -1
  977. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +0 -7
  978. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js.map +0 -1
  979. package/node_modules/exponential-backoff/dist/options.d.ts +0 -55
  980. package/node_modules/exponential-backoff/dist/options.js +0 -31
  981. package/node_modules/exponential-backoff/dist/options.js.map +0 -1
  982. package/node_modules/exponential-backoff/package.json +0 -62
  983. package/node_modules/exponential-backoff/src/backoff.spec.ts +0 -194
  984. package/node_modules/exponential-backoff/src/backoff.ts +0 -60
  985. package/node_modules/exponential-backoff/src/delay/always/always.delay.spec.ts +0 -65
  986. package/node_modules/exponential-backoff/src/delay/always/always.delay.ts +0 -3
  987. package/node_modules/exponential-backoff/src/delay/delay.base.ts +0 -34
  988. package/node_modules/exponential-backoff/src/delay/delay.factory.ts +0 -18
  989. package/node_modules/exponential-backoff/src/delay/delay.interface.ts +0 -4
  990. package/node_modules/exponential-backoff/src/delay/skip-first/skip-first.delay.ts +0 -15
  991. package/node_modules/exponential-backoff/src/jitter/full/full.jitter.spec.ts +0 -31
  992. package/node_modules/exponential-backoff/src/jitter/full/full.jitter.ts +0 -4
  993. package/node_modules/exponential-backoff/src/jitter/jitter.factory.ts +0 -16
  994. package/node_modules/exponential-backoff/src/jitter/no/no.jitter.spec.ts +0 -9
  995. package/node_modules/exponential-backoff/src/jitter/no/no.jitter.ts +0 -3
  996. package/node_modules/exponential-backoff/src/options.ts +0 -76
  997. package/node_modules/fdir/LICENSE +0 -7
  998. package/node_modules/fdir/README.md +0 -91
  999. package/node_modules/fdir/dist/index.cjs +0 -588
  1000. package/node_modules/fdir/dist/index.d.cts +0 -155
  1001. package/node_modules/fdir/dist/index.d.mts +0 -155
  1002. package/node_modules/fdir/dist/index.mjs +0 -570
  1003. package/node_modules/fdir/package.json +0 -103
  1004. package/node_modules/file-uri-to-path/.npmignore +0 -1
  1005. package/node_modules/file-uri-to-path/.travis.yml +0 -30
  1006. package/node_modules/file-uri-to-path/History.md +0 -21
  1007. package/node_modules/file-uri-to-path/LICENSE +0 -20
  1008. package/node_modules/file-uri-to-path/README.md +0 -74
  1009. package/node_modules/file-uri-to-path/index.d.ts +0 -2
  1010. package/node_modules/file-uri-to-path/index.js +0 -66
  1011. package/node_modules/file-uri-to-path/package.json +0 -32
  1012. package/node_modules/file-uri-to-path/test/test.js +0 -24
  1013. package/node_modules/file-uri-to-path/test/tests.json +0 -13
  1014. package/node_modules/fs-constants/LICENSE +0 -21
  1015. package/node_modules/fs-constants/README.md +0 -26
  1016. package/node_modules/fs-constants/browser.js +0 -1
  1017. package/node_modules/fs-constants/index.js +0 -1
  1018. package/node_modules/fs-constants/package.json +0 -19
  1019. package/node_modules/github-from-package/.travis.yml +0 -4
  1020. package/node_modules/github-from-package/LICENSE +0 -18
  1021. package/node_modules/github-from-package/example/package.json +0 -8
  1022. package/node_modules/github-from-package/example/url.js +0 -3
  1023. package/node_modules/github-from-package/index.js +0 -17
  1024. package/node_modules/github-from-package/package.json +0 -30
  1025. package/node_modules/github-from-package/readme.markdown +0 -53
  1026. package/node_modules/github-from-package/test/a.json +0 -8
  1027. package/node_modules/github-from-package/test/b.json +0 -5
  1028. package/node_modules/github-from-package/test/c.json +0 -5
  1029. package/node_modules/github-from-package/test/d.json +0 -7
  1030. package/node_modules/github-from-package/test/e.json +0 -5
  1031. package/node_modules/github-from-package/test/url.js +0 -19
  1032. package/node_modules/graceful-fs/LICENSE +0 -15
  1033. package/node_modules/graceful-fs/README.md +0 -143
  1034. package/node_modules/graceful-fs/clone.js +0 -23
  1035. package/node_modules/graceful-fs/graceful-fs.js +0 -448
  1036. package/node_modules/graceful-fs/legacy-streams.js +0 -118
  1037. package/node_modules/graceful-fs/package.json +0 -53
  1038. package/node_modules/graceful-fs/polyfills.js +0 -355
  1039. package/node_modules/ieee754/LICENSE +0 -11
  1040. package/node_modules/ieee754/README.md +0 -51
  1041. package/node_modules/ieee754/index.d.ts +0 -10
  1042. package/node_modules/ieee754/index.js +0 -85
  1043. package/node_modules/ieee754/package.json +0 -52
  1044. package/node_modules/inherits/LICENSE +0 -16
  1045. package/node_modules/inherits/README.md +0 -42
  1046. package/node_modules/inherits/inherits.js +0 -9
  1047. package/node_modules/inherits/inherits_browser.js +0 -27
  1048. package/node_modules/inherits/package.json +0 -29
  1049. package/node_modules/ini/LICENSE +0 -15
  1050. package/node_modules/ini/README.md +0 -102
  1051. package/node_modules/ini/ini.js +0 -206
  1052. package/node_modules/ini/package.json +0 -33
  1053. package/node_modules/isexe/LICENSE.md +0 -55
  1054. package/node_modules/isexe/README.md +0 -80
  1055. package/node_modules/isexe/dist/commonjs/index.d.ts +0 -14
  1056. package/node_modules/isexe/dist/commonjs/index.d.ts.map +0 -1
  1057. package/node_modules/isexe/dist/commonjs/index.js +0 -56
  1058. package/node_modules/isexe/dist/commonjs/index.js.map +0 -1
  1059. package/node_modules/isexe/dist/commonjs/index.min.js +0 -2
  1060. package/node_modules/isexe/dist/commonjs/index.min.js.map +0 -7
  1061. package/node_modules/isexe/dist/commonjs/options.d.ts +0 -32
  1062. package/node_modules/isexe/dist/commonjs/options.d.ts.map +0 -1
  1063. package/node_modules/isexe/dist/commonjs/options.js +0 -3
  1064. package/node_modules/isexe/dist/commonjs/options.js.map +0 -1
  1065. package/node_modules/isexe/dist/commonjs/package.json +0 -3
  1066. package/node_modules/isexe/dist/commonjs/posix.d.ts +0 -18
  1067. package/node_modules/isexe/dist/commonjs/posix.d.ts.map +0 -1
  1068. package/node_modules/isexe/dist/commonjs/posix.js +0 -67
  1069. package/node_modules/isexe/dist/commonjs/posix.js.map +0 -1
  1070. package/node_modules/isexe/dist/commonjs/win32.d.ts +0 -18
  1071. package/node_modules/isexe/dist/commonjs/win32.d.ts.map +0 -1
  1072. package/node_modules/isexe/dist/commonjs/win32.js +0 -63
  1073. package/node_modules/isexe/dist/commonjs/win32.js.map +0 -1
  1074. package/node_modules/isexe/dist/esm/index.d.ts +0 -14
  1075. package/node_modules/isexe/dist/esm/index.d.ts.map +0 -1
  1076. package/node_modules/isexe/dist/esm/index.js +0 -16
  1077. package/node_modules/isexe/dist/esm/index.js.map +0 -1
  1078. package/node_modules/isexe/dist/esm/index.min.js +0 -2
  1079. package/node_modules/isexe/dist/esm/index.min.js.map +0 -7
  1080. package/node_modules/isexe/dist/esm/options.d.ts +0 -32
  1081. package/node_modules/isexe/dist/esm/options.d.ts.map +0 -1
  1082. package/node_modules/isexe/dist/esm/options.js +0 -2
  1083. package/node_modules/isexe/dist/esm/options.js.map +0 -1
  1084. package/node_modules/isexe/dist/esm/package.json +0 -3
  1085. package/node_modules/isexe/dist/esm/posix.d.ts +0 -18
  1086. package/node_modules/isexe/dist/esm/posix.d.ts.map +0 -1
  1087. package/node_modules/isexe/dist/esm/posix.js +0 -62
  1088. package/node_modules/isexe/dist/esm/posix.js.map +0 -1
  1089. package/node_modules/isexe/dist/esm/win32.d.ts +0 -18
  1090. package/node_modules/isexe/dist/esm/win32.d.ts.map +0 -1
  1091. package/node_modules/isexe/dist/esm/win32.js +0 -58
  1092. package/node_modules/isexe/dist/esm/win32.js.map +0 -1
  1093. package/node_modules/isexe/package.json +0 -78
  1094. package/node_modules/mimic-response/index.d.ts +0 -17
  1095. package/node_modules/mimic-response/index.js +0 -77
  1096. package/node_modules/mimic-response/license +0 -9
  1097. package/node_modules/mimic-response/package.json +0 -42
  1098. package/node_modules/mimic-response/readme.md +0 -78
  1099. package/node_modules/minimist/.eslintrc +0 -29
  1100. package/node_modules/minimist/.github/FUNDING.yml +0 -12
  1101. package/node_modules/minimist/.nycrc +0 -14
  1102. package/node_modules/minimist/CHANGELOG.md +0 -298
  1103. package/node_modules/minimist/LICENSE +0 -18
  1104. package/node_modules/minimist/README.md +0 -121
  1105. package/node_modules/minimist/example/parse.js +0 -4
  1106. package/node_modules/minimist/index.js +0 -263
  1107. package/node_modules/minimist/package.json +0 -75
  1108. package/node_modules/minimist/test/all_bool.js +0 -34
  1109. package/node_modules/minimist/test/bool.js +0 -177
  1110. package/node_modules/minimist/test/dash.js +0 -43
  1111. package/node_modules/minimist/test/default_bool.js +0 -37
  1112. package/node_modules/minimist/test/dotted.js +0 -24
  1113. package/node_modules/minimist/test/kv_short.js +0 -32
  1114. package/node_modules/minimist/test/long.js +0 -33
  1115. package/node_modules/minimist/test/num.js +0 -38
  1116. package/node_modules/minimist/test/parse.js +0 -209
  1117. package/node_modules/minimist/test/parse_modified.js +0 -11
  1118. package/node_modules/minimist/test/proto.js +0 -64
  1119. package/node_modules/minimist/test/short.js +0 -69
  1120. package/node_modules/minimist/test/stop_early.js +0 -17
  1121. package/node_modules/minimist/test/unknown.js +0 -104
  1122. package/node_modules/minimist/test/whitespace.js +0 -10
  1123. package/node_modules/minipass/LICENSE.md +0 -55
  1124. package/node_modules/minipass/README.md +0 -825
  1125. package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  1126. package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  1127. package/node_modules/minipass/dist/commonjs/index.js +0 -1038
  1128. package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  1129. package/node_modules/minipass/dist/commonjs/package.json +0 -3
  1130. package/node_modules/minipass/dist/esm/index.d.ts +0 -545
  1131. package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  1132. package/node_modules/minipass/dist/esm/index.js +0 -1020
  1133. package/node_modules/minipass/dist/esm/index.js.map +0 -1
  1134. package/node_modules/minipass/dist/esm/package.json +0 -3
  1135. package/node_modules/minipass/package.json +0 -77
  1136. package/node_modules/minizlib/LICENSE +0 -26
  1137. package/node_modules/minizlib/README.md +0 -64
  1138. package/node_modules/minizlib/dist/commonjs/constants.d.ts +0 -2
  1139. package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +0 -1
  1140. package/node_modules/minizlib/dist/commonjs/constants.js +0 -123
  1141. package/node_modules/minizlib/dist/commonjs/constants.js.map +0 -1
  1142. package/node_modules/minizlib/dist/commonjs/index.d.ts +0 -99
  1143. package/node_modules/minizlib/dist/commonjs/index.d.ts.map +0 -1
  1144. package/node_modules/minizlib/dist/commonjs/index.js +0 -416
  1145. package/node_modules/minizlib/dist/commonjs/index.js.map +0 -1
  1146. package/node_modules/minizlib/dist/commonjs/package.json +0 -3
  1147. package/node_modules/minizlib/dist/esm/constants.d.ts +0 -2
  1148. package/node_modules/minizlib/dist/esm/constants.d.ts.map +0 -1
  1149. package/node_modules/minizlib/dist/esm/constants.js +0 -117
  1150. package/node_modules/minizlib/dist/esm/constants.js.map +0 -1
  1151. package/node_modules/minizlib/dist/esm/index.d.ts +0 -99
  1152. package/node_modules/minizlib/dist/esm/index.d.ts.map +0 -1
  1153. package/node_modules/minizlib/dist/esm/index.js +0 -363
  1154. package/node_modules/minizlib/dist/esm/index.js.map +0 -1
  1155. package/node_modules/minizlib/dist/esm/package.json +0 -3
  1156. package/node_modules/minizlib/package.json +0 -80
  1157. package/node_modules/mkdirp-classic/LICENSE +0 -21
  1158. package/node_modules/mkdirp-classic/README.md +0 -18
  1159. package/node_modules/mkdirp-classic/index.js +0 -98
  1160. package/node_modules/mkdirp-classic/package.json +0 -18
  1161. package/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +0 -31
  1162. package/node_modules/napi-build-utils/LICENSE +0 -21
  1163. package/node_modules/napi-build-utils/README.md +0 -52
  1164. package/node_modules/napi-build-utils/index.js +0 -214
  1165. package/node_modules/napi-build-utils/index.md +0 -0
  1166. package/node_modules/napi-build-utils/package.json +0 -42
  1167. package/node_modules/node-abi/LICENSE +0 -21
  1168. package/node_modules/node-abi/README.md +0 -54
  1169. package/node_modules/node-abi/abi_registry.json +0 -439
  1170. package/node_modules/node-abi/index.js +0 -179
  1171. package/node_modules/node-abi/package.json +0 -45
  1172. package/node_modules/node-addon-api/LICENSE.md +0 -9
  1173. package/node_modules/node-addon-api/README.md +0 -95
  1174. package/node_modules/node-addon-api/common.gypi +0 -21
  1175. package/node_modules/node-addon-api/except.gypi +0 -25
  1176. package/node_modules/node-addon-api/index.js +0 -14
  1177. package/node_modules/node-addon-api/napi-inl.deprecated.h +0 -186
  1178. package/node_modules/node-addon-api/napi-inl.h +0 -7165
  1179. package/node_modules/node-addon-api/napi.h +0 -3364
  1180. package/node_modules/node-addon-api/node_addon_api.gyp +0 -42
  1181. package/node_modules/node-addon-api/node_api.gyp +0 -9
  1182. package/node_modules/node-addon-api/noexcept.gypi +0 -26
  1183. package/node_modules/node-addon-api/nothing.c +0 -0
  1184. package/node_modules/node-addon-api/package-support.json +0 -21
  1185. package/node_modules/node-addon-api/package.json +0 -480
  1186. package/node_modules/node-addon-api/tools/README.md +0 -73
  1187. package/node_modules/node-addon-api/tools/check-napi.js +0 -99
  1188. package/node_modules/node-addon-api/tools/clang-format.js +0 -71
  1189. package/node_modules/node-addon-api/tools/conversion.js +0 -301
  1190. package/node_modules/node-gyp/.release-please-manifest.json +0 -3
  1191. package/node_modules/node-gyp/CHANGELOG.md +0 -1221
  1192. package/node_modules/node-gyp/CODE_OF_CONDUCT.md +0 -4
  1193. package/node_modules/node-gyp/CONTRIBUTING.md +0 -44
  1194. package/node_modules/node-gyp/LICENSE +0 -24
  1195. package/node_modules/node-gyp/README.md +0 -290
  1196. package/node_modules/node-gyp/SECURITY.md +0 -2
  1197. package/node_modules/node-gyp/addon.gypi +0 -204
  1198. package/node_modules/node-gyp/bin/node-gyp.js +0 -145
  1199. package/node_modules/node-gyp/eslint.config.js +0 -3
  1200. package/node_modules/node-gyp/gyp/.release-please-manifest.json +0 -3
  1201. package/node_modules/node-gyp/gyp/LICENSE +0 -28
  1202. package/node_modules/node-gyp/gyp/data/ninja/build.ninja +0 -4
  1203. package/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  1204. package/node_modules/node-gyp/gyp/docs/GypVsCMake.md +0 -116
  1205. package/node_modules/node-gyp/gyp/docs/Hacking.md +0 -46
  1206. package/node_modules/node-gyp/gyp/docs/InputFormatReference.md +0 -1083
  1207. package/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +0 -430
  1208. package/node_modules/node-gyp/gyp/docs/README.md +0 -27
  1209. package/node_modules/node-gyp/gyp/docs/Testing.md +0 -450
  1210. package/node_modules/node-gyp/gyp/docs/UserDocumentation.md +0 -965
  1211. package/node_modules/node-gyp/gyp/gyp +0 -8
  1212. package/node_modules/node-gyp/gyp/gyp.bat +0 -5
  1213. package/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  1214. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  1215. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  1216. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1283
  1217. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1545
  1218. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  1219. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  1220. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  1221. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -607
  1222. package/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -706
  1223. package/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -725
  1224. package/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -186
  1225. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -170
  1226. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  1227. package/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  1228. package/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  1229. package/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  1230. package/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1169
  1231. package/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1316
  1232. package/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  1233. package/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  1234. package/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -461
  1235. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -88
  1236. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -55
  1237. package/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2755
  1238. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3970
  1239. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  1240. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2957
  1241. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -77
  1242. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1389
  1243. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  1244. package/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3097
  1245. package/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  1246. package/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -765
  1247. package/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1255
  1248. package/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  1249. package/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  1250. package/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -371
  1251. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1936
  1252. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  1253. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -301
  1254. package/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3180
  1255. package/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -64
  1256. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  1257. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  1258. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  1259. package/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  1260. package/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -107
  1261. package/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  1262. package/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  1263. package/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  1264. package/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  1265. package/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  1266. package/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -251
  1267. package/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -807
  1268. package/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  1269. package/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  1270. package/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  1271. package/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -541
  1272. package/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  1273. package/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  1274. package/node_modules/node-gyp/gyp/pyproject.toml +0 -116
  1275. package/node_modules/node-gyp/gyp/release-please-config.json +0 -11
  1276. package/node_modules/node-gyp/gyp/test_gyp.py +0 -260
  1277. package/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  1278. package/node_modules/node-gyp/lib/build.js +0 -230
  1279. package/node_modules/node-gyp/lib/clean.js +0 -15
  1280. package/node_modules/node-gyp/lib/configure.js +0 -328
  1281. package/node_modules/node-gyp/lib/create-config-gypi.js +0 -153
  1282. package/node_modules/node-gyp/lib/download.js +0 -86
  1283. package/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  1284. package/node_modules/node-gyp/lib/find-python.js +0 -304
  1285. package/node_modules/node-gyp/lib/find-visualstudio.js +0 -606
  1286. package/node_modules/node-gyp/lib/install.js +0 -411
  1287. package/node_modules/node-gyp/lib/list.js +0 -26
  1288. package/node_modules/node-gyp/lib/log.js +0 -168
  1289. package/node_modules/node-gyp/lib/node-gyp.js +0 -199
  1290. package/node_modules/node-gyp/lib/process-release.js +0 -144
  1291. package/node_modules/node-gyp/lib/rebuild.js +0 -12
  1292. package/node_modules/node-gyp/lib/remove.js +0 -43
  1293. package/node_modules/node-gyp/lib/util.js +0 -81
  1294. package/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  1295. package/node_modules/node-gyp/package.json +0 -52
  1296. package/node_modules/node-gyp/release-please-config.json +0 -40
  1297. package/node_modules/node-gyp/src/win_delay_load_hook.cc +0 -41
  1298. package/node_modules/nopt/LICENSE +0 -15
  1299. package/node_modules/nopt/README.md +0 -214
  1300. package/node_modules/nopt/bin/nopt.js +0 -29
  1301. package/node_modules/nopt/lib/debug.js +0 -5
  1302. package/node_modules/nopt/lib/nopt-lib.js +0 -514
  1303. package/node_modules/nopt/lib/nopt.js +0 -34
  1304. package/node_modules/nopt/lib/type-defs.js +0 -91
  1305. package/node_modules/nopt/package.json +0 -52
  1306. package/node_modules/once/LICENSE +0 -15
  1307. package/node_modules/once/README.md +0 -79
  1308. package/node_modules/once/once.js +0 -42
  1309. package/node_modules/once/package.json +0 -33
  1310. package/node_modules/picomatch/LICENSE +0 -21
  1311. package/node_modules/picomatch/README.md +0 -749
  1312. package/node_modules/picomatch/index.js +0 -17
  1313. package/node_modules/picomatch/lib/constants.js +0 -184
  1314. package/node_modules/picomatch/lib/parse.js +0 -1386
  1315. package/node_modules/picomatch/lib/picomatch.js +0 -349
  1316. package/node_modules/picomatch/lib/scan.js +0 -391
  1317. package/node_modules/picomatch/lib/utils.js +0 -72
  1318. package/node_modules/picomatch/package.json +0 -82
  1319. package/node_modules/picomatch/posix.js +0 -3
  1320. package/node_modules/prebuild-install/CHANGELOG.md +0 -131
  1321. package/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
  1322. package/node_modules/prebuild-install/LICENSE +0 -21
  1323. package/node_modules/prebuild-install/README.md +0 -163
  1324. package/node_modules/prebuild-install/asset.js +0 -44
  1325. package/node_modules/prebuild-install/bin.js +0 -78
  1326. package/node_modules/prebuild-install/download.js +0 -142
  1327. package/node_modules/prebuild-install/error.js +0 -14
  1328. package/node_modules/prebuild-install/help.txt +0 -16
  1329. package/node_modules/prebuild-install/index.js +0 -1
  1330. package/node_modules/prebuild-install/log.js +0 -33
  1331. package/node_modules/prebuild-install/package.json +0 -67
  1332. package/node_modules/prebuild-install/proxy.js +0 -35
  1333. package/node_modules/prebuild-install/rc.js +0 -64
  1334. package/node_modules/prebuild-install/util.js +0 -143
  1335. package/node_modules/proc-log/LICENSE +0 -15
  1336. package/node_modules/proc-log/README.md +0 -226
  1337. package/node_modules/proc-log/lib/index.js +0 -158
  1338. package/node_modules/proc-log/package.json +0 -46
  1339. package/node_modules/pump/.github/FUNDING.yml +0 -2
  1340. package/node_modules/pump/.travis.yml +0 -5
  1341. package/node_modules/pump/LICENSE +0 -21
  1342. package/node_modules/pump/README.md +0 -74
  1343. package/node_modules/pump/SECURITY.md +0 -5
  1344. package/node_modules/pump/empty.js +0 -1
  1345. package/node_modules/pump/index.js +0 -86
  1346. package/node_modules/pump/package.json +0 -30
  1347. package/node_modules/pump/test-browser.js +0 -66
  1348. package/node_modules/pump/test-node.js +0 -53
  1349. package/node_modules/rc/LICENSE.APACHE2 +0 -15
  1350. package/node_modules/rc/LICENSE.BSD +0 -26
  1351. package/node_modules/rc/LICENSE.MIT +0 -24
  1352. package/node_modules/rc/README.md +0 -227
  1353. package/node_modules/rc/browser.js +0 -7
  1354. package/node_modules/rc/cli.js +0 -4
  1355. package/node_modules/rc/index.js +0 -53
  1356. package/node_modules/rc/lib/utils.js +0 -104
  1357. package/node_modules/rc/package.json +0 -29
  1358. package/node_modules/rc/test/ini.js +0 -16
  1359. package/node_modules/rc/test/nested-env-vars.js +0 -50
  1360. package/node_modules/rc/test/test.js +0 -59
  1361. package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  1362. package/node_modules/readable-stream/GOVERNANCE.md +0 -136
  1363. package/node_modules/readable-stream/LICENSE +0 -47
  1364. package/node_modules/readable-stream/README.md +0 -106
  1365. package/node_modules/readable-stream/errors-browser.js +0 -127
  1366. package/node_modules/readable-stream/errors.js +0 -116
  1367. package/node_modules/readable-stream/experimentalWarning.js +0 -17
  1368. package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  1369. package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  1370. package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  1371. package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  1372. package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  1373. package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  1374. package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  1375. package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  1376. package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  1377. package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  1378. package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  1379. package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  1380. package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  1381. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  1382. package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  1383. package/node_modules/readable-stream/package.json +0 -68
  1384. package/node_modules/readable-stream/readable-browser.js +0 -9
  1385. package/node_modules/readable-stream/readable.js +0 -16
  1386. package/node_modules/safe-buffer/LICENSE +0 -21
  1387. package/node_modules/safe-buffer/README.md +0 -584
  1388. package/node_modules/safe-buffer/index.d.ts +0 -187
  1389. package/node_modules/safe-buffer/index.js +0 -65
  1390. package/node_modules/safe-buffer/package.json +0 -51
  1391. package/node_modules/semver/LICENSE +0 -15
  1392. package/node_modules/semver/README.md +0 -665
  1393. package/node_modules/semver/bin/semver.js +0 -191
  1394. package/node_modules/semver/classes/comparator.js +0 -143
  1395. package/node_modules/semver/classes/index.js +0 -7
  1396. package/node_modules/semver/classes/range.js +0 -557
  1397. package/node_modules/semver/classes/semver.js +0 -333
  1398. package/node_modules/semver/functions/clean.js +0 -8
  1399. package/node_modules/semver/functions/cmp.js +0 -54
  1400. package/node_modules/semver/functions/coerce.js +0 -62
  1401. package/node_modules/semver/functions/compare-build.js +0 -9
  1402. package/node_modules/semver/functions/compare-loose.js +0 -5
  1403. package/node_modules/semver/functions/compare.js +0 -7
  1404. package/node_modules/semver/functions/diff.js +0 -60
  1405. package/node_modules/semver/functions/eq.js +0 -5
  1406. package/node_modules/semver/functions/gt.js +0 -5
  1407. package/node_modules/semver/functions/gte.js +0 -5
  1408. package/node_modules/semver/functions/inc.js +0 -21
  1409. package/node_modules/semver/functions/lt.js +0 -5
  1410. package/node_modules/semver/functions/lte.js +0 -5
  1411. package/node_modules/semver/functions/major.js +0 -5
  1412. package/node_modules/semver/functions/minor.js +0 -5
  1413. package/node_modules/semver/functions/neq.js +0 -5
  1414. package/node_modules/semver/functions/parse.js +0 -18
  1415. package/node_modules/semver/functions/patch.js +0 -5
  1416. package/node_modules/semver/functions/prerelease.js +0 -8
  1417. package/node_modules/semver/functions/rcompare.js +0 -5
  1418. package/node_modules/semver/functions/rsort.js +0 -5
  1419. package/node_modules/semver/functions/satisfies.js +0 -12
  1420. package/node_modules/semver/functions/sort.js +0 -5
  1421. package/node_modules/semver/functions/valid.js +0 -8
  1422. package/node_modules/semver/index.js +0 -91
  1423. package/node_modules/semver/internal/constants.js +0 -37
  1424. package/node_modules/semver/internal/debug.js +0 -11
  1425. package/node_modules/semver/internal/identifiers.js +0 -29
  1426. package/node_modules/semver/internal/lrucache.js +0 -42
  1427. package/node_modules/semver/internal/parse-options.js +0 -17
  1428. package/node_modules/semver/internal/re.js +0 -223
  1429. package/node_modules/semver/package.json +0 -78
  1430. package/node_modules/semver/preload.js +0 -4
  1431. package/node_modules/semver/range.bnf +0 -16
  1432. package/node_modules/semver/ranges/gtr.js +0 -6
  1433. package/node_modules/semver/ranges/intersects.js +0 -9
  1434. package/node_modules/semver/ranges/ltr.js +0 -6
  1435. package/node_modules/semver/ranges/max-satisfying.js +0 -27
  1436. package/node_modules/semver/ranges/min-satisfying.js +0 -26
  1437. package/node_modules/semver/ranges/min-version.js +0 -63
  1438. package/node_modules/semver/ranges/outside.js +0 -82
  1439. package/node_modules/semver/ranges/simplify.js +0 -49
  1440. package/node_modules/semver/ranges/subset.js +0 -249
  1441. package/node_modules/semver/ranges/to-comparators.js +0 -10
  1442. package/node_modules/semver/ranges/valid.js +0 -13
  1443. package/node_modules/simple-concat/.travis.yml +0 -3
  1444. package/node_modules/simple-concat/LICENSE +0 -20
  1445. package/node_modules/simple-concat/README.md +0 -44
  1446. package/node_modules/simple-concat/index.js +0 -15
  1447. package/node_modules/simple-concat/package.json +0 -47
  1448. package/node_modules/simple-concat/test/basic.js +0 -41
  1449. package/node_modules/simple-get/.github/dependabot.yml +0 -15
  1450. package/node_modules/simple-get/.github/workflows/ci.yml +0 -23
  1451. package/node_modules/simple-get/LICENSE +0 -20
  1452. package/node_modules/simple-get/README.md +0 -333
  1453. package/node_modules/simple-get/index.js +0 -108
  1454. package/node_modules/simple-get/package.json +0 -67
  1455. package/node_modules/sqlite3/LICENSE +0 -25
  1456. package/node_modules/sqlite3/README.md +0 -253
  1457. package/node_modules/sqlite3/binding.gyp +0 -58
  1458. package/node_modules/sqlite3/build/Release/node_sqlite3.node +0 -0
  1459. package/node_modules/sqlite3/deps/common-sqlite.gypi +0 -60
  1460. package/node_modules/sqlite3/deps/extract.js +0 -19
  1461. package/node_modules/sqlite3/deps/sqlite-autoconf-3520000.tar.gz +0 -0
  1462. package/node_modules/sqlite3/deps/sqlite3.gyp +0 -121
  1463. package/node_modules/sqlite3/lib/sqlite3-binding.js +0 -1
  1464. package/node_modules/sqlite3/lib/sqlite3.d.ts +0 -205
  1465. package/node_modules/sqlite3/lib/sqlite3.js +0 -207
  1466. package/node_modules/sqlite3/lib/trace.js +0 -38
  1467. package/node_modules/sqlite3/package.json +0 -92
  1468. package/node_modules/sqlite3/src/async.h +0 -76
  1469. package/node_modules/sqlite3/src/backup.cc +0 -418
  1470. package/node_modules/sqlite3/src/backup.h +0 -209
  1471. package/node_modules/sqlite3/src/database.cc +0 -751
  1472. package/node_modules/sqlite3/src/database.h +0 -188
  1473. package/node_modules/sqlite3/src/gcc-preinclude.h +0 -31
  1474. package/node_modules/sqlite3/src/macros.h +0 -207
  1475. package/node_modules/sqlite3/src/node_sqlite3.cc +0 -128
  1476. package/node_modules/sqlite3/src/statement.cc +0 -939
  1477. package/node_modules/sqlite3/src/statement.h +0 -244
  1478. package/node_modules/sqlite3/src/threading.h +0 -10
  1479. package/node_modules/string_decoder/LICENSE +0 -48
  1480. package/node_modules/string_decoder/README.md +0 -47
  1481. package/node_modules/string_decoder/lib/string_decoder.js +0 -296
  1482. package/node_modules/string_decoder/package.json +0 -34
  1483. package/node_modules/strip-json-comments/index.js +0 -70
  1484. package/node_modules/strip-json-comments/license +0 -21
  1485. package/node_modules/strip-json-comments/package.json +0 -42
  1486. package/node_modules/strip-json-comments/readme.md +0 -64
  1487. package/node_modules/tar/LICENSE.md +0 -55
  1488. package/node_modules/tar/README.md +0 -1224
  1489. package/node_modules/tar/dist/commonjs/create.d.ts +0 -3
  1490. package/node_modules/tar/dist/commonjs/create.d.ts.map +0 -1
  1491. package/node_modules/tar/dist/commonjs/create.js +0 -82
  1492. package/node_modules/tar/dist/commonjs/create.js.map +0 -1
  1493. package/node_modules/tar/dist/commonjs/cwd-error.d.ts +0 -8
  1494. package/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +0 -1
  1495. package/node_modules/tar/dist/commonjs/cwd-error.js +0 -18
  1496. package/node_modules/tar/dist/commonjs/cwd-error.js.map +0 -1
  1497. package/node_modules/tar/dist/commonjs/extract.d.ts +0 -3
  1498. package/node_modules/tar/dist/commonjs/extract.d.ts.map +0 -1
  1499. package/node_modules/tar/dist/commonjs/extract.js +0 -88
  1500. package/node_modules/tar/dist/commonjs/extract.js.map +0 -1
  1501. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +0 -2
  1502. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +0 -1
  1503. package/node_modules/tar/dist/commonjs/get-write-flag.js +0 -32
  1504. package/node_modules/tar/dist/commonjs/get-write-flag.js.map +0 -1
  1505. package/node_modules/tar/dist/commonjs/header.d.ts +0 -53
  1506. package/node_modules/tar/dist/commonjs/header.d.ts.map +0 -1
  1507. package/node_modules/tar/dist/commonjs/header.js +0 -312
  1508. package/node_modules/tar/dist/commonjs/header.js.map +0 -1
  1509. package/node_modules/tar/dist/commonjs/index.d.ts +0 -20
  1510. package/node_modules/tar/dist/commonjs/index.d.ts.map +0 -1
  1511. package/node_modules/tar/dist/commonjs/index.js +0 -64
  1512. package/node_modules/tar/dist/commonjs/index.js.map +0 -1
  1513. package/node_modules/tar/dist/commonjs/index.min.js +0 -4
  1514. package/node_modules/tar/dist/commonjs/index.min.js.map +0 -7
  1515. package/node_modules/tar/dist/commonjs/large-numbers.d.ts +0 -3
  1516. package/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +0 -1
  1517. package/node_modules/tar/dist/commonjs/large-numbers.js +0 -99
  1518. package/node_modules/tar/dist/commonjs/large-numbers.js.map +0 -1
  1519. package/node_modules/tar/dist/commonjs/list.d.ts +0 -7
  1520. package/node_modules/tar/dist/commonjs/list.d.ts.map +0 -1
  1521. package/node_modules/tar/dist/commonjs/list.js +0 -145
  1522. package/node_modules/tar/dist/commonjs/list.js.map +0 -1
  1523. package/node_modules/tar/dist/commonjs/make-command.d.ts +0 -49
  1524. package/node_modules/tar/dist/commonjs/make-command.d.ts.map +0 -1
  1525. package/node_modules/tar/dist/commonjs/make-command.js +0 -52
  1526. package/node_modules/tar/dist/commonjs/make-command.js.map +0 -1
  1527. package/node_modules/tar/dist/commonjs/mkdir.d.ts +0 -25
  1528. package/node_modules/tar/dist/commonjs/mkdir.d.ts.map +0 -1
  1529. package/node_modules/tar/dist/commonjs/mkdir.js +0 -187
  1530. package/node_modules/tar/dist/commonjs/mkdir.js.map +0 -1
  1531. package/node_modules/tar/dist/commonjs/mode-fix.d.ts +0 -2
  1532. package/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +0 -1
  1533. package/node_modules/tar/dist/commonjs/mode-fix.js +0 -29
  1534. package/node_modules/tar/dist/commonjs/mode-fix.js.map +0 -1
  1535. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +0 -2
  1536. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +0 -1
  1537. package/node_modules/tar/dist/commonjs/normalize-unicode.js +0 -38
  1538. package/node_modules/tar/dist/commonjs/normalize-unicode.js.map +0 -1
  1539. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +0 -2
  1540. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +0 -1
  1541. package/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
  1542. package/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +0 -1
  1543. package/node_modules/tar/dist/commonjs/options.d.ts +0 -596
  1544. package/node_modules/tar/dist/commonjs/options.d.ts.map +0 -1
  1545. package/node_modules/tar/dist/commonjs/options.js +0 -66
  1546. package/node_modules/tar/dist/commonjs/options.js.map +0 -1
  1547. package/node_modules/tar/dist/commonjs/pack.d.ts +0 -105
  1548. package/node_modules/tar/dist/commonjs/pack.d.ts.map +0 -1
  1549. package/node_modules/tar/dist/commonjs/pack.js +0 -545
  1550. package/node_modules/tar/dist/commonjs/pack.js.map +0 -1
  1551. package/node_modules/tar/dist/commonjs/package.json +0 -3
  1552. package/node_modules/tar/dist/commonjs/parse.d.ts +0 -85
  1553. package/node_modules/tar/dist/commonjs/parse.d.ts.map +0 -1
  1554. package/node_modules/tar/dist/commonjs/parse.js +0 -610
  1555. package/node_modules/tar/dist/commonjs/parse.js.map +0 -1
  1556. package/node_modules/tar/dist/commonjs/path-reservations.d.ts +0 -11
  1557. package/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +0 -1
  1558. package/node_modules/tar/dist/commonjs/path-reservations.js +0 -170
  1559. package/node_modules/tar/dist/commonjs/path-reservations.js.map +0 -1
  1560. package/node_modules/tar/dist/commonjs/pax.d.ts +0 -26
  1561. package/node_modules/tar/dist/commonjs/pax.d.ts.map +0 -1
  1562. package/node_modules/tar/dist/commonjs/pax.js +0 -158
  1563. package/node_modules/tar/dist/commonjs/pax.js.map +0 -1
  1564. package/node_modules/tar/dist/commonjs/process-umask.d.ts +0 -2
  1565. package/node_modules/tar/dist/commonjs/process-umask.d.ts.map +0 -1
  1566. package/node_modules/tar/dist/commonjs/process-umask.js +0 -7
  1567. package/node_modules/tar/dist/commonjs/process-umask.js.map +0 -1
  1568. package/node_modules/tar/dist/commonjs/read-entry.d.ts +0 -36
  1569. package/node_modules/tar/dist/commonjs/read-entry.d.ts.map +0 -1
  1570. package/node_modules/tar/dist/commonjs/read-entry.js +0 -136
  1571. package/node_modules/tar/dist/commonjs/read-entry.js.map +0 -1
  1572. package/node_modules/tar/dist/commonjs/replace.d.ts +0 -2
  1573. package/node_modules/tar/dist/commonjs/replace.d.ts.map +0 -1
  1574. package/node_modules/tar/dist/commonjs/replace.js +0 -227
  1575. package/node_modules/tar/dist/commonjs/replace.js.map +0 -1
  1576. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +0 -2
  1577. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +0 -1
  1578. package/node_modules/tar/dist/commonjs/strip-absolute-path.js +0 -29
  1579. package/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +0 -1
  1580. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +0 -2
  1581. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +0 -1
  1582. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +0 -18
  1583. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +0 -1
  1584. package/node_modules/tar/dist/commonjs/symlink-error.d.ts +0 -9
  1585. package/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +0 -1
  1586. package/node_modules/tar/dist/commonjs/symlink-error.js +0 -19
  1587. package/node_modules/tar/dist/commonjs/symlink-error.js.map +0 -1
  1588. package/node_modules/tar/dist/commonjs/types.d.ts +0 -7
  1589. package/node_modules/tar/dist/commonjs/types.d.ts.map +0 -1
  1590. package/node_modules/tar/dist/commonjs/types.js +0 -50
  1591. package/node_modules/tar/dist/commonjs/types.js.map +0 -1
  1592. package/node_modules/tar/dist/commonjs/unpack.d.ts +0 -101
  1593. package/node_modules/tar/dist/commonjs/unpack.d.ts.map +0 -1
  1594. package/node_modules/tar/dist/commonjs/unpack.js +0 -932
  1595. package/node_modules/tar/dist/commonjs/unpack.js.map +0 -1
  1596. package/node_modules/tar/dist/commonjs/update.d.ts +0 -2
  1597. package/node_modules/tar/dist/commonjs/update.d.ts.map +0 -1
  1598. package/node_modules/tar/dist/commonjs/update.js +0 -33
  1599. package/node_modules/tar/dist/commonjs/update.js.map +0 -1
  1600. package/node_modules/tar/dist/commonjs/warn-method.d.ts +0 -24
  1601. package/node_modules/tar/dist/commonjs/warn-method.d.ts.map +0 -1
  1602. package/node_modules/tar/dist/commonjs/warn-method.js +0 -31
  1603. package/node_modules/tar/dist/commonjs/warn-method.js.map +0 -1
  1604. package/node_modules/tar/dist/commonjs/winchars.d.ts +0 -3
  1605. package/node_modules/tar/dist/commonjs/winchars.d.ts.map +0 -1
  1606. package/node_modules/tar/dist/commonjs/winchars.js +0 -14
  1607. package/node_modules/tar/dist/commonjs/winchars.js.map +0 -1
  1608. package/node_modules/tar/dist/commonjs/write-entry.d.ts +0 -129
  1609. package/node_modules/tar/dist/commonjs/write-entry.d.ts.map +0 -1
  1610. package/node_modules/tar/dist/commonjs/write-entry.js +0 -698
  1611. package/node_modules/tar/dist/commonjs/write-entry.js.map +0 -1
  1612. package/node_modules/tar/dist/esm/create.d.ts +0 -3
  1613. package/node_modules/tar/dist/esm/create.d.ts.map +0 -1
  1614. package/node_modules/tar/dist/esm/create.js +0 -76
  1615. package/node_modules/tar/dist/esm/create.js.map +0 -1
  1616. package/node_modules/tar/dist/esm/cwd-error.d.ts +0 -8
  1617. package/node_modules/tar/dist/esm/cwd-error.d.ts.map +0 -1
  1618. package/node_modules/tar/dist/esm/cwd-error.js +0 -14
  1619. package/node_modules/tar/dist/esm/cwd-error.js.map +0 -1
  1620. package/node_modules/tar/dist/esm/extract.d.ts +0 -3
  1621. package/node_modules/tar/dist/esm/extract.d.ts.map +0 -1
  1622. package/node_modules/tar/dist/esm/extract.js +0 -49
  1623. package/node_modules/tar/dist/esm/extract.js.map +0 -1
  1624. package/node_modules/tar/dist/esm/get-write-flag.d.ts +0 -2
  1625. package/node_modules/tar/dist/esm/get-write-flag.d.ts.map +0 -1
  1626. package/node_modules/tar/dist/esm/get-write-flag.js +0 -26
  1627. package/node_modules/tar/dist/esm/get-write-flag.js.map +0 -1
  1628. package/node_modules/tar/dist/esm/header.d.ts +0 -53
  1629. package/node_modules/tar/dist/esm/header.d.ts.map +0 -1
  1630. package/node_modules/tar/dist/esm/header.js +0 -275
  1631. package/node_modules/tar/dist/esm/header.js.map +0 -1
  1632. package/node_modules/tar/dist/esm/index.d.ts +0 -20
  1633. package/node_modules/tar/dist/esm/index.d.ts.map +0 -1
  1634. package/node_modules/tar/dist/esm/index.js +0 -20
  1635. package/node_modules/tar/dist/esm/index.js.map +0 -1
  1636. package/node_modules/tar/dist/esm/index.min.js +0 -4
  1637. package/node_modules/tar/dist/esm/index.min.js.map +0 -7
  1638. package/node_modules/tar/dist/esm/large-numbers.d.ts +0 -3
  1639. package/node_modules/tar/dist/esm/large-numbers.d.ts.map +0 -1
  1640. package/node_modules/tar/dist/esm/large-numbers.js +0 -94
  1641. package/node_modules/tar/dist/esm/large-numbers.js.map +0 -1
  1642. package/node_modules/tar/dist/esm/list.d.ts +0 -7
  1643. package/node_modules/tar/dist/esm/list.d.ts.map +0 -1
  1644. package/node_modules/tar/dist/esm/list.js +0 -105
  1645. package/node_modules/tar/dist/esm/list.js.map +0 -1
  1646. package/node_modules/tar/dist/esm/make-command.d.ts +0 -49
  1647. package/node_modules/tar/dist/esm/make-command.d.ts.map +0 -1
  1648. package/node_modules/tar/dist/esm/make-command.js +0 -48
  1649. package/node_modules/tar/dist/esm/make-command.js.map +0 -1
  1650. package/node_modules/tar/dist/esm/mkdir.d.ts +0 -25
  1651. package/node_modules/tar/dist/esm/mkdir.d.ts.map +0 -1
  1652. package/node_modules/tar/dist/esm/mkdir.js +0 -179
  1653. package/node_modules/tar/dist/esm/mkdir.js.map +0 -1
  1654. package/node_modules/tar/dist/esm/mode-fix.d.ts +0 -2
  1655. package/node_modules/tar/dist/esm/mode-fix.d.ts.map +0 -1
  1656. package/node_modules/tar/dist/esm/mode-fix.js +0 -25
  1657. package/node_modules/tar/dist/esm/mode-fix.js.map +0 -1
  1658. package/node_modules/tar/dist/esm/normalize-unicode.d.ts +0 -2
  1659. package/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +0 -1
  1660. package/node_modules/tar/dist/esm/normalize-unicode.js +0 -34
  1661. package/node_modules/tar/dist/esm/normalize-unicode.js.map +0 -1
  1662. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +0 -2
  1663. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +0 -1
  1664. package/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
  1665. package/node_modules/tar/dist/esm/normalize-windows-path.js.map +0 -1
  1666. package/node_modules/tar/dist/esm/options.d.ts +0 -596
  1667. package/node_modules/tar/dist/esm/options.d.ts.map +0 -1
  1668. package/node_modules/tar/dist/esm/options.js +0 -54
  1669. package/node_modules/tar/dist/esm/options.js.map +0 -1
  1670. package/node_modules/tar/dist/esm/pack.d.ts +0 -105
  1671. package/node_modules/tar/dist/esm/pack.d.ts.map +0 -1
  1672. package/node_modules/tar/dist/esm/pack.js +0 -503
  1673. package/node_modules/tar/dist/esm/pack.js.map +0 -1
  1674. package/node_modules/tar/dist/esm/package.json +0 -3
  1675. package/node_modules/tar/dist/esm/parse.d.ts +0 -85
  1676. package/node_modules/tar/dist/esm/parse.d.ts.map +0 -1
  1677. package/node_modules/tar/dist/esm/parse.js +0 -606
  1678. package/node_modules/tar/dist/esm/parse.js.map +0 -1
  1679. package/node_modules/tar/dist/esm/path-reservations.d.ts +0 -11
  1680. package/node_modules/tar/dist/esm/path-reservations.d.ts.map +0 -1
  1681. package/node_modules/tar/dist/esm/path-reservations.js +0 -166
  1682. package/node_modules/tar/dist/esm/path-reservations.js.map +0 -1
  1683. package/node_modules/tar/dist/esm/pax.d.ts +0 -26
  1684. package/node_modules/tar/dist/esm/pax.d.ts.map +0 -1
  1685. package/node_modules/tar/dist/esm/pax.js +0 -154
  1686. package/node_modules/tar/dist/esm/pax.js.map +0 -1
  1687. package/node_modules/tar/dist/esm/process-umask.d.ts +0 -2
  1688. package/node_modules/tar/dist/esm/process-umask.d.ts.map +0 -1
  1689. package/node_modules/tar/dist/esm/process-umask.js +0 -3
  1690. package/node_modules/tar/dist/esm/process-umask.js.map +0 -1
  1691. package/node_modules/tar/dist/esm/read-entry.d.ts +0 -36
  1692. package/node_modules/tar/dist/esm/read-entry.d.ts.map +0 -1
  1693. package/node_modules/tar/dist/esm/read-entry.js +0 -132
  1694. package/node_modules/tar/dist/esm/read-entry.js.map +0 -1
  1695. package/node_modules/tar/dist/esm/replace.d.ts +0 -2
  1696. package/node_modules/tar/dist/esm/replace.d.ts.map +0 -1
  1697. package/node_modules/tar/dist/esm/replace.js +0 -221
  1698. package/node_modules/tar/dist/esm/replace.js.map +0 -1
  1699. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +0 -2
  1700. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +0 -1
  1701. package/node_modules/tar/dist/esm/strip-absolute-path.js +0 -25
  1702. package/node_modules/tar/dist/esm/strip-absolute-path.js.map +0 -1
  1703. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +0 -2
  1704. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +0 -1
  1705. package/node_modules/tar/dist/esm/strip-trailing-slashes.js +0 -14
  1706. package/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +0 -1
  1707. package/node_modules/tar/dist/esm/symlink-error.d.ts +0 -9
  1708. package/node_modules/tar/dist/esm/symlink-error.d.ts.map +0 -1
  1709. package/node_modules/tar/dist/esm/symlink-error.js +0 -15
  1710. package/node_modules/tar/dist/esm/symlink-error.js.map +0 -1
  1711. package/node_modules/tar/dist/esm/types.d.ts +0 -7
  1712. package/node_modules/tar/dist/esm/types.d.ts.map +0 -1
  1713. package/node_modules/tar/dist/esm/types.js +0 -45
  1714. package/node_modules/tar/dist/esm/types.js.map +0 -1
  1715. package/node_modules/tar/dist/esm/unpack.d.ts +0 -101
  1716. package/node_modules/tar/dist/esm/unpack.d.ts.map +0 -1
  1717. package/node_modules/tar/dist/esm/unpack.js +0 -891
  1718. package/node_modules/tar/dist/esm/unpack.js.map +0 -1
  1719. package/node_modules/tar/dist/esm/update.d.ts +0 -2
  1720. package/node_modules/tar/dist/esm/update.d.ts.map +0 -1
  1721. package/node_modules/tar/dist/esm/update.js +0 -30
  1722. package/node_modules/tar/dist/esm/update.js.map +0 -1
  1723. package/node_modules/tar/dist/esm/warn-method.d.ts +0 -24
  1724. package/node_modules/tar/dist/esm/warn-method.d.ts.map +0 -1
  1725. package/node_modules/tar/dist/esm/warn-method.js +0 -27
  1726. package/node_modules/tar/dist/esm/warn-method.js.map +0 -1
  1727. package/node_modules/tar/dist/esm/winchars.d.ts +0 -3
  1728. package/node_modules/tar/dist/esm/winchars.d.ts.map +0 -1
  1729. package/node_modules/tar/dist/esm/winchars.js +0 -9
  1730. package/node_modules/tar/dist/esm/winchars.js.map +0 -1
  1731. package/node_modules/tar/dist/esm/write-entry.d.ts +0 -129
  1732. package/node_modules/tar/dist/esm/write-entry.d.ts.map +0 -1
  1733. package/node_modules/tar/dist/esm/write-entry.js +0 -656
  1734. package/node_modules/tar/dist/esm/write-entry.js.map +0 -1
  1735. package/node_modules/tar/package.json +0 -297
  1736. package/node_modules/tar-fs/.travis.yml +0 -6
  1737. package/node_modules/tar-fs/LICENSE +0 -21
  1738. package/node_modules/tar-fs/README.md +0 -165
  1739. package/node_modules/tar-fs/index.js +0 -363
  1740. package/node_modules/tar-fs/node_modules/chownr/LICENSE +0 -15
  1741. package/node_modules/tar-fs/node_modules/chownr/README.md +0 -3
  1742. package/node_modules/tar-fs/node_modules/chownr/chownr.js +0 -167
  1743. package/node_modules/tar-fs/node_modules/chownr/package.json +0 -29
  1744. package/node_modules/tar-fs/package.json +0 -41
  1745. package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
  1746. package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
  1747. package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
  1748. package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
  1749. package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
  1750. package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
  1751. package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
  1752. package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
  1753. package/node_modules/tar-fs/test/fixtures/e/file +0 -0
  1754. package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
  1755. package/node_modules/tar-fs/test/index.js +0 -346
  1756. package/node_modules/tar-stream/LICENSE +0 -21
  1757. package/node_modules/tar-stream/README.md +0 -168
  1758. package/node_modules/tar-stream/extract.js +0 -257
  1759. package/node_modules/tar-stream/headers.js +0 -295
  1760. package/node_modules/tar-stream/index.js +0 -2
  1761. package/node_modules/tar-stream/pack.js +0 -255
  1762. package/node_modules/tar-stream/package.json +0 -58
  1763. package/node_modules/tar-stream/sandbox.js +0 -11
  1764. package/node_modules/tinyglobby/LICENSE +0 -21
  1765. package/node_modules/tinyglobby/README.md +0 -25
  1766. package/node_modules/tinyglobby/dist/index.cjs +0 -334
  1767. package/node_modules/tinyglobby/dist/index.d.cts +0 -148
  1768. package/node_modules/tinyglobby/dist/index.d.mts +0 -148
  1769. package/node_modules/tinyglobby/dist/index.mjs +0 -306
  1770. package/node_modules/tinyglobby/package.json +0 -73
  1771. package/node_modules/tunnel-agent/LICENSE +0 -55
  1772. package/node_modules/tunnel-agent/README.md +0 -4
  1773. package/node_modules/tunnel-agent/index.js +0 -244
  1774. package/node_modules/tunnel-agent/package.json +0 -22
  1775. package/node_modules/undici/LICENSE +0 -21
  1776. package/node_modules/undici/README.md +0 -741
  1777. package/node_modules/undici/docs/docs/api/Agent.md +0 -84
  1778. package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  1779. package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  1780. package/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
  1781. package/node_modules/undici/docs/docs/api/Client.md +0 -285
  1782. package/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
  1783. package/node_modules/undici/docs/docs/api/Connector.md +0 -115
  1784. package/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  1785. package/node_modules/undici/docs/docs/api/Cookies.md +0 -101
  1786. package/node_modules/undici/docs/docs/api/Debug.md +0 -62
  1787. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
  1788. package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
  1789. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
  1790. package/node_modules/undici/docs/docs/api/Errors.md +0 -49
  1791. package/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  1792. package/node_modules/undici/docs/docs/api/Fetch.md +0 -60
  1793. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
  1794. package/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
  1795. package/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
  1796. package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
  1797. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
  1798. package/node_modules/undici/docs/docs/api/MockClient.md +0 -81
  1799. package/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  1800. package/node_modules/undici/docs/docs/api/MockPool.md +0 -555
  1801. package/node_modules/undici/docs/docs/api/Pool.md +0 -84
  1802. package/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  1803. package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
  1804. package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
  1805. package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
  1806. package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
  1807. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
  1808. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
  1809. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -274
  1810. package/node_modules/undici/docs/docs/api/Util.md +0 -25
  1811. package/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
  1812. package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  1813. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  1814. package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
  1815. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
  1816. package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  1817. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
  1818. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
  1819. package/node_modules/undici/index-fetch.js +0 -65
  1820. package/node_modules/undici/index.d.ts +0 -3
  1821. package/node_modules/undici/index.js +0 -234
  1822. package/node_modules/undici/lib/api/abort-signal.js +0 -59
  1823. package/node_modules/undici/lib/api/api-connect.js +0 -110
  1824. package/node_modules/undici/lib/api/api-pipeline.js +0 -252
  1825. package/node_modules/undici/lib/api/api-request.js +0 -214
  1826. package/node_modules/undici/lib/api/api-stream.js +0 -209
  1827. package/node_modules/undici/lib/api/api-upgrade.js +0 -111
  1828. package/node_modules/undici/lib/api/index.js +0 -7
  1829. package/node_modules/undici/lib/api/readable.js +0 -580
  1830. package/node_modules/undici/lib/cache/memory-cache-store.js +0 -234
  1831. package/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -461
  1832. package/node_modules/undici/lib/core/connect.js +0 -137
  1833. package/node_modules/undici/lib/core/constants.js +0 -143
  1834. package/node_modules/undici/lib/core/diagnostics.js +0 -227
  1835. package/node_modules/undici/lib/core/errors.js +0 -477
  1836. package/node_modules/undici/lib/core/request.js +0 -438
  1837. package/node_modules/undici/lib/core/socks5-client.js +0 -407
  1838. package/node_modules/undici/lib/core/socks5-utils.js +0 -203
  1839. package/node_modules/undici/lib/core/symbols.js +0 -75
  1840. package/node_modules/undici/lib/core/tree.js +0 -160
  1841. package/node_modules/undici/lib/core/util.js +0 -992
  1842. package/node_modules/undici/lib/dispatcher/agent.js +0 -158
  1843. package/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
  1844. package/node_modules/undici/lib/dispatcher/client-h1.js +0 -1610
  1845. package/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
  1846. package/node_modules/undici/lib/dispatcher/client.js +0 -659
  1847. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -165
  1848. package/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
  1849. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
  1850. package/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  1851. package/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  1852. package/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
  1853. package/node_modules/undici/lib/dispatcher/pool.js +0 -118
  1854. package/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -318
  1855. package/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  1856. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
  1857. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -249
  1858. package/node_modules/undici/lib/encoding/index.js +0 -33
  1859. package/node_modules/undici/lib/global.js +0 -50
  1860. package/node_modules/undici/lib/handler/cache-handler.js +0 -578
  1861. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
  1862. package/node_modules/undici/lib/handler/decorator-handler.js +0 -67
  1863. package/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
  1864. package/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  1865. package/node_modules/undici/lib/handler/retry-handler.js +0 -394
  1866. package/node_modules/undici/lib/handler/unwrap-handler.js +0 -100
  1867. package/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  1868. package/node_modules/undici/lib/interceptor/cache.js +0 -495
  1869. package/node_modules/undici/lib/interceptor/decompress.js +0 -259
  1870. package/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
  1871. package/node_modules/undici/lib/interceptor/dns.js +0 -571
  1872. package/node_modules/undici/lib/interceptor/dump.js +0 -112
  1873. package/node_modules/undici/lib/interceptor/redirect.js +0 -21
  1874. package/node_modules/undici/lib/interceptor/response-error.js +0 -95
  1875. package/node_modules/undici/lib/interceptor/retry.js +0 -19
  1876. package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  1877. package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
  1878. package/node_modules/undici/lib/llhttp/constants.js +0 -531
  1879. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  1880. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  1881. package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
  1882. package/node_modules/undici/lib/llhttp/utils.js +0 -12
  1883. package/node_modules/undici/lib/mock/mock-agent.js +0 -232
  1884. package/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  1885. package/node_modules/undici/lib/mock/mock-client.js +0 -68
  1886. package/node_modules/undici/lib/mock/mock-errors.js +0 -29
  1887. package/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
  1888. package/node_modules/undici/lib/mock/mock-pool.js +0 -68
  1889. package/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  1890. package/node_modules/undici/lib/mock/mock-utils.js +0 -486
  1891. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  1892. package/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
  1893. package/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
  1894. package/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  1895. package/node_modules/undici/lib/util/cache.js +0 -407
  1896. package/node_modules/undici/lib/util/date.js +0 -653
  1897. package/node_modules/undici/lib/util/promise.js +0 -28
  1898. package/node_modules/undici/lib/util/runtime-features.js +0 -124
  1899. package/node_modules/undici/lib/util/stats.js +0 -32
  1900. package/node_modules/undici/lib/util/timers.js +0 -425
  1901. package/node_modules/undici/lib/web/cache/cache.js +0 -864
  1902. package/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  1903. package/node_modules/undici/lib/web/cache/util.js +0 -45
  1904. package/node_modules/undici/lib/web/cookies/constants.js +0 -12
  1905. package/node_modules/undici/lib/web/cookies/index.js +0 -199
  1906. package/node_modules/undici/lib/web/cookies/parse.js +0 -322
  1907. package/node_modules/undici/lib/web/cookies/util.js +0 -282
  1908. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
  1909. package/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
  1910. package/node_modules/undici/lib/web/eventsource/util.js +0 -29
  1911. package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  1912. package/node_modules/undici/lib/web/fetch/body.js +0 -509
  1913. package/node_modules/undici/lib/web/fetch/constants.js +0 -131
  1914. package/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  1915. package/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -575
  1916. package/node_modules/undici/lib/web/fetch/formdata.js +0 -259
  1917. package/node_modules/undici/lib/web/fetch/global.js +0 -40
  1918. package/node_modules/undici/lib/web/fetch/headers.js +0 -719
  1919. package/node_modules/undici/lib/web/fetch/index.js +0 -2410
  1920. package/node_modules/undici/lib/web/fetch/request.js +0 -1115
  1921. package/node_modules/undici/lib/web/fetch/response.js +0 -641
  1922. package/node_modules/undici/lib/web/fetch/util.js +0 -1522
  1923. package/node_modules/undici/lib/web/infra/index.js +0 -229
  1924. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  1925. package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  1926. package/node_modules/undici/lib/web/webidl/index.js +0 -1006
  1927. package/node_modules/undici/lib/web/websocket/connection.js +0 -329
  1928. package/node_modules/undici/lib/web/websocket/constants.js +0 -126
  1929. package/node_modules/undici/lib/web/websocket/events.js +0 -331
  1930. package/node_modules/undici/lib/web/websocket/frame.js +0 -133
  1931. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -118
  1932. package/node_modules/undici/lib/web/websocket/receiver.js +0 -450
  1933. package/node_modules/undici/lib/web/websocket/sender.js +0 -109
  1934. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  1935. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -497
  1936. package/node_modules/undici/lib/web/websocket/util.js +0 -347
  1937. package/node_modules/undici/lib/web/websocket/websocket.js +0 -751
  1938. package/node_modules/undici/package.json +0 -152
  1939. package/node_modules/undici/scripts/strip-comments.js +0 -10
  1940. package/node_modules/undici/types/README.md +0 -6
  1941. package/node_modules/undici/types/agent.d.ts +0 -32
  1942. package/node_modules/undici/types/api.d.ts +0 -43
  1943. package/node_modules/undici/types/balanced-pool.d.ts +0 -30
  1944. package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
  1945. package/node_modules/undici/types/cache.d.ts +0 -36
  1946. package/node_modules/undici/types/client-stats.d.ts +0 -15
  1947. package/node_modules/undici/types/client.d.ts +0 -123
  1948. package/node_modules/undici/types/connector.d.ts +0 -36
  1949. package/node_modules/undici/types/content-type.d.ts +0 -21
  1950. package/node_modules/undici/types/cookies.d.ts +0 -30
  1951. package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
  1952. package/node_modules/undici/types/dispatcher.d.ts +0 -273
  1953. package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
  1954. package/node_modules/undici/types/errors.d.ts +0 -177
  1955. package/node_modules/undici/types/eventsource.d.ts +0 -66
  1956. package/node_modules/undici/types/fetch.d.ts +0 -231
  1957. package/node_modules/undici/types/formdata.d.ts +0 -114
  1958. package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  1959. package/node_modules/undici/types/global-origin.d.ts +0 -7
  1960. package/node_modules/undici/types/h2c-client.d.ts +0 -73
  1961. package/node_modules/undici/types/handlers.d.ts +0 -14
  1962. package/node_modules/undici/types/header.d.ts +0 -160
  1963. package/node_modules/undici/types/index.d.ts +0 -91
  1964. package/node_modules/undici/types/interceptors.d.ts +0 -80
  1965. package/node_modules/undici/types/mock-agent.d.ts +0 -68
  1966. package/node_modules/undici/types/mock-call-history.d.ts +0 -111
  1967. package/node_modules/undici/types/mock-client.d.ts +0 -27
  1968. package/node_modules/undici/types/mock-errors.d.ts +0 -12
  1969. package/node_modules/undici/types/mock-interceptor.d.ts +0 -94
  1970. package/node_modules/undici/types/mock-pool.d.ts +0 -27
  1971. package/node_modules/undici/types/patch.d.ts +0 -29
  1972. package/node_modules/undici/types/pool-stats.d.ts +0 -19
  1973. package/node_modules/undici/types/pool.d.ts +0 -41
  1974. package/node_modules/undici/types/proxy-agent.d.ts +0 -29
  1975. package/node_modules/undici/types/readable.d.ts +0 -68
  1976. package/node_modules/undici/types/retry-agent.d.ts +0 -8
  1977. package/node_modules/undici/types/retry-handler.d.ts +0 -125
  1978. package/node_modules/undici/types/round-robin-pool.d.ts +0 -41
  1979. package/node_modules/undici/types/snapshot-agent.d.ts +0 -109
  1980. package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -25
  1981. package/node_modules/undici/types/util.d.ts +0 -18
  1982. package/node_modules/undici/types/utility.d.ts +0 -7
  1983. package/node_modules/undici/types/webidl.d.ts +0 -347
  1984. package/node_modules/undici/types/websocket.d.ts +0 -188
  1985. package/node_modules/util-deprecate/History.md +0 -16
  1986. package/node_modules/util-deprecate/LICENSE +0 -24
  1987. package/node_modules/util-deprecate/README.md +0 -53
  1988. package/node_modules/util-deprecate/browser.js +0 -67
  1989. package/node_modules/util-deprecate/node.js +0 -6
  1990. package/node_modules/util-deprecate/package.json +0 -27
  1991. package/node_modules/which/LICENSE +0 -15
  1992. package/node_modules/which/README.md +0 -51
  1993. package/node_modules/which/bin/which.js +0 -52
  1994. package/node_modules/which/lib/index.js +0 -111
  1995. package/node_modules/which/package.json +0 -52
  1996. package/node_modules/wrappy/LICENSE +0 -15
  1997. package/node_modules/wrappy/README.md +0 -36
  1998. package/node_modules/wrappy/package.json +0 -29
  1999. package/node_modules/wrappy/wrappy.js +0 -33
  2000. package/node_modules/yallist/LICENSE.md +0 -63
  2001. package/node_modules/yallist/README.md +0 -205
  2002. package/node_modules/yallist/dist/commonjs/index.d.ts +0 -39
  2003. package/node_modules/yallist/dist/commonjs/index.d.ts.map +0 -1
  2004. package/node_modules/yallist/dist/commonjs/index.js +0 -384
  2005. package/node_modules/yallist/dist/commonjs/index.js.map +0 -1
  2006. package/node_modules/yallist/dist/commonjs/package.json +0 -3
  2007. package/node_modules/yallist/dist/esm/index.d.ts +0 -39
  2008. package/node_modules/yallist/dist/esm/index.d.ts.map +0 -1
  2009. package/node_modules/yallist/dist/esm/index.js +0 -379
  2010. package/node_modules/yallist/dist/esm/index.js.map +0 -1
  2011. package/node_modules/yallist/dist/esm/package.json +0 -3
  2012. package/node_modules/yallist/package.json +0 -68
  2013. package/node_modules/zod/LICENSE +0 -21
  2014. package/node_modules/zod/README.md +0 -208
  2015. package/node_modules/zod/index.cjs +0 -33
  2016. package/node_modules/zod/index.d.cts +0 -4
  2017. package/node_modules/zod/index.d.ts +0 -4
  2018. package/node_modules/zod/index.js +0 -4
  2019. package/node_modules/zod/package.json +0 -118
  2020. package/node_modules/zod/src/index.ts +0 -4
  2021. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  2022. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  2023. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  2024. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  2025. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  2026. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  2027. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  2028. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  2029. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  2030. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  2031. package/node_modules/zod/src/v3/errors.ts +0 -13
  2032. package/node_modules/zod/src/v3/external.ts +0 -6
  2033. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  2034. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  2035. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  2036. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  2037. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  2038. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  2039. package/node_modules/zod/src/v3/index.ts +0 -4
  2040. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  2041. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  2042. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  2043. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  2044. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  2045. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  2046. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  2047. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  2048. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  2049. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  2050. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  2051. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  2052. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  2053. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  2054. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  2055. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  2056. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  2057. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  2058. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  2059. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  2060. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  2061. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  2062. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  2063. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  2064. package/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  2065. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  2066. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  2067. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  2068. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  2069. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  2070. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  2071. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  2072. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  2073. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  2074. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  2075. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  2076. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  2077. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  2078. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  2079. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  2080. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  2081. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  2082. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  2083. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  2084. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  2085. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  2086. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  2087. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  2088. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  2089. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  2090. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  2091. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  2092. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  2093. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  2094. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  2095. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  2096. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  2097. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  2098. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  2099. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  2100. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  2101. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  2102. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  2103. package/node_modules/zod/src/v3/types.ts +0 -5136
  2104. package/node_modules/zod/src/v4/classic/checks.ts +0 -30
  2105. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  2106. package/node_modules/zod/src/v4/classic/compat.ts +0 -66
  2107. package/node_modules/zod/src/v4/classic/errors.ts +0 -75
  2108. package/node_modules/zod/src/v4/classic/external.ts +0 -50
  2109. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  2110. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  2111. package/node_modules/zod/src/v4/classic/parse.ts +0 -33
  2112. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  2113. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  2114. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  2115. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  2116. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  2117. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  2118. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  2119. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  2120. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  2121. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  2122. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  2123. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  2124. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  2125. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  2126. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  2127. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  2128. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  2129. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  2130. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  2131. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  2132. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  2133. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  2134. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  2135. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  2136. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  2137. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  2138. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  2139. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  2140. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  2141. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  2142. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  2143. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  2144. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  2145. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  2146. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  2147. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  2148. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  2149. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  2150. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  2151. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  2152. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  2153. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  2154. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  2155. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  2156. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  2157. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  2158. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  2159. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  2160. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  2161. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  2162. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  2163. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  2164. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  2165. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  2166. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  2167. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  2168. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  2169. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  2170. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  2171. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  2172. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  2173. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  2174. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  2175. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  2176. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  2177. package/node_modules/zod/src/v4/core/api.ts +0 -1594
  2178. package/node_modules/zod/src/v4/core/checks.ts +0 -1283
  2179. package/node_modules/zod/src/v4/core/config.ts +0 -15
  2180. package/node_modules/zod/src/v4/core/core.ts +0 -134
  2181. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  2182. package/node_modules/zod/src/v4/core/errors.ts +0 -424
  2183. package/node_modules/zod/src/v4/core/function.ts +0 -176
  2184. package/node_modules/zod/src/v4/core/index.ts +0 -15
  2185. package/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  2186. package/node_modules/zod/src/v4/core/parse.ts +0 -94
  2187. package/node_modules/zod/src/v4/core/regexes.ts +0 -135
  2188. package/node_modules/zod/src/v4/core/registries.ts +0 -96
  2189. package/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  2190. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  2191. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  2192. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  2193. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  2194. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  2195. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  2196. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  2197. package/node_modules/zod/src/v4/core/util.ts +0 -775
  2198. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  2199. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  2200. package/node_modules/zod/src/v4/index.ts +0 -4
  2201. package/node_modules/zod/src/v4/locales/ar.ts +0 -125
  2202. package/node_modules/zod/src/v4/locales/az.ts +0 -121
  2203. package/node_modules/zod/src/v4/locales/be.ts +0 -184
  2204. package/node_modules/zod/src/v4/locales/ca.ts +0 -127
  2205. package/node_modules/zod/src/v4/locales/cs.ts +0 -142
  2206. package/node_modules/zod/src/v4/locales/de.ts +0 -124
  2207. package/node_modules/zod/src/v4/locales/en.ts +0 -127
  2208. package/node_modules/zod/src/v4/locales/eo.ts +0 -125
  2209. package/node_modules/zod/src/v4/locales/es.ts +0 -125
  2210. package/node_modules/zod/src/v4/locales/fa.ts +0 -134
  2211. package/node_modules/zod/src/v4/locales/fi.ts +0 -131
  2212. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  2213. package/node_modules/zod/src/v4/locales/fr.ts +0 -124
  2214. package/node_modules/zod/src/v4/locales/he.ts +0 -125
  2215. package/node_modules/zod/src/v4/locales/hu.ts +0 -126
  2216. package/node_modules/zod/src/v4/locales/id.ts +0 -125
  2217. package/node_modules/zod/src/v4/locales/index.ts +0 -39
  2218. package/node_modules/zod/src/v4/locales/it.ts +0 -125
  2219. package/node_modules/zod/src/v4/locales/ja.ts +0 -122
  2220. package/node_modules/zod/src/v4/locales/kh.ts +0 -126
  2221. package/node_modules/zod/src/v4/locales/ko.ts +0 -131
  2222. package/node_modules/zod/src/v4/locales/mk.ts +0 -127
  2223. package/node_modules/zod/src/v4/locales/ms.ts +0 -124
  2224. package/node_modules/zod/src/v4/locales/nl.ts +0 -126
  2225. package/node_modules/zod/src/v4/locales/no.ts +0 -124
  2226. package/node_modules/zod/src/v4/locales/ota.ts +0 -125
  2227. package/node_modules/zod/src/v4/locales/pl.ts +0 -126
  2228. package/node_modules/zod/src/v4/locales/ps.ts +0 -133
  2229. package/node_modules/zod/src/v4/locales/pt.ts +0 -123
  2230. package/node_modules/zod/src/v4/locales/ru.ts +0 -184
  2231. package/node_modules/zod/src/v4/locales/sl.ts +0 -126
  2232. package/node_modules/zod/src/v4/locales/sv.ts +0 -127
  2233. package/node_modules/zod/src/v4/locales/ta.ts +0 -125
  2234. package/node_modules/zod/src/v4/locales/th.ts +0 -126
  2235. package/node_modules/zod/src/v4/locales/tr.ts +0 -121
  2236. package/node_modules/zod/src/v4/locales/ua.ts +0 -126
  2237. package/node_modules/zod/src/v4/locales/ur.ts +0 -126
  2238. package/node_modules/zod/src/v4/locales/vi.ts +0 -125
  2239. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  2240. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  2241. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  2242. package/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  2243. package/node_modules/zod/src/v4/mini/external.ts +0 -40
  2244. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  2245. package/node_modules/zod/src/v4/mini/iso.ts +0 -62
  2246. package/node_modules/zod/src/v4/mini/parse.ts +0 -1
  2247. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  2248. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  2249. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  2250. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  2251. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  2252. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  2253. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  2254. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  2255. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  2256. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  2257. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  2258. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  2259. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  2260. package/node_modules/zod/src/v4-mini/index.ts +0 -1
  2261. package/node_modules/zod/v3/ZodError.cjs +0 -138
  2262. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  2263. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  2264. package/node_modules/zod/v3/ZodError.js +0 -133
  2265. package/node_modules/zod/v3/errors.cjs +0 -17
  2266. package/node_modules/zod/v3/errors.d.cts +0 -5
  2267. package/node_modules/zod/v3/errors.d.ts +0 -5
  2268. package/node_modules/zod/v3/errors.js +0 -9
  2269. package/node_modules/zod/v3/external.cjs +0 -22
  2270. package/node_modules/zod/v3/external.d.cts +0 -6
  2271. package/node_modules/zod/v3/external.d.ts +0 -6
  2272. package/node_modules/zod/v3/external.js +0 -6
  2273. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  2274. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  2275. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  2276. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  2277. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  2278. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  2279. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  2280. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  2281. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  2282. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  2283. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  2284. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  2285. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  2286. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  2287. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  2288. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  2289. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  2290. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  2291. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  2292. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  2293. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  2294. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  2295. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  2296. package/node_modules/zod/v3/helpers/util.js +0 -133
  2297. package/node_modules/zod/v3/index.cjs +0 -33
  2298. package/node_modules/zod/v3/index.d.cts +0 -4
  2299. package/node_modules/zod/v3/index.d.ts +0 -4
  2300. package/node_modules/zod/v3/index.js +0 -4
  2301. package/node_modules/zod/v3/locales/en.cjs +0 -111
  2302. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  2303. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  2304. package/node_modules/zod/v3/locales/en.js +0 -109
  2305. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  2306. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  2307. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  2308. package/node_modules/zod/v3/standard-schema.js +0 -1
  2309. package/node_modules/zod/v3/types.cjs +0 -3775
  2310. package/node_modules/zod/v3/types.d.cts +0 -1031
  2311. package/node_modules/zod/v3/types.d.ts +0 -1031
  2312. package/node_modules/zod/v3/types.js +0 -3693
  2313. package/node_modules/zod/v4/classic/checks.cjs +0 -32
  2314. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  2315. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  2316. package/node_modules/zod/v4/classic/checks.js +0 -1
  2317. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  2318. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  2319. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  2320. package/node_modules/zod/v4/classic/coerce.js +0 -17
  2321. package/node_modules/zod/v4/classic/compat.cjs +0 -57
  2322. package/node_modules/zod/v4/classic/compat.d.cts +0 -46
  2323. package/node_modules/zod/v4/classic/compat.d.ts +0 -46
  2324. package/node_modules/zod/v4/classic/compat.js +0 -27
  2325. package/node_modules/zod/v4/classic/errors.cjs +0 -67
  2326. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  2327. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  2328. package/node_modules/zod/v4/classic/errors.js +0 -41
  2329. package/node_modules/zod/v4/classic/external.cjs +0 -70
  2330. package/node_modules/zod/v4/classic/external.d.cts +0 -13
  2331. package/node_modules/zod/v4/classic/external.d.ts +0 -13
  2332. package/node_modules/zod/v4/classic/external.js +0 -18
  2333. package/node_modules/zod/v4/classic/index.cjs +0 -33
  2334. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  2335. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  2336. package/node_modules/zod/v4/classic/index.js +0 -4
  2337. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  2338. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  2339. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  2340. package/node_modules/zod/v4/classic/iso.js +0 -30
  2341. package/node_modules/zod/v4/classic/parse.cjs +0 -32
  2342. package/node_modules/zod/v4/classic/parse.d.cts +0 -23
  2343. package/node_modules/zod/v4/classic/parse.d.ts +0 -23
  2344. package/node_modules/zod/v4/classic/parse.js +0 -6
  2345. package/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  2346. package/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  2347. package/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  2348. package/node_modules/zod/v4/classic/schemas.js +0 -1006
  2349. package/node_modules/zod/v4/core/api.cjs +0 -1039
  2350. package/node_modules/zod/v4/core/api.d.cts +0 -284
  2351. package/node_modules/zod/v4/core/api.d.ts +0 -284
  2352. package/node_modules/zod/v4/core/api.js +0 -906
  2353. package/node_modules/zod/v4/core/checks.cjs +0 -591
  2354. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  2355. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  2356. package/node_modules/zod/v4/core/checks.js +0 -565
  2357. package/node_modules/zod/v4/core/core.cjs +0 -67
  2358. package/node_modules/zod/v4/core/core.d.cts +0 -49
  2359. package/node_modules/zod/v4/core/core.d.ts +0 -49
  2360. package/node_modules/zod/v4/core/core.js +0 -61
  2361. package/node_modules/zod/v4/core/doc.cjs +0 -39
  2362. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  2363. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  2364. package/node_modules/zod/v4/core/doc.js +0 -35
  2365. package/node_modules/zod/v4/core/errors.cjs +0 -226
  2366. package/node_modules/zod/v4/core/errors.d.cts +0 -208
  2367. package/node_modules/zod/v4/core/errors.d.ts +0 -208
  2368. package/node_modules/zod/v4/core/errors.js +0 -195
  2369. package/node_modules/zod/v4/core/function.cjs +0 -102
  2370. package/node_modules/zod/v4/core/function.d.cts +0 -52
  2371. package/node_modules/zod/v4/core/function.d.ts +0 -52
  2372. package/node_modules/zod/v4/core/function.js +0 -75
  2373. package/node_modules/zod/v4/core/index.cjs +0 -44
  2374. package/node_modules/zod/v4/core/index.d.cts +0 -15
  2375. package/node_modules/zod/v4/core/index.d.ts +0 -15
  2376. package/node_modules/zod/v4/core/index.js +0 -15
  2377. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  2378. package/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  2379. package/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  2380. package/node_modules/zod/v4/core/json-schema.js +0 -1
  2381. package/node_modules/zod/v4/core/parse.cjs +0 -87
  2382. package/node_modules/zod/v4/core/parse.d.cts +0 -25
  2383. package/node_modules/zod/v4/core/parse.d.ts +0 -25
  2384. package/node_modules/zod/v4/core/parse.js +0 -57
  2385. package/node_modules/zod/v4/core/regexes.cjs +0 -103
  2386. package/node_modules/zod/v4/core/regexes.d.cts +0 -62
  2387. package/node_modules/zod/v4/core/regexes.d.ts +0 -62
  2388. package/node_modules/zod/v4/core/regexes.js +0 -95
  2389. package/node_modules/zod/v4/core/registries.cjs +0 -56
  2390. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  2391. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  2392. package/node_modules/zod/v4/core/registries.js +0 -51
  2393. package/node_modules/zod/v4/core/schemas.cjs +0 -1748
  2394. package/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  2395. package/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  2396. package/node_modules/zod/v4/core/schemas.js +0 -1717
  2397. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  2398. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  2399. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  2400. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  2401. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  2402. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  2403. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  2404. package/node_modules/zod/v4/core/to-json-schema.js +0 -849
  2405. package/node_modules/zod/v4/core/util.cjs +0 -539
  2406. package/node_modules/zod/v4/core/util.d.cts +0 -183
  2407. package/node_modules/zod/v4/core/util.d.ts +0 -183
  2408. package/node_modules/zod/v4/core/util.js +0 -493
  2409. package/node_modules/zod/v4/core/versions.cjs +0 -8
  2410. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  2411. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  2412. package/node_modules/zod/v4/core/versions.js +0 -5
  2413. package/node_modules/zod/v4/index.cjs +0 -22
  2414. package/node_modules/zod/v4/index.d.cts +0 -3
  2415. package/node_modules/zod/v4/index.d.ts +0 -3
  2416. package/node_modules/zod/v4/index.js +0 -3
  2417. package/node_modules/zod/v4/locales/ar.cjs +0 -142
  2418. package/node_modules/zod/v4/locales/ar.d.cts +0 -4
  2419. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  2420. package/node_modules/zod/v4/locales/ar.js +0 -116
  2421. package/node_modules/zod/v4/locales/az.cjs +0 -141
  2422. package/node_modules/zod/v4/locales/az.d.cts +0 -4
  2423. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  2424. package/node_modules/zod/v4/locales/az.js +0 -115
  2425. package/node_modules/zod/v4/locales/be.cjs +0 -190
  2426. package/node_modules/zod/v4/locales/be.d.cts +0 -4
  2427. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  2428. package/node_modules/zod/v4/locales/be.js +0 -164
  2429. package/node_modules/zod/v4/locales/ca.cjs +0 -144
  2430. package/node_modules/zod/v4/locales/ca.d.cts +0 -4
  2431. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  2432. package/node_modules/zod/v4/locales/ca.js +0 -118
  2433. package/node_modules/zod/v4/locales/cs.cjs +0 -161
  2434. package/node_modules/zod/v4/locales/cs.d.cts +0 -4
  2435. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  2436. package/node_modules/zod/v4/locales/cs.js +0 -135
  2437. package/node_modules/zod/v4/locales/de.cjs +0 -142
  2438. package/node_modules/zod/v4/locales/de.d.cts +0 -4
  2439. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  2440. package/node_modules/zod/v4/locales/de.js +0 -116
  2441. package/node_modules/zod/v4/locales/en.cjs +0 -145
  2442. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  2443. package/node_modules/zod/v4/locales/en.d.ts +0 -5
  2444. package/node_modules/zod/v4/locales/en.js +0 -117
  2445. package/node_modules/zod/v4/locales/eo.cjs +0 -144
  2446. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  2447. package/node_modules/zod/v4/locales/eo.d.ts +0 -5
  2448. package/node_modules/zod/v4/locales/eo.js +0 -116
  2449. package/node_modules/zod/v4/locales/es.cjs +0 -143
  2450. package/node_modules/zod/v4/locales/es.d.cts +0 -4
  2451. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  2452. package/node_modules/zod/v4/locales/es.js +0 -117
  2453. package/node_modules/zod/v4/locales/fa.cjs +0 -148
  2454. package/node_modules/zod/v4/locales/fa.d.cts +0 -4
  2455. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  2456. package/node_modules/zod/v4/locales/fa.js +0 -122
  2457. package/node_modules/zod/v4/locales/fi.cjs +0 -148
  2458. package/node_modules/zod/v4/locales/fi.d.cts +0 -4
  2459. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  2460. package/node_modules/zod/v4/locales/fi.js +0 -122
  2461. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  2462. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  2463. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  2464. package/node_modules/zod/v4/locales/fr-CA.js +0 -117
  2465. package/node_modules/zod/v4/locales/fr.cjs +0 -142
  2466. package/node_modules/zod/v4/locales/fr.d.cts +0 -4
  2467. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  2468. package/node_modules/zod/v4/locales/fr.js +0 -116
  2469. package/node_modules/zod/v4/locales/he.cjs +0 -143
  2470. package/node_modules/zod/v4/locales/he.d.cts +0 -4
  2471. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  2472. package/node_modules/zod/v4/locales/he.js +0 -117
  2473. package/node_modules/zod/v4/locales/hu.cjs +0 -143
  2474. package/node_modules/zod/v4/locales/hu.d.cts +0 -4
  2475. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  2476. package/node_modules/zod/v4/locales/hu.js +0 -117
  2477. package/node_modules/zod/v4/locales/id.cjs +0 -142
  2478. package/node_modules/zod/v4/locales/id.d.cts +0 -4
  2479. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  2480. package/node_modules/zod/v4/locales/id.js +0 -116
  2481. package/node_modules/zod/v4/locales/index.cjs +0 -84
  2482. package/node_modules/zod/v4/locales/index.d.cts +0 -39
  2483. package/node_modules/zod/v4/locales/index.d.ts +0 -39
  2484. package/node_modules/zod/v4/locales/index.js +0 -39
  2485. package/node_modules/zod/v4/locales/it.cjs +0 -143
  2486. package/node_modules/zod/v4/locales/it.d.cts +0 -4
  2487. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  2488. package/node_modules/zod/v4/locales/it.js +0 -117
  2489. package/node_modules/zod/v4/locales/ja.cjs +0 -141
  2490. package/node_modules/zod/v4/locales/ja.d.cts +0 -4
  2491. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  2492. package/node_modules/zod/v4/locales/ja.js +0 -115
  2493. package/node_modules/zod/v4/locales/kh.cjs +0 -143
  2494. package/node_modules/zod/v4/locales/kh.d.cts +0 -4
  2495. package/node_modules/zod/v4/locales/kh.d.ts +0 -4
  2496. package/node_modules/zod/v4/locales/kh.js +0 -117
  2497. package/node_modules/zod/v4/locales/ko.cjs +0 -147
  2498. package/node_modules/zod/v4/locales/ko.d.cts +0 -4
  2499. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  2500. package/node_modules/zod/v4/locales/ko.js +0 -121
  2501. package/node_modules/zod/v4/locales/mk.cjs +0 -144
  2502. package/node_modules/zod/v4/locales/mk.d.cts +0 -4
  2503. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  2504. package/node_modules/zod/v4/locales/mk.js +0 -118
  2505. package/node_modules/zod/v4/locales/ms.cjs +0 -142
  2506. package/node_modules/zod/v4/locales/ms.d.cts +0 -4
  2507. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  2508. package/node_modules/zod/v4/locales/ms.js +0 -116
  2509. package/node_modules/zod/v4/locales/nl.cjs +0 -143
  2510. package/node_modules/zod/v4/locales/nl.d.cts +0 -4
  2511. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  2512. package/node_modules/zod/v4/locales/nl.js +0 -117
  2513. package/node_modules/zod/v4/locales/no.cjs +0 -142
  2514. package/node_modules/zod/v4/locales/no.d.cts +0 -4
  2515. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  2516. package/node_modules/zod/v4/locales/no.js +0 -116
  2517. package/node_modules/zod/v4/locales/ota.cjs +0 -143
  2518. package/node_modules/zod/v4/locales/ota.d.cts +0 -4
  2519. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  2520. package/node_modules/zod/v4/locales/ota.js +0 -117
  2521. package/node_modules/zod/v4/locales/pl.cjs +0 -143
  2522. package/node_modules/zod/v4/locales/pl.d.cts +0 -4
  2523. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  2524. package/node_modules/zod/v4/locales/pl.js +0 -117
  2525. package/node_modules/zod/v4/locales/ps.cjs +0 -148
  2526. package/node_modules/zod/v4/locales/ps.d.cts +0 -4
  2527. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  2528. package/node_modules/zod/v4/locales/ps.js +0 -122
  2529. package/node_modules/zod/v4/locales/pt.cjs +0 -142
  2530. package/node_modules/zod/v4/locales/pt.d.cts +0 -4
  2531. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  2532. package/node_modules/zod/v4/locales/pt.js +0 -116
  2533. package/node_modules/zod/v4/locales/ru.cjs +0 -190
  2534. package/node_modules/zod/v4/locales/ru.d.cts +0 -4
  2535. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  2536. package/node_modules/zod/v4/locales/ru.js +0 -164
  2537. package/node_modules/zod/v4/locales/sl.cjs +0 -143
  2538. package/node_modules/zod/v4/locales/sl.d.cts +0 -4
  2539. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  2540. package/node_modules/zod/v4/locales/sl.js +0 -117
  2541. package/node_modules/zod/v4/locales/sv.cjs +0 -144
  2542. package/node_modules/zod/v4/locales/sv.d.cts +0 -4
  2543. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  2544. package/node_modules/zod/v4/locales/sv.js +0 -118
  2545. package/node_modules/zod/v4/locales/ta.cjs +0 -143
  2546. package/node_modules/zod/v4/locales/ta.d.cts +0 -4
  2547. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  2548. package/node_modules/zod/v4/locales/ta.js +0 -117
  2549. package/node_modules/zod/v4/locales/th.cjs +0 -143
  2550. package/node_modules/zod/v4/locales/th.d.cts +0 -4
  2551. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  2552. package/node_modules/zod/v4/locales/th.js +0 -117
  2553. package/node_modules/zod/v4/locales/tr.cjs +0 -143
  2554. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  2555. package/node_modules/zod/v4/locales/tr.d.ts +0 -5
  2556. package/node_modules/zod/v4/locales/tr.js +0 -115
  2557. package/node_modules/zod/v4/locales/ua.cjs +0 -143
  2558. package/node_modules/zod/v4/locales/ua.d.cts +0 -4
  2559. package/node_modules/zod/v4/locales/ua.d.ts +0 -4
  2560. package/node_modules/zod/v4/locales/ua.js +0 -117
  2561. package/node_modules/zod/v4/locales/ur.cjs +0 -143
  2562. package/node_modules/zod/v4/locales/ur.d.cts +0 -4
  2563. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  2564. package/node_modules/zod/v4/locales/ur.js +0 -117
  2565. package/node_modules/zod/v4/locales/vi.cjs +0 -142
  2566. package/node_modules/zod/v4/locales/vi.d.cts +0 -4
  2567. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  2568. package/node_modules/zod/v4/locales/vi.js +0 -116
  2569. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  2570. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  2571. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  2572. package/node_modules/zod/v4/locales/zh-CN.js +0 -116
  2573. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  2574. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  2575. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  2576. package/node_modules/zod/v4/locales/zh-TW.js +0 -117
  2577. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  2578. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  2579. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  2580. package/node_modules/zod/v4/mini/checks.js +0 -1
  2581. package/node_modules/zod/v4/mini/coerce.cjs +0 -47
  2582. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  2583. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  2584. package/node_modules/zod/v4/mini/coerce.js +0 -17
  2585. package/node_modules/zod/v4/mini/external.cjs +0 -62
  2586. package/node_modules/zod/v4/mini/external.d.cts +0 -11
  2587. package/node_modules/zod/v4/mini/external.d.ts +0 -11
  2588. package/node_modules/zod/v4/mini/external.js +0 -13
  2589. package/node_modules/zod/v4/mini/index.cjs +0 -32
  2590. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  2591. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  2592. package/node_modules/zod/v4/mini/index.js +0 -3
  2593. package/node_modules/zod/v4/mini/iso.cjs +0 -60
  2594. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  2595. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  2596. package/node_modules/zod/v4/mini/iso.js +0 -30
  2597. package/node_modules/zod/v4/mini/parse.cjs +0 -8
  2598. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  2599. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  2600. package/node_modules/zod/v4/mini/parse.js +0 -1
  2601. package/node_modules/zod/v4/mini/schemas.cjs +0 -839
  2602. package/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  2603. package/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  2604. package/node_modules/zod/v4/mini/schemas.js +0 -732
  2605. package/node_modules/zod/v4-mini/index.cjs +0 -17
  2606. package/node_modules/zod/v4-mini/index.d.cts +0 -1
  2607. package/node_modules/zod/v4-mini/index.d.ts +0 -1
  2608. package/node_modules/zod/v4-mini/index.js +0 -1
@@ -1,3970 +0,0 @@
1
- # Copyright (c) 2012 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
-
6
- import ntpath
7
- import os
8
- import posixpath
9
- import re
10
- import subprocess
11
- import sys
12
- from collections import OrderedDict
13
-
14
- import gyp.common
15
- import gyp.generator.ninja as ninja_generator
16
- from gyp import (
17
- MSVSNew,
18
- MSVSProject,
19
- MSVSSettings,
20
- MSVSToolFile,
21
- MSVSUserFile,
22
- MSVSUtil,
23
- MSVSVersion,
24
- easy_xml,
25
- )
26
- from gyp.common import GypError, OrderedSet
27
-
28
- # Regular expression for validating Visual Studio GUIDs. If the GUID
29
- # contains lowercase hex letters, MSVS will be fine. However,
30
- # IncrediBuild BuildConsole will parse the solution file, but then
31
- # silently skip building the target causing hard to track down errors.
32
- # Note that this only happens with the BuildConsole, and does not occur
33
- # if IncrediBuild is executed from inside Visual Studio. This regex
34
- # validates that the string looks like a GUID with all uppercase hex
35
- # letters.
36
- VALID_MSVS_GUID_CHARS = re.compile(r"^[A-F0-9\-]+$")
37
-
38
- generator_supports_multiple_toolsets = gyp.common.CrossCompileRequested()
39
-
40
- generator_default_variables = {
41
- "DRIVER_PREFIX": "",
42
- "DRIVER_SUFFIX": ".sys",
43
- "EXECUTABLE_PREFIX": "",
44
- "EXECUTABLE_SUFFIX": ".exe",
45
- "STATIC_LIB_PREFIX": "",
46
- "SHARED_LIB_PREFIX": "",
47
- "STATIC_LIB_SUFFIX": ".lib",
48
- "SHARED_LIB_SUFFIX": ".dll",
49
- "INTERMEDIATE_DIR": "$(IntDir)",
50
- "SHARED_INTERMEDIATE_DIR": "$(OutDir)/obj/global_intermediate",
51
- "OS": "win",
52
- "PRODUCT_DIR": "$(OutDir)",
53
- "LIB_DIR": "$(OutDir)lib",
54
- "RULE_INPUT_ROOT": "$(InputName)",
55
- "RULE_INPUT_DIRNAME": "$(InputDir)",
56
- "RULE_INPUT_EXT": "$(InputExt)",
57
- "RULE_INPUT_NAME": "$(InputFileName)",
58
- "RULE_INPUT_PATH": "$(InputPath)",
59
- "CONFIGURATION_NAME": "$(ConfigurationName)",
60
- }
61
-
62
-
63
- # The msvs specific sections that hold paths
64
- generator_additional_path_sections = [
65
- "msvs_cygwin_dirs",
66
- "msvs_props",
67
- ]
68
-
69
-
70
- generator_additional_non_configuration_keys = [
71
- "msvs_cygwin_dirs",
72
- "msvs_cygwin_shell",
73
- "msvs_large_pdb",
74
- "msvs_shard",
75
- "msvs_external_builder",
76
- "msvs_external_builder_out_dir",
77
- "msvs_external_builder_build_cmd",
78
- "msvs_external_builder_clean_cmd",
79
- "msvs_external_builder_clcompile_cmd",
80
- "msvs_enable_winrt",
81
- "msvs_requires_importlibrary",
82
- "msvs_enable_winphone",
83
- "msvs_application_type_revision",
84
- "msvs_target_platform_version",
85
- "msvs_target_platform_minversion",
86
- ]
87
-
88
- generator_filelist_paths = None
89
-
90
- # List of precompiled header related keys.
91
- precomp_keys = [
92
- "msvs_precompiled_header",
93
- "msvs_precompiled_source",
94
- ]
95
-
96
-
97
- cached_username = None
98
-
99
-
100
- cached_domain = None
101
-
102
-
103
- # TODO(gspencer): Switch the os.environ calls to be
104
- # win32api.GetDomainName() and win32api.GetUserName() once the
105
- # python version in depot_tools has been updated to work on Vista
106
- # 64-bit.
107
- def _GetDomainAndUserName():
108
- if sys.platform not in ("win32", "cygwin"):
109
- return ("DOMAIN", "USERNAME")
110
- global cached_username
111
- global cached_domain
112
- if not cached_domain or not cached_username:
113
- domain = os.environ.get("USERDOMAIN")
114
- username = os.environ.get("USERNAME")
115
- if not domain or not username:
116
- call = subprocess.Popen(
117
- ["net", "config", "Workstation"], stdout=subprocess.PIPE
118
- )
119
- config = call.communicate()[0].decode("utf-8")
120
- username_re = re.compile(r"^User name\s+(\S+)", re.MULTILINE)
121
- username_match = username_re.search(config)
122
- if username_match:
123
- username = username_match.group(1)
124
- domain_re = re.compile(r"^Logon domain\s+(\S+)", re.MULTILINE)
125
- domain_match = domain_re.search(config)
126
- if domain_match:
127
- domain = domain_match.group(1)
128
- cached_domain = domain
129
- cached_username = username
130
- return (cached_domain, cached_username)
131
-
132
-
133
- fixpath_prefix = None
134
-
135
-
136
- def _NormalizedSource(source):
137
- """Normalize the path.
138
-
139
- But not if that gets rid of a variable, as this may expand to something
140
- larger than one directory.
141
-
142
- Arguments:
143
- source: The path to be normalize.d
144
-
145
- Returns:
146
- The normalized path.
147
- """
148
- normalized = os.path.normpath(source)
149
- if source.count("$") == normalized.count("$"):
150
- source = normalized
151
- return source
152
-
153
-
154
- def _FixPath(path, separator="\\"):
155
- """Convert paths to a form that will make sense in a vcproj file.
156
-
157
- Arguments:
158
- path: The path to convert, may contain / etc.
159
- Returns:
160
- The path with all slashes made into backslashes.
161
- """
162
- if (
163
- fixpath_prefix
164
- and path
165
- and not os.path.isabs(path)
166
- and path[0] != "$"
167
- and not _IsWindowsAbsPath(path)
168
- ):
169
- path = os.path.join(fixpath_prefix, path)
170
- if separator == "\\":
171
- path = path.replace("/", "\\")
172
- path = _NormalizedSource(path)
173
- if separator == "/":
174
- path = path.replace("\\", "/")
175
- if path and path[-1] == separator:
176
- path = path[:-1]
177
- return path
178
-
179
-
180
- def _IsWindowsAbsPath(path):
181
- """
182
- On Cygwin systems Python needs a little help determining if a path
183
- is an absolute Windows path or not, so that
184
- it does not treat those as relative, which results in bad paths like:
185
- '..\\C:\\<some path>\\some_source_code_file.cc'
186
- """
187
- return path.startswith(("c:", "C:"))
188
-
189
-
190
- def _FixPaths(paths, separator="\\"):
191
- """Fix each of the paths of the list."""
192
- return [_FixPath(i, separator) for i in paths]
193
-
194
-
195
- def _ConvertSourcesToFilterHierarchy(
196
- sources, prefix=None, excluded=None, list_excluded=True, msvs_version=None
197
- ):
198
- """Converts a list split source file paths into a vcproj folder hierarchy.
199
-
200
- Arguments:
201
- sources: A list of source file paths split.
202
- prefix: A list of source file path layers meant to apply to each of sources.
203
- excluded: A set of excluded files.
204
- msvs_version: A MSVSVersion object.
205
-
206
- Returns:
207
- A hierarchy of filenames and MSVSProject.Filter objects that matches the
208
- layout of the source tree.
209
- For example:
210
- _ConvertSourcesToFilterHierarchy([['a', 'bob1.c'], ['b', 'bob2.c']],
211
- prefix=['joe'])
212
- -->
213
- [MSVSProject.Filter('a', contents=['joe\\a\\bob1.c']),
214
- MSVSProject.Filter('b', contents=['joe\\b\\bob2.c'])]
215
- """
216
- if not prefix:
217
- prefix = []
218
- result = []
219
- excluded_result = []
220
- folders = OrderedDict()
221
- # Gather files into the final result, excluded, or folders.
222
- for s in sources:
223
- if len(s) == 1:
224
- filename = _NormalizedSource("\\".join(prefix + s))
225
- if filename in excluded:
226
- excluded_result.append(filename)
227
- else:
228
- result.append(filename)
229
- elif msvs_version and not msvs_version.UsesVcxproj():
230
- # For MSVS 2008 and earlier, we need to process all files before walking
231
- # the sub folders.
232
- if not folders.get(s[0]):
233
- folders[s[0]] = []
234
- folders[s[0]].append(s[1:])
235
- else:
236
- contents = _ConvertSourcesToFilterHierarchy(
237
- [s[1:]],
238
- prefix + [s[0]],
239
- excluded=excluded,
240
- list_excluded=list_excluded,
241
- msvs_version=msvs_version,
242
- )
243
- contents = MSVSProject.Filter(s[0], contents=contents)
244
- result.append(contents)
245
- # Add a folder for excluded files.
246
- if excluded_result and list_excluded:
247
- excluded_folder = MSVSProject.Filter(
248
- "_excluded_files", contents=excluded_result
249
- )
250
- result.append(excluded_folder)
251
-
252
- if msvs_version and msvs_version.UsesVcxproj():
253
- return result
254
-
255
- # Populate all the folders.
256
- for f in folders:
257
- contents = _ConvertSourcesToFilterHierarchy(
258
- folders[f],
259
- prefix=prefix + [f],
260
- excluded=excluded,
261
- list_excluded=list_excluded,
262
- msvs_version=msvs_version,
263
- )
264
- contents = MSVSProject.Filter(f, contents=contents)
265
- result.append(contents)
266
- return result
267
-
268
-
269
- def _ToolAppend(tools, tool_name, setting, value, only_if_unset=False):
270
- if not value:
271
- return
272
- _ToolSetOrAppend(tools, tool_name, setting, value, only_if_unset)
273
-
274
-
275
- def _ToolSetOrAppend(tools, tool_name, setting, value, only_if_unset=False):
276
- # TODO(bradnelson): ugly hack, fix this more generally!!!
277
- if "Directories" in setting or "Dependencies" in setting:
278
- if isinstance(value, str):
279
- value = value.replace("/", "\\")
280
- else:
281
- value = [i.replace("/", "\\") for i in value]
282
- if not tools.get(tool_name):
283
- tools[tool_name] = {}
284
- tool = tools[tool_name]
285
- if setting == "CompileAsWinRT":
286
- return
287
- if tool.get(setting):
288
- if only_if_unset:
289
- return
290
- if isinstance(tool[setting], list) and isinstance(value, list):
291
- tool[setting] += value
292
- else:
293
- raise TypeError(
294
- 'Appending "%s" to a non-list setting "%s" for tool "%s" is '
295
- "not allowed, previous value: %s"
296
- % (value, setting, tool_name, str(tool[setting]))
297
- )
298
- else:
299
- tool[setting] = value
300
-
301
-
302
- def _ConfigTargetVersion(config_data):
303
- return config_data.get("msvs_target_version", "Windows7")
304
-
305
-
306
- def _ConfigPlatform(config_data):
307
- return config_data.get("msvs_configuration_platform", "Win32")
308
-
309
-
310
- def _ConfigBaseName(config_name, platform_name):
311
- if config_name.endswith("_" + platform_name):
312
- return config_name[0 : -len(platform_name) - 1]
313
- else:
314
- return config_name
315
-
316
-
317
- def _ConfigFullName(config_name, config_data):
318
- platform_name = _ConfigPlatform(config_data)
319
- return f"{_ConfigBaseName(config_name, platform_name)}|{platform_name}"
320
-
321
-
322
- def _ConfigWindowsTargetPlatformVersion(config_data, version):
323
- target_ver = config_data.get("msvs_windows_target_platform_version")
324
- if target_ver and re.match(r"^\d+", target_ver):
325
- return target_ver
326
- config_ver = config_data.get("msvs_windows_sdk_version")
327
- vers = [config_ver] if config_ver else version.compatible_sdks
328
- for ver in vers:
329
- for key in [
330
- r"HKLM\Software\Microsoft\Microsoft SDKs\Windows\%s",
331
- r"HKLM\Software\Wow6432Node\Microsoft\Microsoft SDKs\Windows\%s",
332
- ]:
333
- sdk_dir = MSVSVersion._RegistryGetValue(key % ver, "InstallationFolder")
334
- if not sdk_dir:
335
- continue
336
- version = MSVSVersion._RegistryGetValue(key % ver, "ProductVersion") or ""
337
- # Find a matching entry in sdk_dir\include.
338
- expected_sdk_dir = r"%s\include" % sdk_dir
339
- names = sorted(
340
- (
341
- x
342
- for x in (
343
- os.listdir(expected_sdk_dir)
344
- if os.path.isdir(expected_sdk_dir)
345
- else []
346
- )
347
- if x.startswith(version)
348
- ),
349
- reverse=True,
350
- )
351
- if names:
352
- return names[0]
353
- else:
354
- print(
355
- "Warning: No include files found for detected "
356
- "Windows SDK version %s" % (version),
357
- file=sys.stdout,
358
- )
359
-
360
-
361
- def _BuildCommandLineForRuleRaw(
362
- spec, cmd, cygwin_shell, has_input_path, quote_cmd, do_setup_env
363
- ):
364
- if [x for x in cmd if "$(InputDir)" in x]:
365
- input_dir_preamble = (
366
- "set INPUTDIR=$(InputDir)\n"
367
- "if NOT DEFINED INPUTDIR set INPUTDIR=.\\\n"
368
- "set INPUTDIR=%INPUTDIR:~0,-1%\n"
369
- )
370
- else:
371
- input_dir_preamble = ""
372
-
373
- if cygwin_shell:
374
- # Find path to cygwin.
375
- cygwin_dir = _FixPath(spec.get("msvs_cygwin_dirs", ["."])[0])
376
- # Prepare command.
377
- direct_cmd = cmd
378
- direct_cmd = [
379
- i.replace("$(IntDir)", '`cygpath -m "${INTDIR}"`') for i in direct_cmd
380
- ]
381
- direct_cmd = [
382
- i.replace("$(OutDir)", '`cygpath -m "${OUTDIR}"`') for i in direct_cmd
383
- ]
384
- direct_cmd = [
385
- i.replace("$(InputDir)", '`cygpath -m "${INPUTDIR}"`') for i in direct_cmd
386
- ]
387
- if has_input_path:
388
- direct_cmd = [
389
- i.replace("$(InputPath)", '`cygpath -m "${INPUTPATH}"`')
390
- for i in direct_cmd
391
- ]
392
- direct_cmd = ['\\"%s\\"' % i.replace('"', '\\\\\\"') for i in direct_cmd]
393
- # direct_cmd = gyp.common.EncodePOSIXShellList(direct_cmd)
394
- direct_cmd = " ".join(direct_cmd)
395
- # TODO(quote): regularize quoting path names throughout the module
396
- cmd = ""
397
- if do_setup_env:
398
- cmd += 'call "$(ProjectDir)%(cygwin_dir)s\\setup_env.bat" && '
399
- cmd += "set CYGWIN=nontsec&& "
400
- if direct_cmd.find("NUMBER_OF_PROCESSORS") >= 0:
401
- cmd += "set /a NUMBER_OF_PROCESSORS_PLUS_1=%%NUMBER_OF_PROCESSORS%%+1&& "
402
- if direct_cmd.find("INTDIR") >= 0:
403
- cmd += "set INTDIR=$(IntDir)&& "
404
- if direct_cmd.find("OUTDIR") >= 0:
405
- cmd += "set OUTDIR=$(OutDir)&& "
406
- if has_input_path and direct_cmd.find("INPUTPATH") >= 0:
407
- cmd += "set INPUTPATH=$(InputPath) && "
408
- cmd += 'bash -c "%(cmd)s"'
409
- cmd = cmd % {"cygwin_dir": cygwin_dir, "cmd": direct_cmd}
410
- return input_dir_preamble + cmd
411
- else:
412
- # Convert cat --> type to mimic unix.
413
- command = ["type"] if cmd[0] == "cat" else [cmd[0].replace("/", "\\")]
414
- # Add call before command to ensure that commands can be tied together one
415
- # after the other without aborting in Incredibuild, since IB makes a bat
416
- # file out of the raw command string, and some commands (like python) are
417
- # actually batch files themselves.
418
- command.insert(0, "call")
419
- # Fix the paths
420
- # TODO(quote): This is a really ugly heuristic, and will miss path fixing
421
- # for arguments like "--arg=path", arg=path, or "/opt:path".
422
- # If the argument starts with a slash or dash, or contains an equal sign,
423
- # it's probably a command line switch.
424
- # Return the path with forward slashes because the command using it might
425
- # not support backslashes.
426
- arguments = [
427
- i if (i[:1] in "/-" or "=" in i) else _FixPath(i, "/") for i in cmd[1:]
428
- ]
429
- arguments = [i.replace("$(InputDir)", "%INPUTDIR%") for i in arguments]
430
- arguments = [MSVSSettings.FixVCMacroSlashes(i) for i in arguments]
431
- if quote_cmd:
432
- # Support a mode for using cmd directly.
433
- # Convert any paths to native form (first element is used directly).
434
- # TODO(quote): regularize quoting path names throughout the module
435
- command[1] = '"%s"' % command[1]
436
- arguments = ['"%s"' % i for i in arguments]
437
- # Collapse into a single command.
438
- return input_dir_preamble + " ".join(command + arguments)
439
-
440
-
441
- def _BuildCommandLineForRule(spec, rule, has_input_path, do_setup_env):
442
- # Currently this weird argument munging is used to duplicate the way a
443
- # python script would need to be run as part of the chrome tree.
444
- # Eventually we should add some sort of rule_default option to set this
445
- # per project. For now the behavior chrome needs is the default.
446
- mcs = rule.get("msvs_cygwin_shell")
447
- if mcs is None:
448
- mcs = int(spec.get("msvs_cygwin_shell", 1))
449
- elif isinstance(mcs, str):
450
- mcs = int(mcs)
451
- quote_cmd = int(rule.get("msvs_quote_cmd", 1))
452
- return _BuildCommandLineForRuleRaw(
453
- spec, rule["action"], mcs, has_input_path, quote_cmd, do_setup_env=do_setup_env
454
- )
455
-
456
-
457
- def _AddActionStep(actions_dict, inputs, outputs, description, command):
458
- """Merge action into an existing list of actions.
459
-
460
- Care must be taken so that actions which have overlapping inputs either don't
461
- get assigned to the same input, or get collapsed into one.
462
-
463
- Arguments:
464
- actions_dict: dictionary keyed on input name, which maps to a list of
465
- dicts describing the actions attached to that input file.
466
- inputs: list of inputs
467
- outputs: list of outputs
468
- description: description of the action
469
- command: command line to execute
470
- """
471
- # Require there to be at least one input (call sites will ensure this).
472
- assert inputs
473
-
474
- action = {
475
- "inputs": inputs,
476
- "outputs": outputs,
477
- "description": description,
478
- "command": command,
479
- }
480
-
481
- # Pick where to stick this action.
482
- # While less than optimal in terms of build time, attach them to the first
483
- # input for now.
484
- chosen_input = inputs[0]
485
-
486
- # Add it there.
487
- if chosen_input not in actions_dict:
488
- actions_dict[chosen_input] = []
489
- actions_dict[chosen_input].append(action)
490
-
491
-
492
- def _AddCustomBuildToolForMSVS(
493
- p, spec, primary_input, inputs, outputs, description, cmd
494
- ):
495
- """Add a custom build tool to execute something.
496
-
497
- Arguments:
498
- p: the target project
499
- spec: the target project dict
500
- primary_input: input file to attach the build tool to
501
- inputs: list of inputs
502
- outputs: list of outputs
503
- description: description of the action
504
- cmd: command line to execute
505
- """
506
- inputs = _FixPaths(inputs)
507
- outputs = _FixPaths(outputs)
508
- tool = MSVSProject.Tool(
509
- "VCCustomBuildTool",
510
- {
511
- "Description": description,
512
- "AdditionalDependencies": ";".join(inputs),
513
- "Outputs": ";".join(outputs),
514
- "CommandLine": cmd,
515
- },
516
- )
517
- # Add to the properties of primary input for each config.
518
- for config_name, c_data in spec["configurations"].items():
519
- p.AddFileConfig(
520
- _FixPath(primary_input), _ConfigFullName(config_name, c_data), tools=[tool]
521
- )
522
-
523
-
524
- def _AddAccumulatedActionsToMSVS(p, spec, actions_dict):
525
- """Add actions accumulated into an actions_dict, merging as needed.
526
-
527
- Arguments:
528
- p: the target project
529
- spec: the target project dict
530
- actions_dict: dictionary keyed on input name, which maps to a list of
531
- dicts describing the actions attached to that input file.
532
- """
533
- for primary_input in actions_dict:
534
- inputs = OrderedSet()
535
- outputs = OrderedSet()
536
- descriptions = []
537
- commands = []
538
- for action in actions_dict[primary_input]:
539
- inputs.update(OrderedSet(action["inputs"]))
540
- outputs.update(OrderedSet(action["outputs"]))
541
- descriptions.append(action["description"])
542
- commands.append(action["command"])
543
- # Add the custom build step for one input file.
544
- description = ", and also ".join(descriptions)
545
- command = "\r\n".join(commands)
546
- _AddCustomBuildToolForMSVS(
547
- p,
548
- spec,
549
- primary_input=primary_input,
550
- inputs=inputs,
551
- outputs=outputs,
552
- description=description,
553
- cmd=command,
554
- )
555
-
556
-
557
- def _RuleExpandPath(path, input_file):
558
- """Given the input file to which a rule applied, string substitute a path.
559
-
560
- Arguments:
561
- path: a path to string expand
562
- input_file: the file to which the rule applied.
563
- Returns:
564
- The string substituted path.
565
- """
566
- path = path.replace(
567
- "$(InputName)", os.path.splitext(os.path.split(input_file)[1])[0]
568
- )
569
- path = path.replace("$(InputDir)", os.path.dirname(input_file))
570
- path = path.replace(
571
- "$(InputExt)", os.path.splitext(os.path.split(input_file)[1])[1]
572
- )
573
- path = path.replace("$(InputFileName)", os.path.split(input_file)[1])
574
- path = path.replace("$(InputPath)", input_file)
575
- return path
576
-
577
-
578
- def _FindRuleTriggerFiles(rule, sources):
579
- """Find the list of files which a particular rule applies to.
580
-
581
- Arguments:
582
- rule: the rule in question
583
- sources: the set of all known source files for this project
584
- Returns:
585
- The list of sources that trigger a particular rule.
586
- """
587
- return rule.get("rule_sources", [])
588
-
589
-
590
- def _RuleInputsAndOutputs(rule, trigger_file):
591
- """Find the inputs and outputs generated by a rule.
592
-
593
- Arguments:
594
- rule: the rule in question.
595
- trigger_file: the main trigger for this rule.
596
- Returns:
597
- The pair of (inputs, outputs) involved in this rule.
598
- """
599
- raw_inputs = _FixPaths(rule.get("inputs", []))
600
- raw_outputs = _FixPaths(rule.get("outputs", []))
601
- inputs = OrderedSet()
602
- outputs = OrderedSet()
603
- inputs.add(trigger_file)
604
- for i in raw_inputs:
605
- inputs.add(_RuleExpandPath(i, trigger_file))
606
- for o in raw_outputs:
607
- outputs.add(_RuleExpandPath(o, trigger_file))
608
- return (inputs, outputs)
609
-
610
-
611
- def _GenerateNativeRulesForMSVS(p, rules, output_dir, spec, options):
612
- """Generate a native rules file.
613
-
614
- Arguments:
615
- p: the target project
616
- rules: the set of rules to include
617
- output_dir: the directory in which the project/gyp resides
618
- spec: the project dict
619
- options: global generator options
620
- """
621
- rules_filename = "{}{}.rules".format(spec["target_name"], options.suffix)
622
- rules_file = MSVSToolFile.Writer(
623
- os.path.join(output_dir, rules_filename), spec["target_name"]
624
- )
625
- # Add each rule.
626
- for r in rules:
627
- rule_name = r["rule_name"]
628
- rule_ext = r["extension"]
629
- inputs = _FixPaths(r.get("inputs", []))
630
- outputs = _FixPaths(r.get("outputs", []))
631
- # Skip a rule with no action and no inputs.
632
- if "action" not in r and not r.get("rule_sources", []):
633
- continue
634
- cmd = _BuildCommandLineForRule(spec, r, has_input_path=True, do_setup_env=True)
635
- rules_file.AddCustomBuildRule(
636
- name=rule_name,
637
- description=r.get("message", rule_name),
638
- extensions=[rule_ext],
639
- additional_dependencies=inputs,
640
- outputs=outputs,
641
- cmd=cmd,
642
- )
643
- # Write out rules file.
644
- rules_file.WriteIfChanged()
645
-
646
- # Add rules file to project.
647
- p.AddToolFile(rules_filename)
648
-
649
-
650
- def _Cygwinify(path):
651
- path = path.replace("$(OutDir)", "$(OutDirCygwin)")
652
- path = path.replace("$(IntDir)", "$(IntDirCygwin)")
653
- return path
654
-
655
-
656
- def _GenerateExternalRules(rules, output_dir, spec, sources, options, actions_to_add):
657
- """Generate an external makefile to do a set of rules.
658
-
659
- Arguments:
660
- rules: the list of rules to include
661
- output_dir: path containing project and gyp files
662
- spec: project specification data
663
- sources: set of sources known
664
- options: global generator options
665
- actions_to_add: The list of actions we will add to.
666
- """
667
- filename = "{}_rules{}.mk".format(spec["target_name"], options.suffix)
668
- mk_file = gyp.common.WriteOnDiff(os.path.join(output_dir, filename))
669
- # Find cygwin style versions of some paths.
670
- mk_file.write('OutDirCygwin:=$(shell cygpath -u "$(OutDir)")\n')
671
- mk_file.write('IntDirCygwin:=$(shell cygpath -u "$(IntDir)")\n')
672
- # Gather stuff needed to emit all: target.
673
- all_inputs = OrderedSet()
674
- all_outputs = OrderedSet()
675
- all_output_dirs = OrderedSet()
676
- first_outputs = []
677
- for rule in rules:
678
- trigger_files = _FindRuleTriggerFiles(rule, sources)
679
- for tf in trigger_files:
680
- inputs, outputs = _RuleInputsAndOutputs(rule, tf)
681
- all_inputs.update(OrderedSet(inputs))
682
- all_outputs.update(OrderedSet(outputs))
683
- # Only use one target from each rule as the dependency for
684
- # 'all' so we don't try to build each rule multiple times.
685
- first_outputs.append(next(iter(outputs)))
686
- # Get the unique output directories for this rule.
687
- output_dirs = [os.path.split(i)[0] for i in outputs]
688
- for od in output_dirs:
689
- all_output_dirs.add(od)
690
- first_outputs_cyg = [_Cygwinify(i) for i in first_outputs]
691
- # Write out all: target, including mkdir for each output directory.
692
- mk_file.write("all: %s\n" % " ".join(first_outputs_cyg))
693
- for od in all_output_dirs:
694
- if od:
695
- mk_file.write('\tmkdir -p `cygpath -u "%s"`\n' % od)
696
- mk_file.write("\n")
697
- # Define how each output is generated.
698
- for rule in rules:
699
- trigger_files = _FindRuleTriggerFiles(rule, sources)
700
- for tf in trigger_files:
701
- # Get all the inputs and outputs for this rule for this trigger file.
702
- inputs, outputs = _RuleInputsAndOutputs(rule, tf)
703
- inputs = [_Cygwinify(i) for i in inputs]
704
- outputs = [_Cygwinify(i) for i in outputs]
705
- # Prepare the command line for this rule.
706
- cmd = [_RuleExpandPath(c, tf) for c in rule["action"]]
707
- cmd = ['"%s"' % i for i in cmd]
708
- cmd = " ".join(cmd)
709
- # Add it to the makefile.
710
- mk_file.write("{}: {}\n".format(" ".join(outputs), " ".join(inputs)))
711
- mk_file.write("\t%s\n\n" % cmd)
712
- # Close up the file.
713
- mk_file.close()
714
-
715
- # Add makefile to list of sources.
716
- sources.add(filename)
717
- # Add a build action to call makefile.
718
- cmd = [
719
- "make",
720
- "OutDir=$(OutDir)",
721
- "IntDir=$(IntDir)",
722
- "-j",
723
- "${NUMBER_OF_PROCESSORS_PLUS_1}",
724
- "-f",
725
- filename,
726
- ]
727
- cmd = _BuildCommandLineForRuleRaw(spec, cmd, True, False, True, True)
728
- # Insert makefile as 0'th input, so it gets the action attached there,
729
- # as this is easier to understand from in the IDE.
730
- all_inputs = list(all_inputs)
731
- all_inputs.insert(0, filename)
732
- _AddActionStep(
733
- actions_to_add,
734
- inputs=_FixPaths(all_inputs),
735
- outputs=_FixPaths(all_outputs),
736
- description="Running external rules for %s" % spec["target_name"],
737
- command=cmd,
738
- )
739
-
740
-
741
- def _EscapeEnvironmentVariableExpansion(s):
742
- """Escapes % characters.
743
-
744
- Escapes any % characters so that Windows-style environment variable
745
- expansions will leave them alone.
746
- See http://connect.microsoft.com/VisualStudio/feedback/details/106127/cl-d-name-text-containing-percentage-characters-doesnt-compile
747
- to understand why we have to do this.
748
-
749
- Args:
750
- s: The string to be escaped.
751
-
752
- Returns:
753
- The escaped string.
754
- """
755
- s = s.replace("%", "%%")
756
- return s
757
-
758
-
759
- quote_replacer_regex = re.compile(r'(\\*)"')
760
-
761
-
762
- def _EscapeCommandLineArgumentForMSVS(s):
763
- """Escapes a Windows command-line argument.
764
-
765
- So that the Win32 CommandLineToArgv function will turn the escaped result back
766
- into the original string.
767
- See http://msdn.microsoft.com/en-us/library/17w5ykft.aspx
768
- ("Parsing C++ Command-Line Arguments") to understand why we have to do
769
- this.
770
-
771
- Args:
772
- s: the string to be escaped.
773
- Returns:
774
- the escaped string.
775
- """
776
-
777
- def _Replace(match):
778
- # For a literal quote, CommandLineToArgv requires an odd number of
779
- # backslashes preceding it, and it produces half as many literal backslashes
780
- # (rounded down). So we need to produce 2n+1 backslashes.
781
- return 2 * match.group(1) + '\\"'
782
-
783
- # Escape all quotes so that they are interpreted literally.
784
- s = quote_replacer_regex.sub(_Replace, s)
785
- # Now add unescaped quotes so that any whitespace is interpreted literally.
786
- s = '"' + s + '"'
787
- return s
788
-
789
-
790
- delimiters_replacer_regex = re.compile(r"(\\*)([,;]+)")
791
-
792
-
793
- def _EscapeVCProjCommandLineArgListItem(s):
794
- """Escapes command line arguments for MSVS.
795
-
796
- The VCProj format stores string lists in a single string using commas and
797
- semi-colons as separators, which must be quoted if they are to be
798
- interpreted literally. However, command-line arguments may already have
799
- quotes, and the VCProj parser is ignorant of the backslash escaping
800
- convention used by CommandLineToArgv, so the command-line quotes and the
801
- VCProj quotes may not be the same quotes. So to store a general
802
- command-line argument in a VCProj list, we need to parse the existing
803
- quoting according to VCProj's convention and quote any delimiters that are
804
- not already quoted by that convention. The quotes that we add will also be
805
- seen by CommandLineToArgv, so if backslashes precede them then we also have
806
- to escape those backslashes according to the CommandLineToArgv
807
- convention.
808
-
809
- Args:
810
- s: the string to be escaped.
811
- Returns:
812
- the escaped string.
813
- """
814
-
815
- def _Replace(match):
816
- # For a non-literal quote, CommandLineToArgv requires an even number of
817
- # backslashes preceding it, and it produces half as many literal
818
- # backslashes. So we need to produce 2n backslashes.
819
- return 2 * match.group(1) + '"' + match.group(2) + '"'
820
-
821
- segments = s.split('"')
822
- # The unquoted segments are at the even-numbered indices.
823
- for i in range(0, len(segments), 2):
824
- segments[i] = delimiters_replacer_regex.sub(_Replace, segments[i])
825
- # Concatenate back into a single string
826
- s = '"'.join(segments)
827
- if len(segments) % 2 == 0:
828
- # String ends while still quoted according to VCProj's convention. This
829
- # means the delimiter and the next list item that follow this one in the
830
- # .vcproj file will be misinterpreted as part of this item. There is nothing
831
- # we can do about this. Adding an extra quote would correct the problem in
832
- # the VCProj but cause the same problem on the final command-line. Moving
833
- # the item to the end of the list does works, but that's only possible if
834
- # there's only one such item. Let's just warn the user.
835
- print(
836
- "Warning: MSVS may misinterpret the odd number of " + "quotes in " + s,
837
- file=sys.stderr,
838
- )
839
- return s
840
-
841
-
842
- def _EscapeCppDefineForMSVS(s):
843
- """Escapes a CPP define so that it will reach the compiler unaltered."""
844
- s = _EscapeEnvironmentVariableExpansion(s)
845
- s = _EscapeCommandLineArgumentForMSVS(s)
846
- s = _EscapeVCProjCommandLineArgListItem(s)
847
- # cl.exe replaces literal # characters with = in preprocessor definitions for
848
- # some reason. Octal-encode to work around that.
849
- s = s.replace("#", "\\%03o" % ord("#"))
850
- return s
851
-
852
-
853
- quote_replacer_regex2 = re.compile(r'(\\+)"')
854
-
855
-
856
- def _EscapeCommandLineArgumentForMSBuild(s):
857
- """Escapes a Windows command-line argument for use by MSBuild."""
858
-
859
- def _Replace(match):
860
- return (len(match.group(1)) // 2 * 4) * "\\" + '\\"'
861
-
862
- # Escape all quotes so that they are interpreted literally.
863
- s = quote_replacer_regex2.sub(_Replace, s)
864
- return s
865
-
866
-
867
- def _EscapeMSBuildSpecialCharacters(s):
868
- escape_dictionary = {
869
- "%": "%25",
870
- "$": "%24",
871
- "@": "%40",
872
- "'": "%27",
873
- ";": "%3B",
874
- "?": "%3F",
875
- "*": "%2A",
876
- }
877
- result = "".join([escape_dictionary.get(c, c) for c in s])
878
- return result
879
-
880
-
881
- def _EscapeCppDefineForMSBuild(s):
882
- """Escapes a CPP define so that it will reach the compiler unaltered."""
883
- s = _EscapeEnvironmentVariableExpansion(s)
884
- s = _EscapeCommandLineArgumentForMSBuild(s)
885
- s = _EscapeMSBuildSpecialCharacters(s)
886
- # cl.exe replaces literal # characters with = in preprocessor definitions for
887
- # some reason. Octal-encode to work around that.
888
- s = s.replace("#", "\\%03o" % ord("#"))
889
- return s
890
-
891
-
892
- def _GenerateRulesForMSVS(
893
- p, output_dir, options, spec, sources, excluded_sources, actions_to_add
894
- ):
895
- """Generate all the rules for a particular project.
896
-
897
- Arguments:
898
- p: the project
899
- output_dir: directory to emit rules to
900
- options: global options passed to the generator
901
- spec: the specification for this project
902
- sources: the set of all known source files in this project
903
- excluded_sources: the set of sources excluded from normal processing
904
- actions_to_add: deferred list of actions to add in
905
- """
906
- rules = spec.get("rules", [])
907
- rules_native = [r for r in rules if not int(r.get("msvs_external_rule", 0))]
908
- rules_external = [r for r in rules if int(r.get("msvs_external_rule", 0))]
909
-
910
- # Handle rules that use a native rules file.
911
- if rules_native:
912
- _GenerateNativeRulesForMSVS(p, rules_native, output_dir, spec, options)
913
-
914
- # Handle external rules (non-native rules).
915
- if rules_external:
916
- _GenerateExternalRules(
917
- rules_external, output_dir, spec, sources, options, actions_to_add
918
- )
919
- _AdjustSourcesForRules(rules, sources, excluded_sources, False)
920
-
921
-
922
- def _AdjustSourcesForRules(rules, sources, excluded_sources, is_msbuild):
923
- # Add outputs generated by each rule (if applicable).
924
- for rule in rules:
925
- # Add in the outputs from this rule.
926
- trigger_files = _FindRuleTriggerFiles(rule, sources)
927
- for trigger_file in trigger_files:
928
- # Remove trigger_file from excluded_sources to let the rule be triggered
929
- # (e.g. rule trigger ax_enums.idl is added to excluded_sources
930
- # because it's also in an action's inputs in the same project)
931
- excluded_sources.discard(_FixPath(trigger_file))
932
- # Done if not processing outputs as sources.
933
- if int(rule.get("process_outputs_as_sources", False)):
934
- inputs, outputs = _RuleInputsAndOutputs(rule, trigger_file)
935
- inputs = OrderedSet(_FixPaths(inputs))
936
- outputs = OrderedSet(_FixPaths(outputs))
937
- inputs.remove(_FixPath(trigger_file))
938
- sources.update(inputs)
939
- if not is_msbuild:
940
- excluded_sources.update(inputs)
941
- sources.update(outputs)
942
-
943
-
944
- def _FilterActionsFromExcluded(excluded_sources, actions_to_add):
945
- """Take inputs with actions attached out of the list of exclusions.
946
-
947
- Arguments:
948
- excluded_sources: list of source files not to be built.
949
- actions_to_add: dict of actions keyed on source file they're attached to.
950
- Returns:
951
- excluded_sources with files that have actions attached removed.
952
- """
953
- must_keep = OrderedSet(_FixPaths(actions_to_add.keys()))
954
- return [s for s in excluded_sources if s not in must_keep]
955
-
956
-
957
- def _GetDefaultConfiguration(spec):
958
- return spec["configurations"][spec["default_configuration"]]
959
-
960
-
961
- def _GetGuidOfProject(proj_path, spec):
962
- """Get the guid for the project.
963
-
964
- Arguments:
965
- proj_path: Path of the vcproj or vcxproj file to generate.
966
- spec: The target dictionary containing the properties of the target.
967
- Returns:
968
- the guid.
969
- Raises:
970
- ValueError: if the specified GUID is invalid.
971
- """
972
- # Pluck out the default configuration.
973
- default_config = _GetDefaultConfiguration(spec)
974
- # Decide the guid of the project.
975
- guid = default_config.get("msvs_guid")
976
- if guid:
977
- if VALID_MSVS_GUID_CHARS.match(guid) is None:
978
- raise ValueError(
979
- 'Invalid MSVS guid: "%s". Must match regex: "%s".'
980
- % (guid, VALID_MSVS_GUID_CHARS.pattern)
981
- )
982
- guid = "{%s}" % guid
983
- guid = guid or MSVSNew.MakeGuid(proj_path)
984
- return guid
985
-
986
-
987
- def _GetMsbuildToolsetOfProject(proj_path, spec, version):
988
- """Get the platform toolset for the project.
989
-
990
- Arguments:
991
- proj_path: Path of the vcproj or vcxproj file to generate.
992
- spec: The target dictionary containing the properties of the target.
993
- version: The MSVSVersion object.
994
- Returns:
995
- the platform toolset string or None.
996
- """
997
- # Pluck out the default configuration.
998
- default_config = _GetDefaultConfiguration(spec)
999
- toolset = default_config.get("msbuild_toolset")
1000
- if not toolset and version.DefaultToolset():
1001
- toolset = version.DefaultToolset()
1002
- if spec["type"] == "windows_driver":
1003
- toolset = "WindowsKernelModeDriver10.0"
1004
- return toolset
1005
-
1006
-
1007
- def _GenerateProject(project, options, version, generator_flags, spec):
1008
- """Generates a vcproj file.
1009
-
1010
- Arguments:
1011
- project: the MSVSProject object.
1012
- options: global generator options.
1013
- version: the MSVSVersion object.
1014
- generator_flags: dict of generator-specific flags.
1015
- Returns:
1016
- A list of source files that cannot be found on disk.
1017
- """
1018
- default_config = _GetDefaultConfiguration(project.spec)
1019
-
1020
- # Skip emitting anything if told to with msvs_existing_vcproj option.
1021
- if default_config.get("msvs_existing_vcproj"):
1022
- return []
1023
-
1024
- if version.UsesVcxproj():
1025
- return _GenerateMSBuildProject(project, options, version, generator_flags, spec)
1026
- else:
1027
- return _GenerateMSVSProject(project, options, version, generator_flags)
1028
-
1029
-
1030
- def _GenerateMSVSProject(project, options, version, generator_flags):
1031
- """Generates a .vcproj file. It may create .rules and .user files too.
1032
-
1033
- Arguments:
1034
- project: The project object we will generate the file for.
1035
- options: Global options passed to the generator.
1036
- version: The VisualStudioVersion object.
1037
- generator_flags: dict of generator-specific flags.
1038
- """
1039
- spec = project.spec
1040
- gyp.common.EnsureDirExists(project.path)
1041
-
1042
- platforms = _GetUniquePlatforms(spec)
1043
- p = MSVSProject.Writer(
1044
- project.path, version, spec["target_name"], project.guid, platforms
1045
- )
1046
-
1047
- # Get directory project file is in.
1048
- project_dir = os.path.split(project.path)[0]
1049
- gyp_path = _NormalizedSource(project.build_file)
1050
- relative_path_of_gyp_file = gyp.common.RelativePath(gyp_path, project_dir)
1051
-
1052
- config_type = _GetMSVSConfigurationType(spec, project.build_file)
1053
- for config_name, config in spec["configurations"].items():
1054
- _AddConfigurationToMSVSProject(p, spec, config_type, config_name, config)
1055
-
1056
- # Prepare list of sources and excluded sources.
1057
- gyp_file = os.path.split(project.build_file)[1]
1058
- sources, excluded_sources = _PrepareListOfSources(spec, generator_flags, gyp_file)
1059
-
1060
- # Add rules.
1061
- actions_to_add = {}
1062
- _GenerateRulesForMSVS(
1063
- p, project_dir, options, spec, sources, excluded_sources, actions_to_add
1064
- )
1065
- list_excluded = generator_flags.get("msvs_list_excluded_files", True)
1066
- sources, excluded_sources, excluded_idl = _AdjustSourcesAndConvertToFilterHierarchy(
1067
- spec, options, project_dir, sources, excluded_sources, list_excluded, version
1068
- )
1069
-
1070
- # Add in files.
1071
- missing_sources = _VerifySourcesExist(sources, project_dir)
1072
- p.AddFiles(sources)
1073
-
1074
- _AddToolFilesToMSVS(p, spec)
1075
- _HandlePreCompiledHeaders(p, sources, spec)
1076
- _AddActions(actions_to_add, spec, relative_path_of_gyp_file)
1077
- _AddCopies(actions_to_add, spec)
1078
- _WriteMSVSUserFile(project.path, version, spec)
1079
-
1080
- # NOTE: this stanza must appear after all actions have been decided.
1081
- # Don't excluded sources with actions attached, or they won't run.
1082
- excluded_sources = _FilterActionsFromExcluded(excluded_sources, actions_to_add)
1083
- _ExcludeFilesFromBeingBuilt(p, spec, excluded_sources, excluded_idl, list_excluded)
1084
- _AddAccumulatedActionsToMSVS(p, spec, actions_to_add)
1085
-
1086
- # Write it out.
1087
- p.WriteIfChanged()
1088
-
1089
- return missing_sources
1090
-
1091
-
1092
- def _GetUniquePlatforms(spec):
1093
- """Returns the list of unique platforms for this spec, e.g ['win32', ...].
1094
-
1095
- Arguments:
1096
- spec: The target dictionary containing the properties of the target.
1097
- Returns:
1098
- The MSVSUserFile object created.
1099
- """
1100
- # Gather list of unique platforms.
1101
- platforms = OrderedSet()
1102
- for configuration in spec["configurations"]:
1103
- platforms.add(_ConfigPlatform(spec["configurations"][configuration]))
1104
- platforms = list(platforms)
1105
- return platforms
1106
-
1107
-
1108
- def _CreateMSVSUserFile(proj_path, version, spec):
1109
- """Generates a .user file for the user running this Gyp program.
1110
-
1111
- Arguments:
1112
- proj_path: The path of the project file being created. The .user file
1113
- shares the same path (with an appropriate suffix).
1114
- version: The VisualStudioVersion object.
1115
- spec: The target dictionary containing the properties of the target.
1116
- Returns:
1117
- The MSVSUserFile object created.
1118
- """
1119
- (domain, username) = _GetDomainAndUserName()
1120
- vcuser_filename = ".".join([proj_path, domain, username, "user"])
1121
- user_file = MSVSUserFile.Writer(vcuser_filename, version, spec["target_name"])
1122
- return user_file
1123
-
1124
-
1125
- def _GetMSVSConfigurationType(spec, build_file):
1126
- """Returns the configuration type for this project.
1127
-
1128
- It's a number defined by Microsoft. May raise an exception.
1129
-
1130
- Args:
1131
- spec: The target dictionary containing the properties of the target.
1132
- build_file: The path of the gyp file.
1133
- Returns:
1134
- An integer, the configuration type.
1135
- """
1136
- try:
1137
- config_type = {
1138
- "executable": "1", # .exe
1139
- "shared_library": "2", # .dll
1140
- "loadable_module": "2", # .dll
1141
- "static_library": "4", # .lib
1142
- "windows_driver": "5", # .sys
1143
- "none": "10", # Utility type
1144
- }[spec["type"]]
1145
- except KeyError:
1146
- if spec.get("type"):
1147
- raise GypError(
1148
- "Target type %s is not a valid target type for "
1149
- "target %s in %s." % (spec["type"], spec["target_name"], build_file)
1150
- )
1151
- else:
1152
- raise GypError(
1153
- "Missing type field for target %s in %s."
1154
- % (spec["target_name"], build_file)
1155
- )
1156
- return config_type
1157
-
1158
-
1159
- def _AddConfigurationToMSVSProject(p, spec, config_type, config_name, config):
1160
- """Adds a configuration to the MSVS project.
1161
-
1162
- Many settings in a vcproj file are specific to a configuration. This
1163
- function the main part of the vcproj file that's configuration specific.
1164
-
1165
- Arguments:
1166
- p: The target project being generated.
1167
- spec: The target dictionary containing the properties of the target.
1168
- config_type: The configuration type, a number as defined by Microsoft.
1169
- config_name: The name of the configuration.
1170
- config: The dictionary that defines the special processing to be done
1171
- for this configuration.
1172
- """
1173
- # Get the information for this configuration
1174
- include_dirs, midl_include_dirs, resource_include_dirs = _GetIncludeDirs(config)
1175
- libraries = _GetLibraries(spec)
1176
- library_dirs = _GetLibraryDirs(config)
1177
- out_file, vc_tool, _ = _GetOutputFilePathAndTool(spec, msbuild=False)
1178
- defines = _GetDefines(config)
1179
- defines = [_EscapeCppDefineForMSVS(d) for d in defines]
1180
- disabled_warnings = _GetDisabledWarnings(config)
1181
- prebuild = config.get("msvs_prebuild")
1182
- postbuild = config.get("msvs_postbuild")
1183
- def_file = _GetModuleDefinition(spec)
1184
- precompiled_header = config.get("msvs_precompiled_header")
1185
-
1186
- # Prepare the list of tools as a dictionary.
1187
- tools = {}
1188
- # Add in user specified msvs_settings.
1189
- msvs_settings = config.get("msvs_settings", {})
1190
- MSVSSettings.ValidateMSVSSettings(msvs_settings)
1191
-
1192
- # Prevent default library inheritance from the environment.
1193
- _ToolAppend(tools, "VCLinkerTool", "AdditionalDependencies", ["$(NOINHERIT)"])
1194
-
1195
- for tool in msvs_settings:
1196
- settings = config["msvs_settings"][tool]
1197
- for setting in settings:
1198
- _ToolAppend(tools, tool, setting, settings[setting])
1199
- # Add the information to the appropriate tool
1200
- _ToolAppend(tools, "VCCLCompilerTool", "AdditionalIncludeDirectories", include_dirs)
1201
- _ToolAppend(tools, "VCMIDLTool", "AdditionalIncludeDirectories", midl_include_dirs)
1202
- _ToolAppend(
1203
- tools,
1204
- "VCResourceCompilerTool",
1205
- "AdditionalIncludeDirectories",
1206
- resource_include_dirs,
1207
- )
1208
- # Add in libraries.
1209
- _ToolAppend(tools, "VCLinkerTool", "AdditionalDependencies", libraries)
1210
- _ToolAppend(tools, "VCLinkerTool", "AdditionalLibraryDirectories", library_dirs)
1211
- if out_file:
1212
- _ToolAppend(tools, vc_tool, "OutputFile", out_file, only_if_unset=True)
1213
- # Add defines.
1214
- _ToolAppend(tools, "VCCLCompilerTool", "PreprocessorDefinitions", defines)
1215
- _ToolAppend(tools, "VCResourceCompilerTool", "PreprocessorDefinitions", defines)
1216
- # Change program database directory to prevent collisions.
1217
- _ToolAppend(
1218
- tools,
1219
- "VCCLCompilerTool",
1220
- "ProgramDataBaseFileName",
1221
- "$(IntDir)$(ProjectName)\\vc80.pdb",
1222
- only_if_unset=True,
1223
- )
1224
- # Add disabled warnings.
1225
- _ToolAppend(tools, "VCCLCompilerTool", "DisableSpecificWarnings", disabled_warnings)
1226
- # Add Pre-build.
1227
- _ToolAppend(tools, "VCPreBuildEventTool", "CommandLine", prebuild)
1228
- # Add Post-build.
1229
- _ToolAppend(tools, "VCPostBuildEventTool", "CommandLine", postbuild)
1230
- # Turn on precompiled headers if appropriate.
1231
- if precompiled_header:
1232
- precompiled_header = os.path.split(precompiled_header)[1]
1233
- _ToolAppend(tools, "VCCLCompilerTool", "UsePrecompiledHeader", "2")
1234
- _ToolAppend(
1235
- tools, "VCCLCompilerTool", "PrecompiledHeaderThrough", precompiled_header
1236
- )
1237
- _ToolAppend(tools, "VCCLCompilerTool", "ForcedIncludeFiles", precompiled_header)
1238
- # Loadable modules don't generate import libraries;
1239
- # tell dependent projects to not expect one.
1240
- if spec["type"] == "loadable_module":
1241
- _ToolAppend(tools, "VCLinkerTool", "IgnoreImportLibrary", "true")
1242
- # Set the module definition file if any.
1243
- if def_file:
1244
- _ToolAppend(tools, "VCLinkerTool", "ModuleDefinitionFile", def_file)
1245
-
1246
- _AddConfigurationToMSVS(p, spec, tools, config, config_type, config_name)
1247
-
1248
-
1249
- def _GetIncludeDirs(config):
1250
- """Returns the list of directories to be used for #include directives.
1251
-
1252
- Arguments:
1253
- config: The dictionary that defines the special processing to be done
1254
- for this configuration.
1255
- Returns:
1256
- The list of directory paths.
1257
- """
1258
- # TODO(bradnelson): include_dirs should really be flexible enough not to
1259
- # require this sort of thing.
1260
- include_dirs = config.get("include_dirs", []) + config.get(
1261
- "msvs_system_include_dirs", []
1262
- )
1263
- midl_include_dirs = config.get("midl_include_dirs", []) + config.get(
1264
- "msvs_system_include_dirs", []
1265
- )
1266
- resource_include_dirs = config.get("resource_include_dirs", include_dirs)
1267
- include_dirs = _FixPaths(include_dirs)
1268
- midl_include_dirs = _FixPaths(midl_include_dirs)
1269
- resource_include_dirs = _FixPaths(resource_include_dirs)
1270
- return include_dirs, midl_include_dirs, resource_include_dirs
1271
-
1272
-
1273
- def _GetLibraryDirs(config):
1274
- """Returns the list of directories to be used for library search paths.
1275
-
1276
- Arguments:
1277
- config: The dictionary that defines the special processing to be done
1278
- for this configuration.
1279
- Returns:
1280
- The list of directory paths.
1281
- """
1282
-
1283
- library_dirs = config.get("library_dirs", [])
1284
- library_dirs = _FixPaths(library_dirs)
1285
- return library_dirs
1286
-
1287
-
1288
- def _GetLibraries(spec):
1289
- """Returns the list of libraries for this configuration.
1290
-
1291
- Arguments:
1292
- spec: The target dictionary containing the properties of the target.
1293
- Returns:
1294
- The list of directory paths.
1295
- """
1296
- libraries = spec.get("libraries", [])
1297
- # Strip out -l, as it is not used on windows (but is needed so we can pass
1298
- # in libraries that are assumed to be in the default library path).
1299
- # Also remove duplicate entries, leaving only the last duplicate, while
1300
- # preserving order.
1301
- found = OrderedSet()
1302
- unique_libraries_list = []
1303
- for entry in reversed(libraries):
1304
- library = re.sub(r"^\-l", "", entry)
1305
- if not os.path.splitext(library)[1]:
1306
- library += ".lib"
1307
- if library not in found:
1308
- found.add(library)
1309
- unique_libraries_list.append(library)
1310
- unique_libraries_list.reverse()
1311
- return unique_libraries_list
1312
-
1313
-
1314
- def _GetOutputFilePathAndTool(spec, msbuild):
1315
- """Returns the path and tool to use for this target.
1316
-
1317
- Figures out the path of the file this spec will create and the name of
1318
- the VC tool that will create it.
1319
-
1320
- Arguments:
1321
- spec: The target dictionary containing the properties of the target.
1322
- Returns:
1323
- A triple of (file path, name of the vc tool, name of the msbuild tool)
1324
- """
1325
- # Select a name for the output file.
1326
- out_file = ""
1327
- vc_tool = ""
1328
- msbuild_tool = ""
1329
- output_file_map = {
1330
- "executable": ("VCLinkerTool", "Link", "$(OutDir)", ".exe"),
1331
- "shared_library": ("VCLinkerTool", "Link", "$(OutDir)", ".dll"),
1332
- "loadable_module": ("VCLinkerTool", "Link", "$(OutDir)", ".dll"),
1333
- "windows_driver": ("VCLinkerTool", "Link", "$(OutDir)", ".sys"),
1334
- "static_library": ("VCLibrarianTool", "Lib", "$(OutDir)lib\\", ".lib"),
1335
- }
1336
- output_file_props = output_file_map.get(spec["type"])
1337
- if output_file_props and int(spec.get("msvs_auto_output_file", 1)):
1338
- vc_tool, msbuild_tool, out_dir, suffix = output_file_props
1339
- if spec.get("standalone_static_library", 0):
1340
- out_dir = "$(OutDir)"
1341
- out_dir = spec.get("product_dir", out_dir)
1342
- product_extension = spec.get("product_extension")
1343
- if product_extension:
1344
- suffix = "." + product_extension
1345
- elif msbuild:
1346
- suffix = "$(TargetExt)"
1347
- prefix = spec.get("product_prefix", "")
1348
- product_name = spec.get("product_name", "$(ProjectName)")
1349
- out_file = ntpath.join(out_dir, prefix + product_name + suffix)
1350
- return out_file, vc_tool, msbuild_tool
1351
-
1352
-
1353
- def _GetOutputTargetExt(spec):
1354
- """Returns the extension for this target, including the dot
1355
-
1356
- If product_extension is specified, set target_extension to this to avoid
1357
- MSB8012, returns None otherwise. Ignores any target_extension settings in
1358
- the input files.
1359
-
1360
- Arguments:
1361
- spec: The target dictionary containing the properties of the target.
1362
- Returns:
1363
- A string with the extension, or None
1364
- """
1365
- if target_extension := spec.get("product_extension"):
1366
- return "." + target_extension
1367
- return None
1368
-
1369
-
1370
- def _GetDefines(config):
1371
- """Returns the list of preprocessor definitions for this configuration.
1372
-
1373
- Arguments:
1374
- config: The dictionary that defines the special processing to be done
1375
- for this configuration.
1376
- Returns:
1377
- The list of preprocessor definitions.
1378
- """
1379
- defines = []
1380
- for d in config.get("defines", []):
1381
- fd = "=".join([str(dpart) for dpart in d]) if isinstance(d, list) else str(d)
1382
- defines.append(fd)
1383
- return defines
1384
-
1385
-
1386
- def _GetDisabledWarnings(config):
1387
- return [str(i) for i in config.get("msvs_disabled_warnings", [])]
1388
-
1389
-
1390
- def _GetModuleDefinition(spec):
1391
- def_file = ""
1392
- if spec["type"] in [
1393
- "shared_library",
1394
- "loadable_module",
1395
- "executable",
1396
- "windows_driver",
1397
- ]:
1398
- def_files = [s for s in spec.get("sources", []) if s.endswith(".def")]
1399
- if len(def_files) == 1:
1400
- def_file = _FixPath(def_files[0])
1401
- elif def_files:
1402
- raise ValueError(
1403
- "Multiple module definition files in one target, target %s lists "
1404
- "multiple .def files: %s" % (spec["target_name"], " ".join(def_files))
1405
- )
1406
- return def_file
1407
-
1408
-
1409
- def _ConvertToolsToExpectedForm(tools):
1410
- """Convert tools to a form expected by Visual Studio.
1411
-
1412
- Arguments:
1413
- tools: A dictionary of settings; the tool name is the key.
1414
- Returns:
1415
- A list of Tool objects.
1416
- """
1417
- tool_list = []
1418
- for tool, settings in tools.items():
1419
- # Collapse settings with lists.
1420
- settings_fixed = {}
1421
- for setting, value in settings.items():
1422
- if isinstance(value, list):
1423
- if (
1424
- tool == "VCLinkerTool" and setting == "AdditionalDependencies"
1425
- ) or setting == "AdditionalOptions":
1426
- settings_fixed[setting] = " ".join(value)
1427
- else:
1428
- settings_fixed[setting] = ";".join(value)
1429
- else:
1430
- settings_fixed[setting] = value
1431
- # Add in this tool.
1432
- tool_list.append(MSVSProject.Tool(tool, settings_fixed))
1433
- return tool_list
1434
-
1435
-
1436
- def _AddConfigurationToMSVS(p, spec, tools, config, config_type, config_name):
1437
- """Add to the project file the configuration specified by config.
1438
-
1439
- Arguments:
1440
- p: The target project being generated.
1441
- spec: the target project dict.
1442
- tools: A dictionary of settings; the tool name is the key.
1443
- config: The dictionary that defines the special processing to be done
1444
- for this configuration.
1445
- config_type: The configuration type, a number as defined by Microsoft.
1446
- config_name: The name of the configuration.
1447
- """
1448
- attributes = _GetMSVSAttributes(spec, config, config_type)
1449
- # Add in this configuration.
1450
- tool_list = _ConvertToolsToExpectedForm(tools)
1451
- p.AddConfig(_ConfigFullName(config_name, config), attrs=attributes, tools=tool_list)
1452
-
1453
-
1454
- def _GetMSVSAttributes(spec, config, config_type):
1455
- # Prepare configuration attributes.
1456
- prepared_attrs = {}
1457
- source_attrs = config.get("msvs_configuration_attributes", {})
1458
- for a in source_attrs:
1459
- prepared_attrs[a] = source_attrs[a]
1460
- # Add props files.
1461
- vsprops_dirs = config.get("msvs_props", [])
1462
- vsprops_dirs = _FixPaths(vsprops_dirs)
1463
- if vsprops_dirs:
1464
- prepared_attrs["InheritedPropertySheets"] = ";".join(vsprops_dirs)
1465
- # Set configuration type.
1466
- prepared_attrs["ConfigurationType"] = config_type
1467
- output_dir = prepared_attrs.get(
1468
- "OutputDirectory", "$(SolutionDir)$(ConfigurationName)"
1469
- )
1470
- prepared_attrs["OutputDirectory"] = _FixPath(output_dir) + "\\"
1471
- if "IntermediateDirectory" not in prepared_attrs:
1472
- intermediate = "$(ConfigurationName)\\obj\\$(ProjectName)"
1473
- prepared_attrs["IntermediateDirectory"] = _FixPath(intermediate) + "\\"
1474
- else:
1475
- intermediate = _FixPath(prepared_attrs["IntermediateDirectory"]) + "\\"
1476
- intermediate = MSVSSettings.FixVCMacroSlashes(intermediate)
1477
- prepared_attrs["IntermediateDirectory"] = intermediate
1478
- return prepared_attrs
1479
-
1480
-
1481
- def _AddNormalizedSources(sources_set, sources_array):
1482
- sources_set.update(_NormalizedSource(s) for s in sources_array)
1483
-
1484
-
1485
- def _PrepareListOfSources(spec, generator_flags, gyp_file):
1486
- """Prepare list of sources and excluded sources.
1487
-
1488
- Besides the sources specified directly in the spec, adds the gyp file so
1489
- that a change to it will cause a re-compile. Also adds appropriate sources
1490
- for actions and copies. Assumes later stage will un-exclude files which
1491
- have custom build steps attached.
1492
-
1493
- Arguments:
1494
- spec: The target dictionary containing the properties of the target.
1495
- gyp_file: The name of the gyp file.
1496
- Returns:
1497
- A pair of (list of sources, list of excluded sources).
1498
- The sources will be relative to the gyp file.
1499
- """
1500
- sources = OrderedSet()
1501
- _AddNormalizedSources(sources, spec.get("sources", []))
1502
- excluded_sources = OrderedSet()
1503
- # Add in the gyp file.
1504
- if not generator_flags.get("standalone"):
1505
- sources.add(gyp_file)
1506
-
1507
- # Add in 'action' inputs and outputs.
1508
- for a in spec.get("actions", []):
1509
- inputs = a["inputs"]
1510
- inputs = [_NormalizedSource(i) for i in inputs]
1511
- # Add all inputs to sources and excluded sources.
1512
- inputs = OrderedSet(inputs)
1513
- sources.update(inputs)
1514
- if not spec.get("msvs_external_builder"):
1515
- excluded_sources.update(inputs)
1516
- if int(a.get("process_outputs_as_sources", False)):
1517
- _AddNormalizedSources(sources, a.get("outputs", []))
1518
- # Add in 'copies' inputs and outputs.
1519
- for cpy in spec.get("copies", []):
1520
- _AddNormalizedSources(sources, cpy.get("files", []))
1521
- return (sources, excluded_sources)
1522
-
1523
-
1524
- def _AdjustSourcesAndConvertToFilterHierarchy(
1525
- spec, options, gyp_dir, sources, excluded_sources, list_excluded, version
1526
- ):
1527
- """Adjusts the list of sources and excluded sources.
1528
-
1529
- Also converts the sets to lists.
1530
-
1531
- Arguments:
1532
- spec: The target dictionary containing the properties of the target.
1533
- options: Global generator options.
1534
- gyp_dir: The path to the gyp file being processed.
1535
- sources: A set of sources to be included for this project.
1536
- excluded_sources: A set of sources to be excluded for this project.
1537
- version: A MSVSVersion object.
1538
- Returns:
1539
- A trio of (list of sources, list of excluded sources,
1540
- path of excluded IDL file)
1541
- """
1542
- # Exclude excluded sources coming into the generator.
1543
- excluded_sources.update(OrderedSet(spec.get("sources_excluded", [])))
1544
- # Add excluded sources into sources for good measure.
1545
- sources.update(excluded_sources)
1546
- # Convert to proper windows form.
1547
- # NOTE: sources goes from being a set to a list here.
1548
- # NOTE: excluded_sources goes from being a set to a list here.
1549
- sources = _FixPaths(sources)
1550
- # Convert to proper windows form.
1551
- excluded_sources = _FixPaths(excluded_sources)
1552
-
1553
- excluded_idl = _IdlFilesHandledNonNatively(spec, sources)
1554
-
1555
- precompiled_related = _GetPrecompileRelatedFiles(spec)
1556
- # Find the excluded ones, minus the precompiled header related ones.
1557
- fully_excluded = [i for i in excluded_sources if i not in precompiled_related]
1558
-
1559
- # Convert to folders and the right slashes.
1560
- sources = [i.split("\\") for i in sources]
1561
- sources = _ConvertSourcesToFilterHierarchy(
1562
- sources,
1563
- excluded=fully_excluded,
1564
- list_excluded=list_excluded,
1565
- msvs_version=version,
1566
- )
1567
-
1568
- # Prune filters with a single child to flatten ugly directory structures
1569
- # such as ../../src/modules/module1 etc.
1570
- if version.UsesVcxproj():
1571
- while (
1572
- all(isinstance(s, MSVSProject.Filter) for s in sources)
1573
- and len({s.name for s in sources}) == 1
1574
- ):
1575
- assert all(len(s.contents) == 1 for s in sources)
1576
- sources = [s.contents[0] for s in sources]
1577
- else:
1578
- while len(sources) == 1 and isinstance(sources[0], MSVSProject.Filter):
1579
- sources = sources[0].contents
1580
-
1581
- return sources, excluded_sources, excluded_idl
1582
-
1583
-
1584
- def _IdlFilesHandledNonNatively(spec, sources):
1585
- # If any non-native rules use 'idl' as an extension exclude idl files.
1586
- # Gather a list here to use later.
1587
- using_idl = False
1588
- for rule in spec.get("rules", []):
1589
- if rule["extension"] == "idl" and int(rule.get("msvs_external_rule", 0)):
1590
- using_idl = True
1591
- break
1592
- excluded_idl = [i for i in sources if i.endswith(".idl")] if using_idl else []
1593
- return excluded_idl
1594
-
1595
-
1596
- def _GetPrecompileRelatedFiles(spec):
1597
- # Gather a list of precompiled header related sources.
1598
- precompiled_related = []
1599
- for _, config in spec["configurations"].items():
1600
- for k in precomp_keys:
1601
- f = config.get(k)
1602
- if f:
1603
- precompiled_related.append(_FixPath(f))
1604
- return precompiled_related
1605
-
1606
-
1607
- def _ExcludeFilesFromBeingBuilt(p, spec, excluded_sources, excluded_idl, list_excluded):
1608
- exclusions = _GetExcludedFilesFromBuild(spec, excluded_sources, excluded_idl)
1609
- for file_name, excluded_configs in exclusions.items():
1610
- if not list_excluded and len(excluded_configs) == len(spec["configurations"]):
1611
- # If we're not listing excluded files, then they won't appear in the
1612
- # project, so don't try to configure them to be excluded.
1613
- pass
1614
- else:
1615
- for config_name, config in excluded_configs:
1616
- p.AddFileConfig(
1617
- file_name,
1618
- _ConfigFullName(config_name, config),
1619
- {"ExcludedFromBuild": "true"},
1620
- )
1621
-
1622
-
1623
- def _GetExcludedFilesFromBuild(spec, excluded_sources, excluded_idl):
1624
- exclusions = {}
1625
- # Exclude excluded sources from being built.
1626
- for f in excluded_sources:
1627
- excluded_configs = []
1628
- for config_name, config in spec["configurations"].items():
1629
- precomped = [_FixPath(config.get(i, "")) for i in precomp_keys]
1630
- # Don't do this for ones that are precompiled header related.
1631
- if f not in precomped:
1632
- excluded_configs.append((config_name, config))
1633
- exclusions[f] = excluded_configs
1634
- # If any non-native rules use 'idl' as an extension exclude idl files.
1635
- # Exclude them now.
1636
- for f in excluded_idl:
1637
- excluded_configs = []
1638
- for config_name, config in spec["configurations"].items():
1639
- excluded_configs.append((config_name, config))
1640
- exclusions[f] = excluded_configs
1641
- return exclusions
1642
-
1643
-
1644
- def _AddToolFilesToMSVS(p, spec):
1645
- # Add in tool files (rules).
1646
- tool_files = OrderedSet()
1647
- for _, config in spec["configurations"].items():
1648
- for f in config.get("msvs_tool_files", []):
1649
- tool_files.add(f)
1650
- for f in tool_files:
1651
- p.AddToolFile(f)
1652
-
1653
-
1654
- def _HandlePreCompiledHeaders(p, sources, spec):
1655
- # Pre-compiled header source stubs need a different compiler flag
1656
- # (generate precompiled header) and any source file not of the same
1657
- # kind (i.e. C vs. C++) as the precompiled header source stub needs
1658
- # to have use of precompiled headers disabled.
1659
- extensions_excluded_from_precompile = []
1660
- for config_name, config in spec["configurations"].items():
1661
- source = config.get("msvs_precompiled_source")
1662
- if source:
1663
- source = _FixPath(source)
1664
- # UsePrecompiledHeader=1 for if using precompiled headers.
1665
- tool = MSVSProject.Tool("VCCLCompilerTool", {"UsePrecompiledHeader": "1"})
1666
- p.AddFileConfig(
1667
- source, _ConfigFullName(config_name, config), {}, tools=[tool]
1668
- )
1669
- _basename, extension = os.path.splitext(source)
1670
- if extension == ".c":
1671
- extensions_excluded_from_precompile = [".cc", ".cpp", ".cxx"]
1672
- else:
1673
- extensions_excluded_from_precompile = [".c"]
1674
-
1675
- def DisableForSourceTree(source_tree):
1676
- for source in source_tree:
1677
- if isinstance(source, MSVSProject.Filter):
1678
- DisableForSourceTree(source.contents)
1679
- else:
1680
- _basename, extension = os.path.splitext(source)
1681
- if extension in extensions_excluded_from_precompile:
1682
- for config_name, config in spec["configurations"].items():
1683
- tool = MSVSProject.Tool(
1684
- "VCCLCompilerTool",
1685
- {
1686
- "UsePrecompiledHeader": "0",
1687
- "ForcedIncludeFiles": "$(NOINHERIT)",
1688
- },
1689
- )
1690
- p.AddFileConfig(
1691
- _FixPath(source),
1692
- _ConfigFullName(config_name, config),
1693
- {},
1694
- tools=[tool],
1695
- )
1696
-
1697
- # Do nothing if there was no precompiled source.
1698
- if extensions_excluded_from_precompile:
1699
- DisableForSourceTree(sources)
1700
-
1701
-
1702
- def _AddActions(actions_to_add, spec, relative_path_of_gyp_file):
1703
- # Add actions.
1704
- actions = spec.get("actions", [])
1705
- # Don't setup_env every time. When all the actions are run together in one
1706
- # batch file in VS, the PATH will grow too long.
1707
- # Membership in this set means that the cygwin environment has been set up,
1708
- # and does not need to be set up again.
1709
- have_setup_env = set()
1710
- for a in actions:
1711
- # Attach actions to the gyp file if nothing else is there.
1712
- inputs = a.get("inputs") or [relative_path_of_gyp_file]
1713
- attached_to = inputs[0]
1714
- need_setup_env = attached_to not in have_setup_env
1715
- cmd = _BuildCommandLineForRule(
1716
- spec, a, has_input_path=False, do_setup_env=need_setup_env
1717
- )
1718
- have_setup_env.add(attached_to)
1719
- # Add the action.
1720
- _AddActionStep(
1721
- actions_to_add,
1722
- inputs=inputs,
1723
- outputs=a.get("outputs", []),
1724
- description=a.get("message", a["action_name"]),
1725
- command=cmd,
1726
- )
1727
-
1728
-
1729
- def _WriteMSVSUserFile(project_path, version, spec):
1730
- # Add run_as and test targets.
1731
- if "run_as" in spec:
1732
- run_as = spec["run_as"]
1733
- action = run_as.get("action", [])
1734
- environment = run_as.get("environment", [])
1735
- working_directory = run_as.get("working_directory", ".")
1736
- elif int(spec.get("test", 0)):
1737
- action = ["$(TargetPath)", "--gtest_print_time"]
1738
- environment = []
1739
- working_directory = "."
1740
- else:
1741
- return # Nothing to add
1742
- # Write out the user file.
1743
- user_file = _CreateMSVSUserFile(project_path, version, spec)
1744
- for config_name, c_data in spec["configurations"].items():
1745
- user_file.AddDebugSettings(
1746
- _ConfigFullName(config_name, c_data), action, environment, working_directory
1747
- )
1748
- user_file.WriteIfChanged()
1749
-
1750
-
1751
- def _AddCopies(actions_to_add, spec):
1752
- copies = _GetCopies(spec)
1753
- for inputs, outputs, cmd, description in copies:
1754
- _AddActionStep(
1755
- actions_to_add,
1756
- inputs=inputs,
1757
- outputs=outputs,
1758
- description=description,
1759
- command=cmd,
1760
- )
1761
-
1762
-
1763
- def _GetCopies(spec):
1764
- copies = []
1765
- # Add copies.
1766
- for cpy in spec.get("copies", []):
1767
- for src in cpy.get("files", []):
1768
- dst = os.path.join(cpy["destination"], os.path.basename(src))
1769
- # _AddCustomBuildToolForMSVS() will call _FixPath() on the inputs and
1770
- # outputs, so do the same for our generated command line.
1771
- if src.endswith("/"):
1772
- src_bare = src[:-1]
1773
- base_dir = posixpath.split(src_bare)[0]
1774
- outer_dir = posixpath.split(src_bare)[1]
1775
- fixed_dst = _FixPath(dst)
1776
- full_dst = f'"{fixed_dst}\\{outer_dir}\\"'
1777
- cmd = (
1778
- f'mkdir {full_dst} 2>nul & cd "{_FixPath(base_dir)}" '
1779
- f'&& xcopy /e /f /y "{outer_dir}" {full_dst}'
1780
- )
1781
- copies.append(
1782
- (
1783
- [src],
1784
- ["dummy_copies", dst],
1785
- cmd,
1786
- f"Copying {src} to {fixed_dst}",
1787
- )
1788
- )
1789
- else:
1790
- fix_dst = _FixPath(cpy["destination"])
1791
- cmd = (
1792
- f'mkdir "{fix_dst}" 2>nul & set ERRORLEVEL=0 & '
1793
- f'copy /Y "{_FixPath(src)}" "{_FixPath(dst)}"'
1794
- )
1795
- copies.append(([src], [dst], cmd, f"Copying {src} to {fix_dst}"))
1796
- return copies
1797
-
1798
-
1799
- def _GetPathDict(root, path):
1800
- # |path| will eventually be empty (in the recursive calls) if it was initially
1801
- # relative; otherwise it will eventually end up as '\', 'D:\', etc.
1802
- if not path or path.endswith(os.sep):
1803
- return root
1804
- parent, folder = os.path.split(path)
1805
- parent_dict = _GetPathDict(root, parent)
1806
- if folder not in parent_dict:
1807
- parent_dict[folder] = {}
1808
- return parent_dict[folder]
1809
-
1810
-
1811
- def _DictsToFolders(base_path, bucket, flat):
1812
- # Convert to folders recursively.
1813
- children = []
1814
- for folder, contents in bucket.items():
1815
- if isinstance(contents, dict):
1816
- folder_children = _DictsToFolders(
1817
- os.path.join(base_path, folder), contents, flat
1818
- )
1819
- if flat:
1820
- children += folder_children
1821
- else:
1822
- folder_children = MSVSNew.MSVSFolder(
1823
- os.path.join(base_path, folder),
1824
- name="(" + folder + ")",
1825
- entries=folder_children,
1826
- )
1827
- children.append(folder_children)
1828
- else:
1829
- children.append(contents)
1830
- return children
1831
-
1832
-
1833
- def _CollapseSingles(parent, node):
1834
- # Recursively explorer the tree of dicts looking for projects which are
1835
- # the sole item in a folder which has the same name as the project. Bring
1836
- # such projects up one level.
1837
- if (
1838
- isinstance(node, dict)
1839
- and len(node) == 1
1840
- and next(iter(node)) == parent + ".vcproj"
1841
- ):
1842
- return node[next(iter(node))]
1843
- if not isinstance(node, dict):
1844
- return node
1845
- for child in node:
1846
- node[child] = _CollapseSingles(child, node[child])
1847
- return node
1848
-
1849
-
1850
- def _GatherSolutionFolders(sln_projects, project_objects, flat):
1851
- root = {}
1852
- # Convert into a tree of dicts on path.
1853
- for p in sln_projects:
1854
- gyp_file, target = gyp.common.ParseQualifiedTarget(p)[0:2]
1855
- if p.endswith("#host"):
1856
- target += "_host"
1857
- gyp_dir = os.path.dirname(gyp_file)
1858
- path_dict = _GetPathDict(root, gyp_dir)
1859
- path_dict[target + ".vcproj"] = project_objects[p]
1860
- # Walk down from the top until we hit a folder that has more than one entry.
1861
- # In practice, this strips the top-level "src/" dir from the hierarchy in
1862
- # the solution.
1863
- while len(root) == 1 and isinstance(root[next(iter(root))], dict):
1864
- root = root[next(iter(root))]
1865
- # Collapse singles.
1866
- root = _CollapseSingles("", root)
1867
- # Merge buckets until everything is a root entry.
1868
- return _DictsToFolders("", root, flat)
1869
-
1870
-
1871
- def _GetPathOfProject(qualified_target, spec, options, msvs_version):
1872
- default_config = _GetDefaultConfiguration(spec)
1873
- proj_filename = default_config.get("msvs_existing_vcproj")
1874
- if not proj_filename:
1875
- proj_filename = spec["target_name"]
1876
- if spec["toolset"] == "host":
1877
- proj_filename += "_host"
1878
- proj_filename = proj_filename + options.suffix + msvs_version.ProjectExtension()
1879
-
1880
- build_file = gyp.common.BuildFile(qualified_target)
1881
- proj_path = os.path.join(os.path.dirname(build_file), proj_filename)
1882
- fix_prefix = None
1883
- if options.generator_output:
1884
- project_dir_path = os.path.dirname(os.path.abspath(proj_path))
1885
- proj_path = os.path.join(options.generator_output, proj_path)
1886
- fix_prefix = gyp.common.RelativePath(
1887
- project_dir_path, os.path.dirname(proj_path)
1888
- )
1889
- return proj_path, fix_prefix
1890
-
1891
-
1892
- def _GetPlatformOverridesOfProject(spec):
1893
- # Prepare a dict indicating which project configurations are used for which
1894
- # solution configurations for this target.
1895
- config_platform_overrides = {}
1896
- for config_name, c in spec["configurations"].items():
1897
- config_fullname = _ConfigFullName(config_name, c)
1898
- platform = c.get("msvs_target_platform", _ConfigPlatform(c))
1899
- base_name = _ConfigBaseName(config_name, _ConfigPlatform(c))
1900
- fixed_config_fullname = f"{base_name}|{platform}"
1901
- if spec["toolset"] == "host" and generator_supports_multiple_toolsets:
1902
- fixed_config_fullname = f"{config_name}|x64"
1903
- config_platform_overrides[config_fullname] = fixed_config_fullname
1904
- return config_platform_overrides
1905
-
1906
-
1907
- def _CreateProjectObjects(target_list, target_dicts, options, msvs_version):
1908
- """Create a MSVSProject object for the targets found in target list.
1909
-
1910
- Arguments:
1911
- target_list: the list of targets to generate project objects for.
1912
- target_dicts: the dictionary of specifications.
1913
- options: global generator options.
1914
- msvs_version: the MSVSVersion object.
1915
- Returns:
1916
- A set of created projects, keyed by target.
1917
- """
1918
- global fixpath_prefix
1919
- # Generate each project.
1920
- projects = {}
1921
- for qualified_target in target_list:
1922
- spec = target_dicts[qualified_target]
1923
- proj_path, fixpath_prefix = _GetPathOfProject(
1924
- qualified_target, spec, options, msvs_version
1925
- )
1926
- guid = _GetGuidOfProject(proj_path, spec)
1927
- overrides = _GetPlatformOverridesOfProject(spec)
1928
- build_file = gyp.common.BuildFile(qualified_target)
1929
- # Create object for this project.
1930
- target_name = spec["target_name"]
1931
- if spec["toolset"] == "host":
1932
- target_name += "_host"
1933
- obj = MSVSNew.MSVSProject(
1934
- proj_path,
1935
- name=target_name,
1936
- guid=guid,
1937
- spec=spec,
1938
- build_file=build_file,
1939
- config_platform_overrides=overrides,
1940
- fixpath_prefix=fixpath_prefix,
1941
- )
1942
- # Set project toolset if any (MS build only)
1943
- if msvs_version.UsesVcxproj():
1944
- obj.set_msbuild_toolset(
1945
- _GetMsbuildToolsetOfProject(proj_path, spec, msvs_version)
1946
- )
1947
- projects[qualified_target] = obj
1948
- # Set all the dependencies, but not if we are using an external builder like
1949
- # ninja
1950
- for project in projects.values():
1951
- if not project.spec.get("msvs_external_builder"):
1952
- deps = project.spec.get("dependencies", [])
1953
- deps = [projects[d] for d in deps]
1954
- project.set_dependencies(deps)
1955
- return projects
1956
-
1957
-
1958
- def _InitNinjaFlavor(params, target_list, target_dicts):
1959
- """Initialize targets for the ninja flavor.
1960
-
1961
- This sets up the necessary variables in the targets to generate msvs projects
1962
- that use ninja as an external builder. The variables in the spec are only set
1963
- if they have not been set. This allows individual specs to override the
1964
- default values initialized here.
1965
- Arguments:
1966
- params: Params provided to the generator.
1967
- target_list: List of target pairs: 'base/base.gyp:base'.
1968
- target_dicts: Dict of target properties keyed on target pair.
1969
- """
1970
- for qualified_target in target_list:
1971
- spec = target_dicts[qualified_target]
1972
- if spec.get("msvs_external_builder"):
1973
- # The spec explicitly defined an external builder, so don't change it.
1974
- continue
1975
-
1976
- path_to_ninja = spec.get("msvs_path_to_ninja", "ninja.exe")
1977
-
1978
- spec["msvs_external_builder"] = "ninja"
1979
- if not spec.get("msvs_external_builder_out_dir"):
1980
- gyp_file, _, _ = gyp.common.ParseQualifiedTarget(qualified_target)
1981
- gyp_dir = os.path.dirname(gyp_file)
1982
- configuration = "$(Configuration)"
1983
- if params.get("target_arch") == "x64":
1984
- configuration += "_x64"
1985
- if params.get("target_arch") == "arm64":
1986
- configuration += "_arm64"
1987
- spec["msvs_external_builder_out_dir"] = os.path.join(
1988
- gyp.common.RelativePath(params["options"].toplevel_dir, gyp_dir),
1989
- ninja_generator.ComputeOutputDir(params),
1990
- configuration,
1991
- )
1992
- if not spec.get("msvs_external_builder_build_cmd"):
1993
- spec["msvs_external_builder_build_cmd"] = [
1994
- path_to_ninja,
1995
- "-C",
1996
- "$(OutDir)",
1997
- "$(ProjectName)",
1998
- ]
1999
- if not spec.get("msvs_external_builder_clean_cmd"):
2000
- spec["msvs_external_builder_clean_cmd"] = [
2001
- path_to_ninja,
2002
- "-C",
2003
- "$(OutDir)",
2004
- "-tclean",
2005
- "$(ProjectName)",
2006
- ]
2007
-
2008
-
2009
- def CalculateVariables(default_variables, params):
2010
- """Generated variables that require params to be known."""
2011
-
2012
- generator_flags = params.get("generator_flags", {})
2013
-
2014
- # Select project file format version (if unset, default to auto detecting).
2015
- msvs_version = MSVSVersion.SelectVisualStudioVersion(
2016
- generator_flags.get("msvs_version", "auto")
2017
- )
2018
- # Stash msvs_version for later (so we don't have to probe the system twice).
2019
- params["msvs_version"] = msvs_version
2020
-
2021
- # Set a variable so conditions can be based on msvs_version.
2022
- default_variables["MSVS_VERSION"] = msvs_version.ShortName()
2023
-
2024
- # To determine processor word size on Windows, in addition to checking
2025
- # PROCESSOR_ARCHITECTURE (which reflects the word size of the current
2026
- # process), it is also necessary to check PROCESSOR_ARCITEW6432 (which
2027
- # contains the actual word size of the system when running thru WOW64).
2028
- if (
2029
- os.environ.get("PROCESSOR_ARCHITECTURE", "").find("64") >= 0
2030
- or os.environ.get("PROCESSOR_ARCHITEW6432", "").find("64") >= 0
2031
- ):
2032
- default_variables["MSVS_OS_BITS"] = 64
2033
- else:
2034
- default_variables["MSVS_OS_BITS"] = 32
2035
-
2036
- if gyp.common.GetFlavor(params) == "ninja":
2037
- default_variables["SHARED_INTERMEDIATE_DIR"] = "$(OutDir)gen"
2038
-
2039
-
2040
- def PerformBuild(data, configurations, params):
2041
- options = params["options"]
2042
- msvs_version = params["msvs_version"]
2043
- devenv = os.path.join(msvs_version.path, "Common7", "IDE", "devenv.com")
2044
-
2045
- for build_file, build_file_dict in data.items():
2046
- (build_file_root, build_file_ext) = os.path.splitext(build_file)
2047
- if build_file_ext != ".gyp":
2048
- continue
2049
- sln_path = build_file_root + options.suffix + ".sln"
2050
- if options.generator_output:
2051
- sln_path = os.path.join(options.generator_output, sln_path)
2052
-
2053
- for config in configurations:
2054
- arguments = [devenv, sln_path, "/Build", config]
2055
- print(f"Building [{config}]: {arguments}")
2056
- subprocess.check_call(arguments)
2057
-
2058
-
2059
- def CalculateGeneratorInputInfo(params):
2060
- if params.get("flavor") == "ninja":
2061
- toplevel = params["options"].toplevel_dir
2062
- qualified_out_dir = os.path.normpath(
2063
- os.path.join(
2064
- toplevel,
2065
- ninja_generator.ComputeOutputDir(params),
2066
- "gypfiles-msvs-ninja",
2067
- )
2068
- )
2069
-
2070
- global generator_filelist_paths
2071
- generator_filelist_paths = {
2072
- "toplevel": toplevel,
2073
- "qualified_out_dir": qualified_out_dir,
2074
- }
2075
-
2076
-
2077
- def GenerateOutput(target_list, target_dicts, data, params):
2078
- """Generate .sln and .vcproj files.
2079
-
2080
- This is the entry point for this generator.
2081
- Arguments:
2082
- target_list: List of target pairs: 'base/base.gyp:base'.
2083
- target_dicts: Dict of target properties keyed on target pair.
2084
- data: Dictionary containing per .gyp data.
2085
- """
2086
- global fixpath_prefix
2087
-
2088
- options = params["options"]
2089
-
2090
- # Get the project file format version back out of where we stashed it in
2091
- # GeneratorCalculatedVariables.
2092
- msvs_version = params["msvs_version"]
2093
-
2094
- generator_flags = params.get("generator_flags", {})
2095
-
2096
- # Optionally shard targets marked with 'msvs_shard': SHARD_COUNT.
2097
- (target_list, target_dicts) = MSVSUtil.ShardTargets(target_list, target_dicts)
2098
-
2099
- # Optionally use the large PDB workaround for targets marked with
2100
- # 'msvs_large_pdb': 1.
2101
- (target_list, target_dicts) = MSVSUtil.InsertLargePdbShims(
2102
- target_list, target_dicts, generator_default_variables
2103
- )
2104
-
2105
- # Optionally configure each spec to use ninja as the external builder.
2106
- if params.get("flavor") == "ninja":
2107
- _InitNinjaFlavor(params, target_list, target_dicts)
2108
-
2109
- # Prepare the set of configurations.
2110
- configs = set()
2111
- for qualified_target in target_list:
2112
- spec = target_dicts[qualified_target]
2113
- for config_name, config in spec["configurations"].items():
2114
- config_name = _ConfigFullName(config_name, config)
2115
- configs.add(config_name)
2116
- if config_name == "Release|arm64":
2117
- configs.add("Release|x64")
2118
- configs = list(configs)
2119
-
2120
- # Figure out all the projects that will be generated and their guids
2121
- project_objects = _CreateProjectObjects(
2122
- target_list, target_dicts, options, msvs_version
2123
- )
2124
-
2125
- # Generate each project.
2126
- missing_sources = []
2127
- for project in project_objects.values():
2128
- fixpath_prefix = project.fixpath_prefix
2129
- missing_sources.extend(
2130
- _GenerateProject(project, options, msvs_version, generator_flags, spec)
2131
- )
2132
- fixpath_prefix = None
2133
-
2134
- for build_file in data:
2135
- # Validate build_file extension
2136
- target_only_configs = configs
2137
- if generator_supports_multiple_toolsets:
2138
- target_only_configs = [i for i in configs if i.endswith("arm64")]
2139
- if not build_file.endswith(".gyp"):
2140
- continue
2141
- sln_path = os.path.splitext(build_file)[0] + options.suffix + ".sln"
2142
- if options.generator_output:
2143
- sln_path = os.path.join(options.generator_output, sln_path)
2144
- # Get projects in the solution, and their dependents.
2145
- sln_projects = gyp.common.BuildFileTargets(target_list, build_file)
2146
- sln_projects += gyp.common.DeepDependencyTargets(target_dicts, sln_projects)
2147
- # Create folder hierarchy.
2148
- root_entries = _GatherSolutionFolders(
2149
- sln_projects, project_objects, flat=msvs_version.FlatSolution()
2150
- )
2151
- # Create solution.
2152
- sln = MSVSNew.MSVSSolution(
2153
- sln_path,
2154
- entries=root_entries,
2155
- variants=target_only_configs,
2156
- websiteProperties=False,
2157
- version=msvs_version,
2158
- )
2159
- sln.Write()
2160
-
2161
- if missing_sources:
2162
- error_message = "Missing input files:\n" + "\n".join(set(missing_sources))
2163
- if generator_flags.get("msvs_error_on_missing_sources", False):
2164
- raise GypError(error_message)
2165
- else:
2166
- print("Warning: " + error_message, file=sys.stdout)
2167
-
2168
-
2169
- def _GenerateMSBuildFiltersFile(
2170
- filters_path,
2171
- source_files,
2172
- rule_dependencies,
2173
- extension_to_rule_name,
2174
- platforms,
2175
- toolset,
2176
- ):
2177
- """Generate the filters file.
2178
-
2179
- This file is used by Visual Studio to organize the presentation of source
2180
- files into folders.
2181
-
2182
- Arguments:
2183
- filters_path: The path of the file to be created.
2184
- source_files: The hierarchical structure of all the sources.
2185
- extension_to_rule_name: A dictionary mapping file extensions to rules.
2186
- """
2187
- filter_group = []
2188
- source_group = []
2189
- _AppendFiltersForMSBuild(
2190
- "",
2191
- source_files,
2192
- rule_dependencies,
2193
- extension_to_rule_name,
2194
- platforms,
2195
- toolset,
2196
- filter_group,
2197
- source_group,
2198
- )
2199
- if filter_group:
2200
- content = [
2201
- "Project",
2202
- {
2203
- "ToolsVersion": "4.0",
2204
- "xmlns": "http://schemas.microsoft.com/developer/msbuild/2003",
2205
- },
2206
- ["ItemGroup"] + filter_group,
2207
- ["ItemGroup"] + source_group,
2208
- ]
2209
- easy_xml.WriteXmlIfChanged(content, filters_path, pretty=True, win32=True)
2210
- elif os.path.exists(filters_path):
2211
- # We don't need this filter anymore. Delete the old filter file.
2212
- os.unlink(filters_path)
2213
-
2214
-
2215
- def _AppendFiltersForMSBuild(
2216
- parent_filter_name,
2217
- sources,
2218
- rule_dependencies,
2219
- extension_to_rule_name,
2220
- platforms,
2221
- toolset,
2222
- filter_group,
2223
- source_group,
2224
- ):
2225
- """Creates the list of filters and sources to be added in the filter file.
2226
-
2227
- Args:
2228
- parent_filter_name: The name of the filter under which the sources are
2229
- found.
2230
- sources: The hierarchy of filters and sources to process.
2231
- extension_to_rule_name: A dictionary mapping file extensions to rules.
2232
- filter_group: The list to which filter entries will be appended.
2233
- source_group: The list to which source entries will be appended.
2234
- """
2235
- for source in sources:
2236
- if isinstance(source, MSVSProject.Filter):
2237
- # We have a sub-filter. Create the name of that sub-filter.
2238
- if not parent_filter_name:
2239
- filter_name = source.name
2240
- else:
2241
- filter_name = f"{parent_filter_name}\\{source.name}"
2242
- # Add the filter to the group.
2243
- filter_group.append(
2244
- [
2245
- "Filter",
2246
- {"Include": filter_name},
2247
- ["UniqueIdentifier", MSVSNew.MakeGuid(source.name)],
2248
- ]
2249
- )
2250
- # Recurse and add its dependents.
2251
- _AppendFiltersForMSBuild(
2252
- filter_name,
2253
- source.contents,
2254
- rule_dependencies,
2255
- extension_to_rule_name,
2256
- platforms,
2257
- toolset,
2258
- filter_group,
2259
- source_group,
2260
- )
2261
- else:
2262
- # It's a source. Create a source entry.
2263
- _, element = _MapFileToMsBuildSourceType(
2264
- source, rule_dependencies, extension_to_rule_name, platforms, toolset
2265
- )
2266
- source_entry = [element, {"Include": source}]
2267
- # Specify the filter it is part of, if any.
2268
- if parent_filter_name:
2269
- source_entry.append(["Filter", parent_filter_name])
2270
- source_group.append(source_entry)
2271
-
2272
-
2273
- def _MapFileToMsBuildSourceType(
2274
- source, rule_dependencies, extension_to_rule_name, platforms, toolset
2275
- ):
2276
- """Returns the group and element type of the source file.
2277
-
2278
- Arguments:
2279
- source: The source file name.
2280
- extension_to_rule_name: A dictionary mapping file extensions to rules.
2281
-
2282
- Returns:
2283
- A pair of (group this file should be part of, the label of element)
2284
- """
2285
- _, ext = os.path.splitext(source)
2286
- ext = ext.lower()
2287
- if ext in extension_to_rule_name:
2288
- group = "rule"
2289
- element = extension_to_rule_name[ext]
2290
- elif ext in [".cc", ".cpp", ".c", ".cxx", ".mm"]:
2291
- group = "compile"
2292
- element = "ClCompile"
2293
- elif ext in [".h", ".hxx"]:
2294
- group = "include"
2295
- element = "ClInclude"
2296
- elif ext == ".rc":
2297
- group = "resource"
2298
- element = "ResourceCompile"
2299
- elif ext in [".s", ".asm"]:
2300
- group = "masm"
2301
- element = "MASM"
2302
- if "arm64" in platforms and toolset == "target":
2303
- element = "MARMASM"
2304
- elif ext == ".idl":
2305
- group = "midl"
2306
- element = "Midl"
2307
- elif source in rule_dependencies:
2308
- group = "rule_dependency"
2309
- element = "CustomBuild"
2310
- else:
2311
- group = "none"
2312
- element = "None"
2313
- return (group, element)
2314
-
2315
-
2316
- def _GenerateRulesForMSBuild(
2317
- output_dir,
2318
- options,
2319
- spec,
2320
- sources,
2321
- excluded_sources,
2322
- props_files_of_rules,
2323
- targets_files_of_rules,
2324
- actions_to_add,
2325
- rule_dependencies,
2326
- extension_to_rule_name,
2327
- ):
2328
- # MSBuild rules are implemented using three files: an XML file, a .targets
2329
- # file and a .props file.
2330
- # For more details see:
2331
- # https://devblogs.microsoft.com/cppblog/quick-help-on-vs2010-custom-build-rule/
2332
- rules = spec.get("rules", [])
2333
- rules_native = [r for r in rules if not int(r.get("msvs_external_rule", 0))]
2334
- rules_external = [r for r in rules if int(r.get("msvs_external_rule", 0))]
2335
-
2336
- msbuild_rules = []
2337
- for rule in rules_native:
2338
- # Skip a rule with no action and no inputs.
2339
- if "action" not in rule and not rule.get("rule_sources", []):
2340
- continue
2341
- msbuild_rule = MSBuildRule(rule, spec)
2342
- msbuild_rules.append(msbuild_rule)
2343
- rule_dependencies.update(msbuild_rule.additional_dependencies.split(";"))
2344
- extension_to_rule_name[msbuild_rule.extension] = msbuild_rule.rule_name
2345
- if msbuild_rules:
2346
- base = spec["target_name"] + options.suffix
2347
- props_name = base + ".props"
2348
- targets_name = base + ".targets"
2349
- xml_name = base + ".xml"
2350
-
2351
- props_files_of_rules.add(props_name)
2352
- targets_files_of_rules.add(targets_name)
2353
-
2354
- props_path = os.path.join(output_dir, props_name)
2355
- targets_path = os.path.join(output_dir, targets_name)
2356
- xml_path = os.path.join(output_dir, xml_name)
2357
-
2358
- _GenerateMSBuildRulePropsFile(props_path, msbuild_rules)
2359
- _GenerateMSBuildRuleTargetsFile(targets_path, msbuild_rules)
2360
- _GenerateMSBuildRuleXmlFile(xml_path, msbuild_rules)
2361
-
2362
- if rules_external:
2363
- _GenerateExternalRules(
2364
- rules_external, output_dir, spec, sources, options, actions_to_add
2365
- )
2366
- _AdjustSourcesForRules(rules, sources, excluded_sources, True)
2367
-
2368
-
2369
- class MSBuildRule:
2370
- """Used to store information used to generate an MSBuild rule.
2371
-
2372
- Attributes:
2373
- rule_name: The rule name, sanitized to use in XML.
2374
- target_name: The name of the target.
2375
- after_targets: The name of the AfterTargets element.
2376
- before_targets: The name of the BeforeTargets element.
2377
- depends_on: The name of the DependsOn element.
2378
- compute_output: The name of the ComputeOutput element.
2379
- dirs_to_make: The name of the DirsToMake element.
2380
- inputs: The name of the _inputs element.
2381
- tlog: The name of the _tlog element.
2382
- extension: The extension this rule applies to.
2383
- description: The message displayed when this rule is invoked.
2384
- additional_dependencies: A string listing additional dependencies.
2385
- outputs: The outputs of this rule.
2386
- command: The command used to run the rule.
2387
- """
2388
-
2389
- def __init__(self, rule, spec):
2390
- self.display_name = rule["rule_name"]
2391
- # Assure that the rule name is only characters and numbers
2392
- self.rule_name = re.sub(r"\W", "_", self.display_name)
2393
- # Create the various element names, following the example set by the
2394
- # Visual Studio 2008 to 2010 conversion. I don't know if VS2010
2395
- # is sensitive to the exact names.
2396
- self.target_name = "_" + self.rule_name
2397
- self.after_targets = self.rule_name + "AfterTargets"
2398
- self.before_targets = self.rule_name + "BeforeTargets"
2399
- self.depends_on = self.rule_name + "DependsOn"
2400
- self.compute_output = "Compute%sOutput" % self.rule_name
2401
- self.dirs_to_make = self.rule_name + "DirsToMake"
2402
- self.inputs = self.rule_name + "_inputs"
2403
- self.tlog = self.rule_name + "_tlog"
2404
- self.extension = rule["extension"]
2405
- if not self.extension.startswith("."):
2406
- self.extension = "." + self.extension
2407
-
2408
- self.description = MSVSSettings.ConvertVCMacrosToMSBuild(
2409
- rule.get("message", self.rule_name)
2410
- )
2411
- old_additional_dependencies = _FixPaths(rule.get("inputs", []))
2412
- self.additional_dependencies = ";".join(
2413
- [
2414
- MSVSSettings.ConvertVCMacrosToMSBuild(i)
2415
- for i in old_additional_dependencies
2416
- ]
2417
- )
2418
- old_outputs = _FixPaths(rule.get("outputs", []))
2419
- self.outputs = ";".join(
2420
- [MSVSSettings.ConvertVCMacrosToMSBuild(i) for i in old_outputs]
2421
- )
2422
- old_command = _BuildCommandLineForRule(
2423
- spec, rule, has_input_path=True, do_setup_env=True
2424
- )
2425
- self.command = MSVSSettings.ConvertVCMacrosToMSBuild(old_command)
2426
-
2427
-
2428
- def _GenerateMSBuildRulePropsFile(props_path, msbuild_rules):
2429
- """Generate the .props file."""
2430
- content = [
2431
- "Project",
2432
- {"xmlns": "http://schemas.microsoft.com/developer/msbuild/2003"},
2433
- ]
2434
- for rule in msbuild_rules:
2435
- content.extend(
2436
- [
2437
- [
2438
- "PropertyGroup",
2439
- {
2440
- "Condition": "'$(%s)' == '' and '$(%s)' == '' and "
2441
- "'$(ConfigurationType)' != 'Makefile'"
2442
- % (rule.before_targets, rule.after_targets)
2443
- },
2444
- [rule.before_targets, "Midl"],
2445
- [rule.after_targets, "CustomBuild"],
2446
- ],
2447
- [
2448
- "PropertyGroup",
2449
- [
2450
- rule.depends_on,
2451
- {"Condition": "'$(ConfigurationType)' != 'Makefile'"},
2452
- "_SelectedFiles;$(%s)" % rule.depends_on,
2453
- ],
2454
- ],
2455
- [
2456
- "ItemDefinitionGroup",
2457
- [
2458
- rule.rule_name,
2459
- ["CommandLineTemplate", rule.command],
2460
- ["Outputs", rule.outputs],
2461
- ["ExecutionDescription", rule.description],
2462
- ["AdditionalDependencies", rule.additional_dependencies],
2463
- ],
2464
- ],
2465
- ]
2466
- )
2467
- easy_xml.WriteXmlIfChanged(content, props_path, pretty=True, win32=True)
2468
-
2469
-
2470
- def _GenerateMSBuildRuleTargetsFile(targets_path, msbuild_rules):
2471
- """Generate the .targets file."""
2472
- content = [
2473
- "Project",
2474
- {"xmlns": "http://schemas.microsoft.com/developer/msbuild/2003"},
2475
- ]
2476
- item_group = [
2477
- "ItemGroup",
2478
- [
2479
- "PropertyPageSchema",
2480
- {"Include": "$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml"},
2481
- ],
2482
- ]
2483
- for rule in msbuild_rules:
2484
- item_group.append(
2485
- [
2486
- "AvailableItemName",
2487
- {"Include": rule.rule_name},
2488
- ["Targets", rule.target_name],
2489
- ]
2490
- )
2491
- content.append(item_group)
2492
-
2493
- for rule in msbuild_rules:
2494
- content.append(
2495
- [
2496
- "UsingTask",
2497
- {
2498
- "TaskName": rule.rule_name,
2499
- "TaskFactory": "XamlTaskFactory",
2500
- "AssemblyName": "Microsoft.Build.Tasks.v4.0",
2501
- },
2502
- ["Task", "$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml"],
2503
- ]
2504
- )
2505
- for rule in msbuild_rules:
2506
- rule_name = rule.rule_name
2507
- target_outputs = "%%(%s.Outputs)" % rule_name
2508
- target_inputs = (
2509
- "%%(%s.Identity);%%(%s.AdditionalDependencies);$(MSBuildProjectFile)"
2510
- ) % (rule_name, rule_name)
2511
- rule_inputs = "%%(%s.Identity)" % rule_name
2512
- extension_condition = (
2513
- "'%(Extension)'=='.obj' or "
2514
- "'%(Extension)'=='.res' or "
2515
- "'%(Extension)'=='.rsc' or "
2516
- "'%(Extension)'=='.lib'"
2517
- )
2518
- remove_section = [
2519
- "ItemGroup",
2520
- {"Condition": "'@(SelectedFiles)' != ''"},
2521
- [
2522
- rule_name,
2523
- {
2524
- "Remove": "@(%s)" % rule_name,
2525
- "Condition": "'%(Identity)' != '@(SelectedFiles)'",
2526
- },
2527
- ],
2528
- ]
2529
- inputs_section = [
2530
- "ItemGroup",
2531
- [rule.inputs, {"Include": "%%(%s.AdditionalDependencies)" % rule_name}],
2532
- ]
2533
- logging_section = [
2534
- "ItemGroup",
2535
- [
2536
- rule.tlog,
2537
- {
2538
- "Include": "%%(%s.Outputs)" % rule_name,
2539
- "Condition": (
2540
- "'%%(%s.Outputs)' != '' and "
2541
- "'%%(%s.ExcludedFromBuild)' != 'true'" % (rule_name, rule_name)
2542
- ),
2543
- },
2544
- ["Source", "@(%s, '|')" % rule_name],
2545
- ["Inputs", "@(%s -> '%%(Fullpath)', ';')" % rule.inputs],
2546
- ],
2547
- ]
2548
- message_section = [
2549
- "Message",
2550
- {"Importance": "High", "Text": "%%(%s.ExecutionDescription)" % rule_name},
2551
- ]
2552
- write_tlog_section = [
2553
- "WriteLinesToFile",
2554
- {
2555
- "Condition": "'@(%s)' != '' and '%%(%s.ExcludedFromBuild)' != "
2556
- "'true'" % (rule.tlog, rule.tlog),
2557
- "File": "$(IntDir)$(ProjectName).write.1.tlog",
2558
- "Lines": "^%%(%s.Source);@(%s->'%%(Fullpath)')"
2559
- % (rule.tlog, rule.tlog),
2560
- },
2561
- ]
2562
- read_tlog_section = [
2563
- "WriteLinesToFile",
2564
- {
2565
- "Condition": "'@(%s)' != '' and '%%(%s.ExcludedFromBuild)' != "
2566
- "'true'" % (rule.tlog, rule.tlog),
2567
- "File": "$(IntDir)$(ProjectName).read.1.tlog",
2568
- "Lines": f"^%({rule.tlog}.Source);%({rule.tlog}.Inputs)",
2569
- },
2570
- ]
2571
- command_and_input_section = [
2572
- rule_name,
2573
- {
2574
- "Condition": "'@(%s)' != '' and '%%(%s.ExcludedFromBuild)' != "
2575
- "'true'" % (rule_name, rule_name),
2576
- "EchoOff": "true",
2577
- "StandardOutputImportance": "High",
2578
- "StandardErrorImportance": "High",
2579
- "CommandLineTemplate": "%%(%s.CommandLineTemplate)" % rule_name,
2580
- "AdditionalOptions": "%%(%s.AdditionalOptions)" % rule_name,
2581
- "Inputs": rule_inputs,
2582
- },
2583
- ]
2584
- content.extend(
2585
- [
2586
- [
2587
- "Target",
2588
- {
2589
- "Name": rule.target_name,
2590
- "BeforeTargets": "$(%s)" % rule.before_targets,
2591
- "AfterTargets": "$(%s)" % rule.after_targets,
2592
- "Condition": "'@(%s)' != ''" % rule_name,
2593
- "DependsOnTargets": "$(%s);%s"
2594
- % (rule.depends_on, rule.compute_output),
2595
- "Outputs": target_outputs,
2596
- "Inputs": target_inputs,
2597
- },
2598
- remove_section,
2599
- inputs_section,
2600
- logging_section,
2601
- message_section,
2602
- write_tlog_section,
2603
- read_tlog_section,
2604
- command_and_input_section,
2605
- ],
2606
- [
2607
- "PropertyGroup",
2608
- [
2609
- "ComputeLinkInputsTargets",
2610
- "$(ComputeLinkInputsTargets);",
2611
- "%s;" % rule.compute_output,
2612
- ],
2613
- [
2614
- "ComputeLibInputsTargets",
2615
- "$(ComputeLibInputsTargets);",
2616
- "%s;" % rule.compute_output,
2617
- ],
2618
- ],
2619
- [
2620
- "Target",
2621
- {
2622
- "Name": rule.compute_output,
2623
- "Condition": "'@(%s)' != ''" % rule_name,
2624
- },
2625
- [
2626
- "ItemGroup",
2627
- [
2628
- rule.dirs_to_make,
2629
- {
2630
- "Condition": "'@(%s)' != '' and "
2631
- "'%%(%s.ExcludedFromBuild)' != 'true'"
2632
- % (rule_name, rule_name),
2633
- "Include": "%%(%s.Outputs)" % rule_name,
2634
- },
2635
- ],
2636
- [
2637
- "Link",
2638
- {
2639
- "Include": "%%(%s.Identity)" % rule.dirs_to_make,
2640
- "Condition": extension_condition,
2641
- },
2642
- ],
2643
- [
2644
- "Lib",
2645
- {
2646
- "Include": "%%(%s.Identity)" % rule.dirs_to_make,
2647
- "Condition": extension_condition,
2648
- },
2649
- ],
2650
- [
2651
- "ImpLib",
2652
- {
2653
- "Include": "%%(%s.Identity)" % rule.dirs_to_make,
2654
- "Condition": extension_condition,
2655
- },
2656
- ],
2657
- ],
2658
- [
2659
- "MakeDir",
2660
- {
2661
- "Directories": (
2662
- "@(%s->'%%(RootDir)%%(Directory)')" % rule.dirs_to_make
2663
- )
2664
- },
2665
- ],
2666
- ],
2667
- ]
2668
- )
2669
- easy_xml.WriteXmlIfChanged(content, targets_path, pretty=True, win32=True)
2670
-
2671
-
2672
- def _GenerateMSBuildRuleXmlFile(xml_path, msbuild_rules):
2673
- # Generate the .xml file
2674
- content = [
2675
- "ProjectSchemaDefinitions",
2676
- {
2677
- "xmlns": (
2678
- "clr-namespace:Microsoft.Build.Framework.XamlTypes;"
2679
- "assembly=Microsoft.Build.Framework"
2680
- ),
2681
- "xmlns:x": "http://schemas.microsoft.com/winfx/2006/xaml",
2682
- "xmlns:sys": "clr-namespace:System;assembly=mscorlib",
2683
- "xmlns:transformCallback": "Microsoft.Cpp.Dev10.ConvertPropertyCallback",
2684
- },
2685
- ]
2686
- for rule in msbuild_rules:
2687
- content.extend(
2688
- [
2689
- [
2690
- "Rule",
2691
- {
2692
- "Name": rule.rule_name,
2693
- "PageTemplate": "tool",
2694
- "DisplayName": rule.display_name,
2695
- "Order": "200",
2696
- },
2697
- [
2698
- "Rule.DataSource",
2699
- [
2700
- "DataSource",
2701
- {"Persistence": "ProjectFile", "ItemType": rule.rule_name},
2702
- ],
2703
- ],
2704
- [
2705
- "Rule.Categories",
2706
- [
2707
- "Category",
2708
- {"Name": "General"},
2709
- ["Category.DisplayName", ["sys:String", "General"]],
2710
- ],
2711
- [
2712
- "Category",
2713
- {"Name": "Command Line", "Subtype": "CommandLine"},
2714
- ["Category.DisplayName", ["sys:String", "Command Line"]],
2715
- ],
2716
- ],
2717
- [
2718
- "StringListProperty",
2719
- {
2720
- "Name": "Inputs",
2721
- "Category": "Command Line",
2722
- "IsRequired": "true",
2723
- "Switch": " ",
2724
- },
2725
- [
2726
- "StringListProperty.DataSource",
2727
- [
2728
- "DataSource",
2729
- {
2730
- "Persistence": "ProjectFile",
2731
- "ItemType": rule.rule_name,
2732
- "SourceType": "Item",
2733
- },
2734
- ],
2735
- ],
2736
- ],
2737
- [
2738
- "StringProperty",
2739
- {
2740
- "Name": "CommandLineTemplate",
2741
- "DisplayName": "Command Line",
2742
- "Visible": "False",
2743
- "IncludeInCommandLine": "False",
2744
- },
2745
- ],
2746
- [
2747
- "DynamicEnumProperty",
2748
- {
2749
- "Name": rule.before_targets,
2750
- "Category": "General",
2751
- "EnumProvider": "Targets",
2752
- "IncludeInCommandLine": "False",
2753
- },
2754
- [
2755
- "DynamicEnumProperty.DisplayName",
2756
- ["sys:String", "Execute Before"],
2757
- ],
2758
- [
2759
- "DynamicEnumProperty.Description",
2760
- [
2761
- "sys:String",
2762
- "Specifies the targets for the build customization"
2763
- " to run before.",
2764
- ],
2765
- ],
2766
- [
2767
- "DynamicEnumProperty.ProviderSettings",
2768
- [
2769
- "NameValuePair",
2770
- {
2771
- "Name": "Exclude",
2772
- "Value": "^%s|^Compute" % rule.before_targets,
2773
- },
2774
- ],
2775
- ],
2776
- [
2777
- "DynamicEnumProperty.DataSource",
2778
- [
2779
- "DataSource",
2780
- {
2781
- "Persistence": "ProjectFile",
2782
- "HasConfigurationCondition": "true",
2783
- },
2784
- ],
2785
- ],
2786
- ],
2787
- [
2788
- "DynamicEnumProperty",
2789
- {
2790
- "Name": rule.after_targets,
2791
- "Category": "General",
2792
- "EnumProvider": "Targets",
2793
- "IncludeInCommandLine": "False",
2794
- },
2795
- [
2796
- "DynamicEnumProperty.DisplayName",
2797
- ["sys:String", "Execute After"],
2798
- ],
2799
- [
2800
- "DynamicEnumProperty.Description",
2801
- [
2802
- "sys:String",
2803
- (
2804
- "Specifies the targets for the build customization"
2805
- " to run after."
2806
- ),
2807
- ],
2808
- ],
2809
- [
2810
- "DynamicEnumProperty.ProviderSettings",
2811
- [
2812
- "NameValuePair",
2813
- {
2814
- "Name": "Exclude",
2815
- "Value": "^%s|^Compute" % rule.after_targets,
2816
- },
2817
- ],
2818
- ],
2819
- [
2820
- "DynamicEnumProperty.DataSource",
2821
- [
2822
- "DataSource",
2823
- {
2824
- "Persistence": "ProjectFile",
2825
- "ItemType": "",
2826
- "HasConfigurationCondition": "true",
2827
- },
2828
- ],
2829
- ],
2830
- ],
2831
- [
2832
- "StringListProperty",
2833
- {
2834
- "Name": "Outputs",
2835
- "DisplayName": "Outputs",
2836
- "Visible": "False",
2837
- "IncludeInCommandLine": "False",
2838
- },
2839
- ],
2840
- [
2841
- "StringProperty",
2842
- {
2843
- "Name": "ExecutionDescription",
2844
- "DisplayName": "Execution Description",
2845
- "Visible": "False",
2846
- "IncludeInCommandLine": "False",
2847
- },
2848
- ],
2849
- [
2850
- "StringListProperty",
2851
- {
2852
- "Name": "AdditionalDependencies",
2853
- "DisplayName": "Additional Dependencies",
2854
- "IncludeInCommandLine": "False",
2855
- "Visible": "false",
2856
- },
2857
- ],
2858
- [
2859
- "StringProperty",
2860
- {
2861
- "Subtype": "AdditionalOptions",
2862
- "Name": "AdditionalOptions",
2863
- "Category": "Command Line",
2864
- },
2865
- [
2866
- "StringProperty.DisplayName",
2867
- ["sys:String", "Additional Options"],
2868
- ],
2869
- [
2870
- "StringProperty.Description",
2871
- ["sys:String", "Additional Options"],
2872
- ],
2873
- ],
2874
- ],
2875
- [
2876
- "ItemType",
2877
- {"Name": rule.rule_name, "DisplayName": rule.display_name},
2878
- ],
2879
- [
2880
- "FileExtension",
2881
- {"Name": "*" + rule.extension, "ContentType": rule.rule_name},
2882
- ],
2883
- [
2884
- "ContentType",
2885
- {
2886
- "Name": rule.rule_name,
2887
- "DisplayName": "",
2888
- "ItemType": rule.rule_name,
2889
- },
2890
- ],
2891
- ]
2892
- )
2893
- easy_xml.WriteXmlIfChanged(content, xml_path, pretty=True, win32=True)
2894
-
2895
-
2896
- def _GetConfigurationAndPlatform(name, settings, spec):
2897
- configuration = name.rsplit("_", 1)[0]
2898
- platform = settings.get("msvs_configuration_platform", "Win32")
2899
- if spec["toolset"] == "host" and platform == "arm64":
2900
- platform = "x64" # Host-only tools are always built for x64
2901
- return (configuration, platform)
2902
-
2903
-
2904
- def _GetConfigurationCondition(name, settings, spec):
2905
- return r"'$(Configuration)|$(Platform)'=='%s|%s'" % _GetConfigurationAndPlatform(
2906
- name, settings, spec
2907
- )
2908
-
2909
-
2910
- def _GetMSBuildProjectConfigurations(configurations, spec):
2911
- group = ["ItemGroup", {"Label": "ProjectConfigurations"}]
2912
- for name, settings in sorted(configurations.items()):
2913
- configuration, platform = _GetConfigurationAndPlatform(name, settings, spec)
2914
- designation = f"{configuration}|{platform}"
2915
- group.append(
2916
- [
2917
- "ProjectConfiguration",
2918
- {"Include": designation},
2919
- ["Configuration", configuration],
2920
- ["Platform", platform],
2921
- ]
2922
- )
2923
- return [group]
2924
-
2925
-
2926
- def _GetMSBuildGlobalProperties(spec, version, guid, gyp_file_name):
2927
- namespace = os.path.splitext(gyp_file_name)[0]
2928
- properties = [
2929
- [
2930
- "PropertyGroup",
2931
- {"Label": "Globals"},
2932
- ["ProjectGuid", guid],
2933
- ["Keyword", "Win32Proj"],
2934
- ["RootNamespace", namespace],
2935
- ["IgnoreWarnCompileDuplicatedFilename", "true"],
2936
- ]
2937
- ]
2938
-
2939
- if (
2940
- os.environ.get("PROCESSOR_ARCHITECTURE") == "AMD64"
2941
- or os.environ.get("PROCESSOR_ARCHITEW6432") == "AMD64"
2942
- ):
2943
- properties[0].append(["PreferredToolArchitecture", "x64"])
2944
-
2945
- if spec.get("msvs_target_platform_version"):
2946
- target_platform_version = spec.get("msvs_target_platform_version")
2947
- properties[0].append(["WindowsTargetPlatformVersion", target_platform_version])
2948
- if spec.get("msvs_target_platform_minversion"):
2949
- target_platform_minversion = spec.get("msvs_target_platform_minversion")
2950
- properties[0].append(
2951
- ["WindowsTargetPlatformMinVersion", target_platform_minversion]
2952
- )
2953
- else:
2954
- properties[0].append(
2955
- ["WindowsTargetPlatformMinVersion", target_platform_version]
2956
- )
2957
-
2958
- if spec.get("msvs_enable_winrt"):
2959
- properties[0].append(["DefaultLanguage", "en-US"])
2960
- properties[0].append(["AppContainerApplication", "true"])
2961
- if spec.get("msvs_application_type_revision"):
2962
- app_type_revision = spec.get("msvs_application_type_revision")
2963
- properties[0].append(["ApplicationTypeRevision", app_type_revision])
2964
- else:
2965
- properties[0].append(["ApplicationTypeRevision", "8.1"])
2966
- if spec.get("msvs_enable_winphone"):
2967
- properties[0].append(["ApplicationType", "Windows Phone"])
2968
- else:
2969
- properties[0].append(["ApplicationType", "Windows Store"])
2970
-
2971
- platform_name = None
2972
- msvs_windows_sdk_version = None
2973
- for configuration in spec["configurations"].values():
2974
- platform_name = platform_name or _ConfigPlatform(configuration)
2975
- msvs_windows_sdk_version = (
2976
- msvs_windows_sdk_version
2977
- or _ConfigWindowsTargetPlatformVersion(configuration, version)
2978
- )
2979
- if platform_name and msvs_windows_sdk_version:
2980
- break
2981
- if msvs_windows_sdk_version:
2982
- properties[0].append(
2983
- ["WindowsTargetPlatformVersion", str(msvs_windows_sdk_version)]
2984
- )
2985
- elif version.compatible_sdks:
2986
- raise GypError(
2987
- "%s requires any SDK of %s version, but none were found"
2988
- % (version.description, version.compatible_sdks)
2989
- )
2990
-
2991
- if platform_name == "ARM":
2992
- properties[0].append(["WindowsSDKDesktopARMSupport", "true"])
2993
-
2994
- return properties
2995
-
2996
-
2997
- def _GetMSBuildConfigurationDetails(spec, build_file):
2998
- properties = {}
2999
- for name, settings in spec["configurations"].items():
3000
- msbuild_attributes = _GetMSBuildAttributes(spec, settings, build_file)
3001
- condition = _GetConfigurationCondition(name, settings, spec)
3002
- character_set = msbuild_attributes.get("CharacterSet")
3003
- vctools_version = msbuild_attributes.get("VCToolsVersion")
3004
- config_type = msbuild_attributes.get("ConfigurationType")
3005
- _AddConditionalProperty(properties, condition, "ConfigurationType", config_type)
3006
- spectre_mitigation = msbuild_attributes.get("SpectreMitigation")
3007
- if spectre_mitigation:
3008
- _AddConditionalProperty(
3009
- properties, condition, "SpectreMitigation", spectre_mitigation
3010
- )
3011
- if config_type == "Driver":
3012
- _AddConditionalProperty(properties, condition, "DriverType", "WDM")
3013
- _AddConditionalProperty(
3014
- properties, condition, "TargetVersion", _ConfigTargetVersion(settings)
3015
- )
3016
- if character_set and "msvs_enable_winrt" not in spec:
3017
- _AddConditionalProperty(
3018
- properties, condition, "CharacterSet", character_set
3019
- )
3020
- if vctools_version and "msvs_enable_winrt" not in spec:
3021
- _AddConditionalProperty(
3022
- properties, condition, "VCToolsVersion", vctools_version
3023
- )
3024
- return _GetMSBuildPropertyGroup(spec, "Configuration", properties)
3025
-
3026
-
3027
- def _GetMSBuildLocalProperties(msbuild_toolset):
3028
- # Currently the only local property we support is PlatformToolset
3029
- properties = {}
3030
- if msbuild_toolset:
3031
- properties = [
3032
- [
3033
- "PropertyGroup",
3034
- {"Label": "Locals"},
3035
- ["PlatformToolset", msbuild_toolset],
3036
- ]
3037
- ]
3038
- return properties
3039
-
3040
-
3041
- def _GetMSBuildPropertySheets(configurations, spec):
3042
- user_props = r"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
3043
- additional_props = {}
3044
- props_specified = False
3045
- for name, settings in sorted(configurations.items()):
3046
- configuration = _GetConfigurationCondition(name, settings, spec)
3047
- if "msbuild_props" in settings:
3048
- additional_props[configuration] = _FixPaths(settings["msbuild_props"])
3049
- props_specified = True
3050
- else:
3051
- additional_props[configuration] = ""
3052
-
3053
- if not props_specified:
3054
- return [
3055
- [
3056
- "ImportGroup",
3057
- {"Label": "PropertySheets"},
3058
- [
3059
- "Import",
3060
- {
3061
- "Project": user_props,
3062
- "Condition": "exists('%s')" % user_props,
3063
- "Label": "LocalAppDataPlatform",
3064
- },
3065
- ],
3066
- ]
3067
- ]
3068
- else:
3069
- sheets = []
3070
- for condition, props in additional_props.items():
3071
- import_group = [
3072
- "ImportGroup",
3073
- {"Label": "PropertySheets", "Condition": condition},
3074
- [
3075
- "Import",
3076
- {
3077
- "Project": user_props,
3078
- "Condition": "exists('%s')" % user_props,
3079
- "Label": "LocalAppDataPlatform",
3080
- },
3081
- ],
3082
- ]
3083
- for props_file in props:
3084
- import_group.append(["Import", {"Project": props_file}])
3085
- sheets.append(import_group)
3086
- return sheets
3087
-
3088
-
3089
- def _ConvertMSVSBuildAttributes(spec, config, build_file):
3090
- config_type = _GetMSVSConfigurationType(spec, build_file)
3091
- msvs_attributes = _GetMSVSAttributes(spec, config, config_type)
3092
- msbuild_attributes = {}
3093
- for a in msvs_attributes:
3094
- if a in ["IntermediateDirectory", "OutputDirectory"]:
3095
- directory = MSVSSettings.ConvertVCMacrosToMSBuild(msvs_attributes[a])
3096
- if not directory.endswith("\\"):
3097
- directory += "\\"
3098
- msbuild_attributes[a] = directory
3099
- elif a == "CharacterSet":
3100
- msbuild_attributes[a] = _ConvertMSVSCharacterSet(msvs_attributes[a])
3101
- elif a == "ConfigurationType":
3102
- msbuild_attributes[a] = _ConvertMSVSConfigurationType(msvs_attributes[a])
3103
- elif a == "SpectreMitigation" or a == "VCToolsVersion":
3104
- msbuild_attributes[a] = msvs_attributes[a]
3105
- else:
3106
- print("Warning: Do not know how to convert MSVS attribute " + a)
3107
- return msbuild_attributes
3108
-
3109
-
3110
- def _ConvertMSVSCharacterSet(char_set):
3111
- if char_set.isdigit():
3112
- char_set = {"0": "MultiByte", "1": "Unicode", "2": "MultiByte"}[char_set]
3113
- return char_set
3114
-
3115
-
3116
- def _ConvertMSVSConfigurationType(config_type):
3117
- if config_type.isdigit():
3118
- config_type = {
3119
- "1": "Application",
3120
- "2": "DynamicLibrary",
3121
- "4": "StaticLibrary",
3122
- "5": "Driver",
3123
- "10": "Utility",
3124
- }[config_type]
3125
- return config_type
3126
-
3127
-
3128
- def _GetMSBuildAttributes(spec, config, build_file):
3129
- if "msbuild_configuration_attributes" not in config:
3130
- msbuild_attributes = _ConvertMSVSBuildAttributes(spec, config, build_file)
3131
-
3132
- else:
3133
- config_type = _GetMSVSConfigurationType(spec, build_file)
3134
- config_type = _ConvertMSVSConfigurationType(config_type)
3135
- msbuild_attributes = config.get("msbuild_configuration_attributes", {})
3136
- msbuild_attributes.setdefault("ConfigurationType", config_type)
3137
- output_dir = msbuild_attributes.get(
3138
- "OutputDirectory", "$(SolutionDir)$(Configuration)"
3139
- )
3140
- msbuild_attributes["OutputDirectory"] = _FixPath(output_dir) + "\\"
3141
- if "IntermediateDirectory" not in msbuild_attributes:
3142
- intermediate = _FixPath("$(Configuration)") + "\\"
3143
- msbuild_attributes["IntermediateDirectory"] = intermediate
3144
- if "CharacterSet" in msbuild_attributes:
3145
- msbuild_attributes["CharacterSet"] = _ConvertMSVSCharacterSet(
3146
- msbuild_attributes["CharacterSet"]
3147
- )
3148
- if "TargetName" not in msbuild_attributes:
3149
- prefix = spec.get("product_prefix", "")
3150
- product_name = spec.get("product_name", "$(ProjectName)")
3151
- target_name = prefix + product_name
3152
- msbuild_attributes["TargetName"] = target_name
3153
- if "TargetExt" not in msbuild_attributes and "product_extension" in spec:
3154
- ext = spec.get("product_extension")
3155
- msbuild_attributes["TargetExt"] = "." + ext
3156
-
3157
- if spec.get("msvs_external_builder"):
3158
- external_out_dir = spec.get("msvs_external_builder_out_dir", ".")
3159
- msbuild_attributes["OutputDirectory"] = _FixPath(external_out_dir) + "\\"
3160
-
3161
- # Make sure that 'TargetPath' matches 'Lib.OutputFile' or 'Link.OutputFile'
3162
- # (depending on the tool used) to avoid MSB8012 warning.
3163
- msbuild_tool_map = {
3164
- "executable": "Link",
3165
- "shared_library": "Link",
3166
- "loadable_module": "Link",
3167
- "windows_driver": "Link",
3168
- "static_library": "Lib",
3169
- }
3170
- if msbuild_tool := msbuild_tool_map.get(spec["type"]):
3171
- msbuild_settings = config["finalized_msbuild_settings"]
3172
- out_file = msbuild_settings[msbuild_tool].get("OutputFile")
3173
- if out_file:
3174
- msbuild_attributes["TargetPath"] = _FixPath(out_file)
3175
- target_ext = msbuild_settings[msbuild_tool].get("TargetExt")
3176
- if target_ext:
3177
- msbuild_attributes["TargetExt"] = target_ext
3178
-
3179
- return msbuild_attributes
3180
-
3181
-
3182
- def _GetMSBuildConfigurationGlobalProperties(spec, configurations, build_file):
3183
- # TODO(jeanluc) We could optimize out the following and do it only if
3184
- # there are actions.
3185
- # TODO(jeanluc) Handle the equivalent of setting 'CYGWIN=nontsec'.
3186
- new_paths = []
3187
- if cygwin_dirs := spec.get("msvs_cygwin_dirs", ["."])[0]:
3188
- cyg_path = "$(MSBuildProjectDirectory)\\%s\\bin\\" % _FixPath(cygwin_dirs)
3189
- new_paths.append(cyg_path)
3190
- # TODO(jeanluc) Change the convention to have both a cygwin_dir and a
3191
- # python_dir.
3192
- python_path = cyg_path.replace("cygwin\\bin", "python_26")
3193
- new_paths.append(python_path)
3194
- if new_paths:
3195
- new_paths = "$(ExecutablePath);" + ";".join(new_paths)
3196
-
3197
- properties = {}
3198
- for name, configuration in sorted(configurations.items()):
3199
- condition = _GetConfigurationCondition(name, configuration, spec)
3200
- attributes = _GetMSBuildAttributes(spec, configuration, build_file)
3201
- msbuild_settings = configuration["finalized_msbuild_settings"]
3202
- _AddConditionalProperty(
3203
- properties, condition, "IntDir", attributes["IntermediateDirectory"]
3204
- )
3205
- _AddConditionalProperty(
3206
- properties, condition, "OutDir", attributes["OutputDirectory"]
3207
- )
3208
- _AddConditionalProperty(
3209
- properties, condition, "TargetName", attributes["TargetName"]
3210
- )
3211
- if "TargetExt" in attributes:
3212
- _AddConditionalProperty(
3213
- properties, condition, "TargetExt", attributes["TargetExt"]
3214
- )
3215
-
3216
- if attributes.get("TargetPath"):
3217
- _AddConditionalProperty(
3218
- properties, condition, "TargetPath", attributes["TargetPath"]
3219
- )
3220
- if attributes.get("TargetExt"):
3221
- _AddConditionalProperty(
3222
- properties, condition, "TargetExt", attributes["TargetExt"]
3223
- )
3224
-
3225
- if new_paths:
3226
- _AddConditionalProperty(properties, condition, "ExecutablePath", new_paths)
3227
- tool_settings = msbuild_settings.get("", {})
3228
- for name, value in sorted(tool_settings.items()):
3229
- formatted_value = _GetValueFormattedForMSBuild("", name, value)
3230
- _AddConditionalProperty(properties, condition, name, formatted_value)
3231
- return _GetMSBuildPropertyGroup(spec, None, properties)
3232
-
3233
-
3234
- def _AddConditionalProperty(properties, condition, name, value):
3235
- """Adds a property / conditional value pair to a dictionary.
3236
-
3237
- Arguments:
3238
- properties: The dictionary to be modified. The key is the name of the
3239
- property. The value is itself a dictionary; its key is the value and
3240
- the value a list of condition for which this value is true.
3241
- condition: The condition under which the named property has the value.
3242
- name: The name of the property.
3243
- value: The value of the property.
3244
- """
3245
- if name not in properties:
3246
- properties[name] = {}
3247
- values = properties[name]
3248
- if value not in values:
3249
- values[value] = []
3250
- conditions = values[value]
3251
- conditions.append(condition)
3252
-
3253
-
3254
- # Regex for msvs variable references ( i.e. $(FOO) ).
3255
- MSVS_VARIABLE_REFERENCE = re.compile(r"\$\(([a-zA-Z_][a-zA-Z0-9_]*)\)")
3256
-
3257
-
3258
- def _GetMSBuildPropertyGroup(spec, label, properties):
3259
- """Returns a PropertyGroup definition for the specified properties.
3260
-
3261
- Arguments:
3262
- spec: The target project dict.
3263
- label: An optional label for the PropertyGroup.
3264
- properties: The dictionary to be converted. The key is the name of the
3265
- property. The value is itself a dictionary; its key is the value and
3266
- the value a list of condition for which this value is true.
3267
- """
3268
- group = ["PropertyGroup"]
3269
- if label:
3270
- group.append({"Label": label})
3271
- num_configurations = len(spec["configurations"])
3272
-
3273
- def GetEdges(node):
3274
- # Use a definition of edges such that user_of_variable -> used_variable.
3275
- # This happens to be easier in this case, since a variable's
3276
- # definition contains all variables it references in a single string.
3277
- edges = set()
3278
- for value in sorted(properties[node].keys()):
3279
- # Add to edges all $(...) references to variables.
3280
- #
3281
- # Variable references that refer to names not in properties are excluded
3282
- # These can exist for instance to refer built in definitions like
3283
- # $(SolutionDir).
3284
- #
3285
- # Self references are ignored. Self reference is used in a few places to
3286
- # append to the default value. I.e. PATH=$(PATH);other_path
3287
- edges.update(
3288
- {
3289
- v
3290
- for v in MSVS_VARIABLE_REFERENCE.findall(value)
3291
- if v in properties and v != node
3292
- }
3293
- )
3294
- return edges
3295
-
3296
- properties_ordered = gyp.common.TopologicallySorted(properties.keys(), GetEdges)
3297
- # Walk properties in the reverse of a topological sort on
3298
- # user_of_variable -> used_variable as this ensures variables are
3299
- # defined before they are used.
3300
- # NOTE: reverse(topsort(DAG)) = topsort(reverse_edges(DAG))
3301
- for name in reversed(properties_ordered):
3302
- values = properties[name]
3303
- for value, conditions in sorted(values.items()):
3304
- if len(conditions) == num_configurations:
3305
- # If the value is the same all configurations,
3306
- # just add one unconditional entry.
3307
- group.append([name, value])
3308
- else:
3309
- for condition in conditions:
3310
- group.append([name, {"Condition": condition}, value])
3311
- return [group]
3312
-
3313
-
3314
- def _GetMSBuildToolSettingsSections(spec, configurations):
3315
- groups = []
3316
- for name, configuration in sorted(configurations.items()):
3317
- msbuild_settings = configuration["finalized_msbuild_settings"]
3318
- group = [
3319
- "ItemDefinitionGroup",
3320
- {"Condition": _GetConfigurationCondition(name, configuration, spec)},
3321
- ]
3322
- for tool_name, tool_settings in sorted(msbuild_settings.items()):
3323
- # Skip the tool named '' which is a holder of global settings handled
3324
- # by _GetMSBuildConfigurationGlobalProperties.
3325
- if tool_name and tool_settings:
3326
- tool = [tool_name]
3327
- for name, value in sorted(tool_settings.items()):
3328
- formatted_value = _GetValueFormattedForMSBuild(
3329
- tool_name, name, value
3330
- )
3331
- tool.append([name, formatted_value])
3332
- group.append(tool)
3333
- groups.append(group)
3334
- return groups
3335
-
3336
-
3337
- def _FinalizeMSBuildSettings(spec, configuration):
3338
- if "msbuild_settings" in configuration:
3339
- converted = False
3340
- msbuild_settings = configuration["msbuild_settings"]
3341
- MSVSSettings.ValidateMSBuildSettings(msbuild_settings)
3342
- else:
3343
- converted = True
3344
- msvs_settings = configuration.get("msvs_settings", {})
3345
- msbuild_settings = MSVSSettings.ConvertToMSBuildSettings(msvs_settings)
3346
- include_dirs, midl_include_dirs, resource_include_dirs = _GetIncludeDirs(
3347
- configuration
3348
- )
3349
- libraries = _GetLibraries(spec)
3350
- library_dirs = _GetLibraryDirs(configuration)
3351
- out_file, _, msbuild_tool = _GetOutputFilePathAndTool(spec, msbuild=True)
3352
- target_ext = _GetOutputTargetExt(spec)
3353
- defines = _GetDefines(configuration)
3354
- if converted:
3355
- # Visual Studio 2010 has TR1
3356
- defines = [d for d in defines if d != "_HAS_TR1=0"]
3357
- # Warn of ignored settings
3358
- ignored_settings = ["msvs_tool_files"]
3359
- for ignored_setting in ignored_settings:
3360
- value = configuration.get(ignored_setting)
3361
- if value:
3362
- print(
3363
- "Warning: The automatic conversion to MSBuild does not handle "
3364
- "%s. Ignoring setting of %s" % (ignored_setting, str(value))
3365
- )
3366
-
3367
- defines = [_EscapeCppDefineForMSBuild(d) for d in defines]
3368
- disabled_warnings = _GetDisabledWarnings(configuration)
3369
- prebuild = configuration.get("msvs_prebuild")
3370
- postbuild = configuration.get("msvs_postbuild")
3371
- def_file = _GetModuleDefinition(spec)
3372
-
3373
- # Add the information to the appropriate tool
3374
- # TODO(jeanluc) We could optimize and generate these settings only if
3375
- # the corresponding files are found, e.g. don't generate ResourceCompile
3376
- # if you don't have any resources.
3377
- _ToolAppend(
3378
- msbuild_settings, "ClCompile", "AdditionalIncludeDirectories", include_dirs
3379
- )
3380
- _ToolAppend(
3381
- msbuild_settings, "Midl", "AdditionalIncludeDirectories", midl_include_dirs
3382
- )
3383
- _ToolAppend(
3384
- msbuild_settings,
3385
- "ResourceCompile",
3386
- "AdditionalIncludeDirectories",
3387
- resource_include_dirs,
3388
- )
3389
- # Add in libraries, note that even for empty libraries, we want this
3390
- # set, to prevent inheriting default libraries from the environment.
3391
- _ToolSetOrAppend(msbuild_settings, "Link", "AdditionalDependencies", libraries)
3392
- _ToolAppend(msbuild_settings, "Link", "AdditionalLibraryDirectories", library_dirs)
3393
- if out_file:
3394
- _ToolAppend(
3395
- msbuild_settings, msbuild_tool, "OutputFile", out_file, only_if_unset=True
3396
- )
3397
- if target_ext:
3398
- _ToolAppend(
3399
- msbuild_settings, msbuild_tool, "TargetExt", target_ext, only_if_unset=True
3400
- )
3401
- # Add defines.
3402
- _ToolAppend(msbuild_settings, "ClCompile", "PreprocessorDefinitions", defines)
3403
- _ToolAppend(msbuild_settings, "ResourceCompile", "PreprocessorDefinitions", defines)
3404
- # Add disabled warnings.
3405
- _ToolAppend(
3406
- msbuild_settings, "ClCompile", "DisableSpecificWarnings", disabled_warnings
3407
- )
3408
- # Turn on precompiled headers if appropriate.
3409
- if precompiled_header := configuration.get("msvs_precompiled_header"):
3410
- # While MSVC works with just file name eg. "v8_pch.h", ClangCL requires
3411
- # the full path eg. "tools/msvs/pch/v8_pch.h" to find the file.
3412
- # P.S. Only ClangCL defines msbuild_toolset, for MSVC it is None.
3413
- if configuration.get("msbuild_toolset") != "ClangCL":
3414
- precompiled_header = os.path.split(precompiled_header)[1]
3415
- _ToolAppend(msbuild_settings, "ClCompile", "PrecompiledHeader", "Use")
3416
- _ToolAppend(
3417
- msbuild_settings, "ClCompile", "PrecompiledHeaderFile", precompiled_header
3418
- )
3419
- _ToolAppend(
3420
- msbuild_settings, "ClCompile", "ForcedIncludeFiles", [precompiled_header]
3421
- )
3422
- else:
3423
- _ToolAppend(msbuild_settings, "ClCompile", "PrecompiledHeader", "NotUsing")
3424
- # Turn off WinRT compilation
3425
- _ToolAppend(msbuild_settings, "ClCompile", "CompileAsWinRT", "false")
3426
- # Turn on import libraries if appropriate
3427
- if spec.get("msvs_requires_importlibrary"):
3428
- _ToolAppend(msbuild_settings, "", "IgnoreImportLibrary", "false")
3429
- # Loadable modules don't generate import libraries;
3430
- # tell dependent projects to not expect one.
3431
- if spec["type"] == "loadable_module":
3432
- _ToolAppend(msbuild_settings, "", "IgnoreImportLibrary", "true")
3433
- # Set the module definition file if any.
3434
- if def_file:
3435
- _ToolAppend(msbuild_settings, "Link", "ModuleDefinitionFile", def_file)
3436
- configuration["finalized_msbuild_settings"] = msbuild_settings
3437
- if prebuild:
3438
- _ToolAppend(msbuild_settings, "PreBuildEvent", "Command", prebuild)
3439
- if postbuild:
3440
- _ToolAppend(msbuild_settings, "PostBuildEvent", "Command", postbuild)
3441
-
3442
-
3443
- def _GetValueFormattedForMSBuild(tool_name, name, value):
3444
- if isinstance(value, list):
3445
- # For some settings, VS2010 does not automatically extends the settings
3446
- # TODO(jeanluc) Is this what we want?
3447
- if name in [
3448
- "AdditionalIncludeDirectories",
3449
- "AdditionalLibraryDirectories",
3450
- "AdditionalOptions",
3451
- "DelayLoadDLLs",
3452
- "DisableSpecificWarnings",
3453
- "PreprocessorDefinitions",
3454
- ]:
3455
- value.append("%%(%s)" % name)
3456
- # For most tools, entries in a list should be separated with ';' but some
3457
- # settings use a space. Check for those first.
3458
- exceptions = {
3459
- "ClCompile": ["AdditionalOptions"],
3460
- "Link": ["AdditionalOptions"],
3461
- "Lib": ["AdditionalOptions"],
3462
- }
3463
- char = " " if name in exceptions.get(tool_name, []) else ";"
3464
- formatted_value = char.join(
3465
- [MSVSSettings.ConvertVCMacrosToMSBuild(i) for i in value]
3466
- )
3467
- else:
3468
- formatted_value = MSVSSettings.ConvertVCMacrosToMSBuild(value)
3469
- return formatted_value
3470
-
3471
-
3472
- def _VerifySourcesExist(sources, root_dir):
3473
- """Verifies that all source files exist on disk.
3474
-
3475
- Checks that all regular source files, i.e. not created at run time,
3476
- exist on disk. Missing files cause needless recompilation but no otherwise
3477
- visible errors.
3478
-
3479
- Arguments:
3480
- sources: A recursive list of Filter/file names.
3481
- root_dir: The root directory for the relative path names.
3482
- Returns:
3483
- A list of source files that cannot be found on disk.
3484
- """
3485
- missing_sources = []
3486
- for source in sources:
3487
- if isinstance(source, MSVSProject.Filter):
3488
- missing_sources.extend(_VerifySourcesExist(source.contents, root_dir))
3489
- elif "$" not in source:
3490
- full_path = os.path.join(root_dir, source)
3491
- if not os.path.exists(full_path):
3492
- missing_sources.append(full_path)
3493
- return missing_sources
3494
-
3495
-
3496
- def _GetMSBuildSources(
3497
- spec,
3498
- sources,
3499
- exclusions,
3500
- rule_dependencies,
3501
- extension_to_rule_name,
3502
- actions_spec,
3503
- sources_handled_by_action,
3504
- list_excluded,
3505
- ):
3506
- groups = [
3507
- "none",
3508
- "masm",
3509
- "midl",
3510
- "include",
3511
- "compile",
3512
- "resource",
3513
- "rule",
3514
- "rule_dependency",
3515
- ]
3516
- grouped_sources = {}
3517
- for g in groups:
3518
- grouped_sources[g] = []
3519
-
3520
- _AddSources2(
3521
- spec,
3522
- sources,
3523
- exclusions,
3524
- grouped_sources,
3525
- rule_dependencies,
3526
- extension_to_rule_name,
3527
- sources_handled_by_action,
3528
- list_excluded,
3529
- )
3530
- sources = []
3531
- for g in groups:
3532
- if grouped_sources[g]:
3533
- sources.append(["ItemGroup"] + grouped_sources[g])
3534
- if actions_spec:
3535
- sources.append(["ItemGroup"] + actions_spec)
3536
- return sources
3537
-
3538
-
3539
- def _AddSources2(
3540
- spec,
3541
- sources,
3542
- exclusions,
3543
- grouped_sources,
3544
- rule_dependencies,
3545
- extension_to_rule_name,
3546
- sources_handled_by_action,
3547
- list_excluded,
3548
- ):
3549
- extensions_excluded_from_precompile = []
3550
- for source in sources:
3551
- if isinstance(source, MSVSProject.Filter):
3552
- _AddSources2(
3553
- spec,
3554
- source.contents,
3555
- exclusions,
3556
- grouped_sources,
3557
- rule_dependencies,
3558
- extension_to_rule_name,
3559
- sources_handled_by_action,
3560
- list_excluded,
3561
- )
3562
- elif source not in sources_handled_by_action:
3563
- detail = []
3564
- excluded_configurations = exclusions.get(source, [])
3565
- if len(excluded_configurations) == len(spec["configurations"]):
3566
- detail.append(["ExcludedFromBuild", "true"])
3567
- else:
3568
- for config_name, configuration in sorted(excluded_configurations):
3569
- condition = _GetConfigurationCondition(config_name, configuration)
3570
- detail.append(
3571
- ["ExcludedFromBuild", {"Condition": condition}, "true"]
3572
- )
3573
- # Add precompile if needed
3574
- for config_name, configuration in spec["configurations"].items():
3575
- precompiled_source = configuration.get("msvs_precompiled_source", "")
3576
- if precompiled_source != "":
3577
- precompiled_source = _FixPath(precompiled_source)
3578
- if not extensions_excluded_from_precompile:
3579
- # If the precompiled header is generated by a C source,
3580
- # we must not try to use it for C++ sources,
3581
- # and vice versa.
3582
- _basename, extension = os.path.splitext(precompiled_source)
3583
- if extension == ".c":
3584
- extensions_excluded_from_precompile = [
3585
- ".cc",
3586
- ".cpp",
3587
- ".cxx",
3588
- ]
3589
- else:
3590
- extensions_excluded_from_precompile = [".c"]
3591
-
3592
- if precompiled_source == source:
3593
- condition = _GetConfigurationCondition(
3594
- config_name, configuration, spec
3595
- )
3596
- detail.append(
3597
- ["PrecompiledHeader", {"Condition": condition}, "Create"]
3598
- )
3599
- else:
3600
- # Turn off precompiled header usage for source files of a
3601
- # different type than the file that generated the
3602
- # precompiled header.
3603
- for extension in extensions_excluded_from_precompile:
3604
- if source.endswith(extension):
3605
- detail.append(["PrecompiledHeader", ""])
3606
- detail.append(["ForcedIncludeFiles", ""])
3607
-
3608
- group, element = _MapFileToMsBuildSourceType(
3609
- source,
3610
- rule_dependencies,
3611
- extension_to_rule_name,
3612
- _GetUniquePlatforms(spec),
3613
- spec["toolset"],
3614
- )
3615
- if group == "compile" and not os.path.isabs(source):
3616
- # Add an <ObjectFileName> value to support duplicate source
3617
- # file basenames, except for absolute paths to avoid paths
3618
- # with more than 260 characters.
3619
- file_name = os.path.splitext(source)[0] + ".obj"
3620
- if file_name.startswith("..\\"):
3621
- file_name = re.sub(r"^(\.\.\\)+", "", file_name)
3622
- elif file_name.startswith("$("):
3623
- file_name = re.sub(r"^\$\([^)]+\)\\", "", file_name)
3624
- detail.append(["ObjectFileName", "$(IntDir)\\" + file_name])
3625
- grouped_sources[group].append([element, {"Include": source}] + detail)
3626
-
3627
-
3628
- def _GetMSBuildProjectReferences(project):
3629
- references = []
3630
- if project.dependencies:
3631
- group = ["ItemGroup"]
3632
- added_dependency_set = set()
3633
- for dependency in project.dependencies:
3634
- dependency_spec = dependency.spec
3635
- should_skip_dep = False
3636
- if project.spec["toolset"] == "target":
3637
- if dependency_spec["toolset"] == "host":
3638
- if dependency_spec["type"] == "static_library":
3639
- should_skip_dep = True
3640
- if dependency.name.startswith("run_"):
3641
- should_skip_dep = False
3642
- if should_skip_dep:
3643
- continue
3644
-
3645
- canonical_name = dependency.name.replace("_host", "")
3646
- added_dependency_set.add(canonical_name)
3647
- guid = dependency.guid
3648
- project_dir = os.path.split(project.path)[0]
3649
- relative_path = gyp.common.RelativePath(dependency.path, project_dir)
3650
- project_ref = [
3651
- "ProjectReference",
3652
- {"Include": relative_path},
3653
- ["Project", guid],
3654
- ["ReferenceOutputAssembly", "false"],
3655
- ]
3656
- for config in dependency.spec.get("configurations", {}).values():
3657
- if config.get("msvs_use_library_dependency_inputs", 0):
3658
- project_ref.append(["UseLibraryDependencyInputs", "true"])
3659
- break
3660
- # If it's disabled in any config, turn it off in the reference.
3661
- if config.get("msvs_2010_disable_uldi_when_referenced", 0):
3662
- project_ref.append(["UseLibraryDependencyInputs", "false"])
3663
- break
3664
- group.append(project_ref)
3665
- references.append(group)
3666
- return references
3667
-
3668
-
3669
- def _GenerateMSBuildProject(project, options, version, generator_flags, spec):
3670
- spec = project.spec
3671
- configurations = spec["configurations"]
3672
- toolset = spec["toolset"]
3673
- project_dir, project_file_name = os.path.split(project.path)
3674
- gyp.common.EnsureDirExists(project.path)
3675
- # Prepare list of sources and excluded sources.
3676
-
3677
- gyp_file = os.path.split(project.build_file)[1]
3678
- sources, excluded_sources = _PrepareListOfSources(spec, generator_flags, gyp_file)
3679
- # Add rules.
3680
- actions_to_add = {}
3681
- props_files_of_rules = set()
3682
- targets_files_of_rules = set()
3683
- rule_dependencies = set()
3684
- extension_to_rule_name = {}
3685
- list_excluded = generator_flags.get("msvs_list_excluded_files", True)
3686
- platforms = _GetUniquePlatforms(spec)
3687
-
3688
- # Don't generate rules if we are using an external builder like ninja.
3689
- if not spec.get("msvs_external_builder"):
3690
- _GenerateRulesForMSBuild(
3691
- project_dir,
3692
- options,
3693
- spec,
3694
- sources,
3695
- excluded_sources,
3696
- props_files_of_rules,
3697
- targets_files_of_rules,
3698
- actions_to_add,
3699
- rule_dependencies,
3700
- extension_to_rule_name,
3701
- )
3702
- else:
3703
- rules = spec.get("rules", [])
3704
- _AdjustSourcesForRules(rules, sources, excluded_sources, True)
3705
-
3706
- sources, excluded_sources, excluded_idl = _AdjustSourcesAndConvertToFilterHierarchy(
3707
- spec, options, project_dir, sources, excluded_sources, list_excluded, version
3708
- )
3709
-
3710
- # Don't add actions if we are using an external builder like ninja.
3711
- if not spec.get("msvs_external_builder"):
3712
- _AddActions(actions_to_add, spec, project.build_file)
3713
- _AddCopies(actions_to_add, spec)
3714
-
3715
- # NOTE: this stanza must appear after all actions have been decided.
3716
- # Don't excluded sources with actions attached, or they won't run.
3717
- excluded_sources = _FilterActionsFromExcluded(excluded_sources, actions_to_add)
3718
-
3719
- exclusions = _GetExcludedFilesFromBuild(spec, excluded_sources, excluded_idl)
3720
- actions_spec, sources_handled_by_action = _GenerateActionsForMSBuild(
3721
- spec, actions_to_add
3722
- )
3723
-
3724
- _GenerateMSBuildFiltersFile(
3725
- project.path + ".filters",
3726
- sources,
3727
- rule_dependencies,
3728
- extension_to_rule_name,
3729
- platforms,
3730
- toolset,
3731
- )
3732
- missing_sources = _VerifySourcesExist(sources, project_dir)
3733
-
3734
- for configuration in configurations.values():
3735
- _FinalizeMSBuildSettings(spec, configuration)
3736
-
3737
- # Add attributes to root element
3738
-
3739
- import_default_section = [
3740
- ["Import", {"Project": r"$(VCTargetsPath)\Microsoft.Cpp.Default.props"}]
3741
- ]
3742
- import_cpp_props_section = [
3743
- ["Import", {"Project": r"$(VCTargetsPath)\Microsoft.Cpp.props"}]
3744
- ]
3745
- import_cpp_targets_section = [
3746
- ["Import", {"Project": r"$(VCTargetsPath)\Microsoft.Cpp.targets"}]
3747
- ]
3748
- import_masm_props_section = [
3749
- ["Import", {"Project": r"$(VCTargetsPath)\BuildCustomizations\masm.props"}]
3750
- ]
3751
- import_masm_targets_section = [
3752
- ["Import", {"Project": r"$(VCTargetsPath)\BuildCustomizations\masm.targets"}]
3753
- ]
3754
- import_marmasm_props_section = [
3755
- ["Import", {"Project": r"$(VCTargetsPath)\BuildCustomizations\marmasm.props"}]
3756
- ]
3757
- import_marmasm_targets_section = [
3758
- ["Import", {"Project": r"$(VCTargetsPath)\BuildCustomizations\marmasm.targets"}]
3759
- ]
3760
- macro_section = [["PropertyGroup", {"Label": "UserMacros"}]]
3761
-
3762
- content = [
3763
- "Project",
3764
- {
3765
- "xmlns": "http://schemas.microsoft.com/developer/msbuild/2003",
3766
- "ToolsVersion": version.ProjectVersion(),
3767
- "DefaultTargets": "Build",
3768
- },
3769
- ]
3770
-
3771
- content += _GetMSBuildProjectConfigurations(configurations, spec)
3772
- content += _GetMSBuildGlobalProperties(
3773
- spec, version, project.guid, project_file_name
3774
- )
3775
- content += import_default_section
3776
- content += _GetMSBuildConfigurationDetails(spec, project.build_file)
3777
- if spec.get("msvs_enable_winphone"):
3778
- content += _GetMSBuildLocalProperties("v120_wp81")
3779
- else:
3780
- content += _GetMSBuildLocalProperties(project.msbuild_toolset)
3781
- content += import_cpp_props_section
3782
- content += import_masm_props_section
3783
- if "arm64" in platforms and toolset == "target":
3784
- content += import_marmasm_props_section
3785
- content += _GetMSBuildExtensions(props_files_of_rules)
3786
- content += _GetMSBuildPropertySheets(configurations, spec)
3787
- content += macro_section
3788
- content += _GetMSBuildConfigurationGlobalProperties(
3789
- spec, configurations, project.build_file
3790
- )
3791
- content += _GetMSBuildToolSettingsSections(spec, configurations)
3792
- content += _GetMSBuildSources(
3793
- spec,
3794
- sources,
3795
- exclusions,
3796
- rule_dependencies,
3797
- extension_to_rule_name,
3798
- actions_spec,
3799
- sources_handled_by_action,
3800
- list_excluded,
3801
- )
3802
- content += _GetMSBuildProjectReferences(project)
3803
- content += import_cpp_targets_section
3804
- content += import_masm_targets_section
3805
- if "arm64" in platforms and toolset == "target":
3806
- content += import_marmasm_targets_section
3807
- content += _GetMSBuildExtensionTargets(targets_files_of_rules)
3808
-
3809
- if spec.get("msvs_external_builder"):
3810
- content += _GetMSBuildExternalBuilderTargets(spec)
3811
-
3812
- # TODO(jeanluc) File a bug to get rid of runas. We had in MSVS:
3813
- # has_run_as = _WriteMSVSUserFile(project.path, version, spec)
3814
-
3815
- easy_xml.WriteXmlIfChanged(content, project.path, pretty=True, win32=True)
3816
-
3817
- return missing_sources
3818
-
3819
-
3820
- def _GetMSBuildExternalBuilderTargets(spec):
3821
- """Return a list of MSBuild targets for external builders.
3822
-
3823
- The "Build" and "Clean" targets are always generated. If the spec contains
3824
- 'msvs_external_builder_clcompile_cmd', then the "ClCompile" target will also
3825
- be generated, to support building selected C/C++ files.
3826
-
3827
- Arguments:
3828
- spec: The gyp target spec.
3829
- Returns:
3830
- List of MSBuild 'Target' specs.
3831
- """
3832
- build_cmd = _BuildCommandLineForRuleRaw(
3833
- spec, spec["msvs_external_builder_build_cmd"], False, False, False, False
3834
- )
3835
- build_target = ["Target", {"Name": "Build"}]
3836
- build_target.append(["Exec", {"Command": build_cmd}])
3837
-
3838
- clean_cmd = _BuildCommandLineForRuleRaw(
3839
- spec, spec["msvs_external_builder_clean_cmd"], False, False, False, False
3840
- )
3841
- clean_target = ["Target", {"Name": "Clean"}]
3842
- clean_target.append(["Exec", {"Command": clean_cmd}])
3843
-
3844
- targets = [build_target, clean_target]
3845
-
3846
- if spec.get("msvs_external_builder_clcompile_cmd"):
3847
- clcompile_cmd = _BuildCommandLineForRuleRaw(
3848
- spec,
3849
- spec["msvs_external_builder_clcompile_cmd"],
3850
- False,
3851
- False,
3852
- False,
3853
- False,
3854
- )
3855
- clcompile_target = ["Target", {"Name": "ClCompile"}]
3856
- clcompile_target.append(["Exec", {"Command": clcompile_cmd}])
3857
- targets.append(clcompile_target)
3858
-
3859
- return targets
3860
-
3861
-
3862
- def _GetMSBuildExtensions(props_files_of_rules):
3863
- extensions = ["ImportGroup", {"Label": "ExtensionSettings"}]
3864
- for props_file in props_files_of_rules:
3865
- extensions.append(["Import", {"Project": props_file}])
3866
- return [extensions]
3867
-
3868
-
3869
- def _GetMSBuildExtensionTargets(targets_files_of_rules):
3870
- targets_node = ["ImportGroup", {"Label": "ExtensionTargets"}]
3871
- for targets_file in sorted(targets_files_of_rules):
3872
- targets_node.append(["Import", {"Project": targets_file}])
3873
- return [targets_node]
3874
-
3875
-
3876
- def _GenerateActionsForMSBuild(spec, actions_to_add):
3877
- """Add actions accumulated into an actions_to_add, merging as needed.
3878
-
3879
- Arguments:
3880
- spec: the target project dict
3881
- actions_to_add: dictionary keyed on input name, which maps to a list of
3882
- dicts describing the actions attached to that input file.
3883
-
3884
- Returns:
3885
- A pair of (action specification, the sources handled by this action).
3886
- """
3887
- sources_handled_by_action = OrderedSet()
3888
- actions_spec = []
3889
- for primary_input, actions in actions_to_add.items():
3890
- if generator_supports_multiple_toolsets:
3891
- primary_input = primary_input.replace(".exe", "_host.exe")
3892
- inputs = OrderedSet()
3893
- outputs = OrderedSet()
3894
- descriptions = []
3895
- commands = []
3896
- for action in actions:
3897
-
3898
- def fixup_host_exe(i):
3899
- if "$(OutDir)" in i:
3900
- i = i.replace(".exe", "_host.exe")
3901
- return i
3902
-
3903
- if generator_supports_multiple_toolsets:
3904
- action["inputs"] = [fixup_host_exe(i) for i in action["inputs"]]
3905
- inputs.update(OrderedSet(action["inputs"]))
3906
- outputs.update(OrderedSet(action["outputs"]))
3907
- descriptions.append(action["description"])
3908
- cmd = action["command"]
3909
- if generator_supports_multiple_toolsets:
3910
- cmd = cmd.replace(".exe", "_host.exe")
3911
- # For most actions, add 'call' so that actions that invoke batch files
3912
- # return and continue executing. msbuild_use_call provides a way to
3913
- # disable this but I have not seen any adverse effect from doing that
3914
- # for everything.
3915
- if action.get("msbuild_use_call", True):
3916
- cmd = "call " + cmd
3917
- commands.append(cmd)
3918
- # Add the custom build action for one input file.
3919
- description = ", and also ".join(descriptions)
3920
-
3921
- # We can't join the commands simply with && because the command line will
3922
- # get too long. See also _AddActions: cygwin's setup_env mustn't be called
3923
- # for every invocation or the command that sets the PATH will grow too
3924
- # long.
3925
- command = "\r\n".join(
3926
- [c + "\r\nif %errorlevel% neq 0 exit /b %errorlevel%" for c in commands]
3927
- )
3928
- _AddMSBuildAction(
3929
- spec,
3930
- primary_input,
3931
- inputs,
3932
- outputs,
3933
- command,
3934
- description,
3935
- sources_handled_by_action,
3936
- actions_spec,
3937
- )
3938
- return actions_spec, sources_handled_by_action
3939
-
3940
-
3941
- def _AddMSBuildAction(
3942
- spec,
3943
- primary_input,
3944
- inputs,
3945
- outputs,
3946
- cmd,
3947
- description,
3948
- sources_handled_by_action,
3949
- actions_spec,
3950
- ):
3951
- command = MSVSSettings.ConvertVCMacrosToMSBuild(cmd)
3952
- primary_input = _FixPath(primary_input)
3953
- inputs_array = _FixPaths(inputs)
3954
- outputs_array = _FixPaths(outputs)
3955
- additional_inputs = ";".join([i for i in inputs_array if i != primary_input])
3956
- outputs = ";".join(outputs_array)
3957
- sources_handled_by_action.add(primary_input)
3958
- action_spec = ["CustomBuild", {"Include": primary_input}]
3959
- action_spec.extend(
3960
- # TODO(jeanluc) 'Document' for all or just if as_sources?
3961
- [
3962
- ["FileType", "Document"],
3963
- ["Command", command],
3964
- ["Message", description],
3965
- ["Outputs", outputs],
3966
- ]
3967
- )
3968
- if additional_inputs:
3969
- action_spec.append(["AdditionalInputs", additional_inputs])
3970
- actions_spec.append(action_spec)