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,2957 +0,0 @@
1
- # Copyright (c) 2013 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 collections
7
- import copy
8
- import ctypes
9
- import hashlib
10
- import json
11
- import multiprocessing
12
- import os.path
13
- import re
14
- import shutil
15
- import signal
16
- import subprocess
17
- import sys
18
- from io import StringIO
19
-
20
- import gyp
21
- import gyp.common
22
- import gyp.msvs_emulation
23
- import gyp.xcode_emulation
24
- from gyp import MSVSUtil, ninja_syntax
25
- from gyp.common import GetEnvironFallback
26
-
27
- generator_default_variables = {
28
- "EXECUTABLE_PREFIX": "",
29
- "EXECUTABLE_SUFFIX": "",
30
- "STATIC_LIB_PREFIX": "lib",
31
- "STATIC_LIB_SUFFIX": ".a",
32
- "SHARED_LIB_PREFIX": "lib",
33
- # Gyp expects the following variables to be expandable by the build
34
- # system to the appropriate locations. Ninja prefers paths to be
35
- # known at gyp time. To resolve this, introduce special
36
- # variables starting with $! and $| (which begin with a $ so gyp knows it
37
- # should be treated specially, but is otherwise an invalid
38
- # ninja/shell variable) that are passed to gyp here but expanded
39
- # before writing out into the target .ninja files; see
40
- # ExpandSpecial.
41
- # $! is used for variables that represent a path and that can only appear at
42
- # the start of a string, while $| is used for variables that can appear
43
- # anywhere in a string.
44
- "INTERMEDIATE_DIR": "$!INTERMEDIATE_DIR",
45
- "SHARED_INTERMEDIATE_DIR": "$!PRODUCT_DIR/gen",
46
- "PRODUCT_DIR": "$!PRODUCT_DIR",
47
- "CONFIGURATION_NAME": "$|CONFIGURATION_NAME",
48
- # Special variables that may be used by gyp 'rule' targets.
49
- # We generate definitions for these variables on the fly when processing a
50
- # rule.
51
- "RULE_INPUT_ROOT": "${root}",
52
- "RULE_INPUT_DIRNAME": "${dirname}",
53
- "RULE_INPUT_PATH": "${source}",
54
- "RULE_INPUT_EXT": "${ext}",
55
- "RULE_INPUT_NAME": "${name}",
56
- }
57
-
58
- # Placates pylint.
59
- generator_additional_non_configuration_keys = []
60
- generator_additional_path_sections = []
61
- generator_extra_sources_for_rules = []
62
- generator_filelist_paths = None
63
-
64
- generator_supports_multiple_toolsets = gyp.common.CrossCompileRequested()
65
-
66
-
67
- def StripPrefix(arg, prefix):
68
- if arg.startswith(prefix):
69
- return arg[len(prefix) :]
70
- return arg
71
-
72
-
73
- def QuoteShellArgument(arg, flavor):
74
- """Quote a string such that it will be interpreted as a single argument
75
- by the shell."""
76
- # Rather than attempting to enumerate the bad shell characters, just
77
- # allow common OK ones and quote anything else.
78
- if re.match(r"^[a-zA-Z0-9_=.\\/-]+$", arg):
79
- return arg # No quoting necessary.
80
- if flavor == "win":
81
- return gyp.msvs_emulation.QuoteForRspFile(arg)
82
- return "'" + arg.replace("'", "'" + '"\'"' + "'") + "'"
83
-
84
-
85
- def Define(d, flavor):
86
- """Takes a preprocessor define and returns a -D parameter that's ninja- and
87
- shell-escaped."""
88
- if flavor == "win":
89
- # cl.exe replaces literal # characters with = in preprocessor definitions for
90
- # some reason. Octal-encode to work around that.
91
- d = d.replace("#", "\\%03o" % ord("#"))
92
- return QuoteShellArgument(ninja_syntax.escape("-D" + d), flavor)
93
-
94
-
95
- def AddArch(output, arch):
96
- """Adds an arch string to an output path."""
97
- output, extension = os.path.splitext(output)
98
- return f"{output}.{arch}{extension}"
99
-
100
-
101
- class Target:
102
- """Target represents the paths used within a single gyp target.
103
-
104
- Conceptually, building a single target A is a series of steps:
105
-
106
- 1) actions/rules/copies generates source/resources/etc.
107
- 2) compiles generates .o files
108
- 3) link generates a binary (library/executable)
109
- 4) bundle merges the above in a mac bundle
110
-
111
- (Any of these steps can be optional.)
112
-
113
- From a build ordering perspective, a dependent target B could just
114
- depend on the last output of this series of steps.
115
-
116
- But some dependent commands sometimes need to reach inside the box.
117
- For example, when linking B it needs to get the path to the static
118
- library generated by A.
119
-
120
- This object stores those paths. To keep things simple, member
121
- variables only store concrete paths to single files, while methods
122
- compute derived values like "the last output of the target".
123
- """
124
-
125
- def __init__(self, type):
126
- # Gyp type ("static_library", etc.) of this target.
127
- self.type = type
128
- # File representing whether any input dependencies necessary for
129
- # dependent actions have completed.
130
- self.preaction_stamp = None
131
- # File representing whether any input dependencies necessary for
132
- # dependent compiles have completed.
133
- self.precompile_stamp = None
134
- # File representing the completion of actions/rules/copies, if any.
135
- self.actions_stamp = None
136
- # Path to the output of the link step, if any.
137
- self.binary = None
138
- # Path to the file representing the completion of building the bundle,
139
- # if any.
140
- self.bundle = None
141
- # On Windows, incremental linking requires linking against all the .objs
142
- # that compose a .lib (rather than the .lib itself). That list is stored
143
- # here. In this case, we also need to save the compile_deps for the target,
144
- # so that the target that directly depends on the .objs can also depend
145
- # on those.
146
- self.component_objs = None
147
- self.compile_deps = None
148
- # Windows only. The import .lib is the output of a build step, but
149
- # because dependents only link against the lib (not both the lib and the
150
- # dll) we keep track of the import library here.
151
- self.import_lib = None
152
- # Track if this target contains any C++ files, to decide if gcc or g++
153
- # should be used for linking.
154
- self.uses_cpp = False
155
-
156
- def Linkable(self):
157
- """Return true if this is a target that can be linked against."""
158
- return self.type in ("static_library", "shared_library")
159
-
160
- def UsesToc(self, flavor):
161
- """Return true if the target should produce a restat rule based on a TOC
162
- file."""
163
- # For bundles, the .TOC should be produced for the binary, not for
164
- # FinalOutput(). But the naive approach would put the TOC file into the
165
- # bundle, so don't do this for bundles for now.
166
- if flavor == "win" or self.bundle:
167
- return False
168
- return self.type in ("shared_library", "loadable_module")
169
-
170
- def PreActionInput(self, flavor):
171
- """Return the path, if any, that should be used as a dependency of
172
- any dependent action step."""
173
- if self.UsesToc(flavor):
174
- return self.FinalOutput() + ".TOC"
175
- return self.FinalOutput() or self.preaction_stamp
176
-
177
- def PreCompileInput(self):
178
- """Return the path, if any, that should be used as a dependency of
179
- any dependent compile step."""
180
- return self.actions_stamp or self.precompile_stamp
181
-
182
- def FinalOutput(self):
183
- """Return the last output of the target, which depends on all prior
184
- steps."""
185
- return self.bundle or self.binary or self.actions_stamp
186
-
187
-
188
- # A small discourse on paths as used within the Ninja build:
189
- # All files we produce (both at gyp and at build time) appear in the
190
- # build directory (e.g. out/Debug).
191
- #
192
- # Paths within a given .gyp file are always relative to the directory
193
- # containing the .gyp file. Call these "gyp paths". This includes
194
- # sources as well as the starting directory a given gyp rule/action
195
- # expects to be run from. We call the path from the source root to
196
- # the gyp file the "base directory" within the per-.gyp-file
197
- # NinjaWriter code.
198
- #
199
- # All paths as written into the .ninja files are relative to the build
200
- # directory. Call these paths "ninja paths".
201
- #
202
- # We translate between these two notions of paths with two helper
203
- # functions:
204
- #
205
- # - GypPathToNinja translates a gyp path (i.e. relative to the .gyp file)
206
- # into the equivalent ninja path.
207
- #
208
- # - GypPathToUniqueOutput translates a gyp path into a ninja path to write
209
- # an output file; the result can be namespaced such that it is unique
210
- # to the input file name as well as the output target name.
211
-
212
-
213
- class NinjaWriter:
214
- def __init__(
215
- self,
216
- hash_for_rules,
217
- target_outputs,
218
- base_dir,
219
- build_dir,
220
- output_file,
221
- toplevel_build,
222
- output_file_name,
223
- flavor,
224
- toplevel_dir=None,
225
- ):
226
- """
227
- base_dir: path from source root to directory containing this gyp file,
228
- by gyp semantics, all input paths are relative to this
229
- build_dir: path from source root to build output
230
- toplevel_dir: path to the toplevel directory
231
- """
232
-
233
- self.hash_for_rules = hash_for_rules
234
- self.target_outputs = target_outputs
235
- self.base_dir = base_dir
236
- self.build_dir = build_dir
237
- self.ninja = ninja_syntax.Writer(output_file)
238
- self.toplevel_build = toplevel_build
239
- self.output_file_name = output_file_name
240
-
241
- self.flavor = flavor
242
- self.abs_build_dir = None
243
- if toplevel_dir is not None:
244
- self.abs_build_dir = os.path.abspath(os.path.join(toplevel_dir, build_dir))
245
- self.obj_ext = ".obj" if flavor == "win" else ".o"
246
- if flavor == "win":
247
- # See docstring of msvs_emulation.GenerateEnvironmentFiles().
248
- self.win_env = {}
249
- for arch in ("x86", "x64", "arm64"):
250
- self.win_env[arch] = "environment." + arch
251
-
252
- # Relative path from build output dir to base dir.
253
- build_to_top = gyp.common.InvertRelativePath(build_dir, toplevel_dir)
254
- self.build_to_base = os.path.join(build_to_top, base_dir)
255
- # Relative path from base dir to build dir.
256
- base_to_top = gyp.common.InvertRelativePath(base_dir, toplevel_dir)
257
- self.base_to_build = os.path.join(base_to_top, build_dir)
258
-
259
- def ExpandSpecial(self, path, product_dir=None):
260
- """Expand specials like $!PRODUCT_DIR in |path|.
261
-
262
- If |product_dir| is None, assumes the cwd is already the product
263
- dir. Otherwise, |product_dir| is the relative path to the product
264
- dir.
265
- """
266
-
267
- if (PRODUCT_DIR := "$!PRODUCT_DIR") in path:
268
- if product_dir:
269
- path = path.replace(PRODUCT_DIR, product_dir)
270
- else:
271
- path = path.replace(PRODUCT_DIR + "/", "")
272
- path = path.replace(PRODUCT_DIR + "\\", "")
273
- path = path.replace(PRODUCT_DIR, ".")
274
-
275
- if (INTERMEDIATE_DIR := "$!INTERMEDIATE_DIR") in path:
276
- int_dir = self.GypPathToUniqueOutput("gen")
277
- # GypPathToUniqueOutput generates a path relative to the product dir,
278
- # so insert product_dir in front if it is provided.
279
- path = path.replace(
280
- INTERMEDIATE_DIR, os.path.join(product_dir or "", int_dir)
281
- )
282
-
283
- CONFIGURATION_NAME = "$|CONFIGURATION_NAME"
284
- path = path.replace(CONFIGURATION_NAME, self.config_name)
285
-
286
- return path
287
-
288
- def ExpandRuleVariables(self, path, root, dirname, source, ext, name):
289
- if self.flavor == "win":
290
- path = self.msvs_settings.ConvertVSMacros(path, config=self.config_name)
291
- path = path.replace(generator_default_variables["RULE_INPUT_ROOT"], root)
292
- path = path.replace(generator_default_variables["RULE_INPUT_DIRNAME"], dirname)
293
- path = path.replace(generator_default_variables["RULE_INPUT_PATH"], source)
294
- path = path.replace(generator_default_variables["RULE_INPUT_EXT"], ext)
295
- path = path.replace(generator_default_variables["RULE_INPUT_NAME"], name)
296
- return path
297
-
298
- def GypPathToNinja(self, path, env=None):
299
- """Translate a gyp path to a ninja path, optionally expanding environment
300
- variable references in |path| with |env|.
301
-
302
- See the above discourse on path conversions."""
303
- if env:
304
- if self.flavor == "mac":
305
- path = gyp.xcode_emulation.ExpandEnvVars(path, env)
306
- elif self.flavor == "win":
307
- path = gyp.msvs_emulation.ExpandMacros(path, env)
308
- if path.startswith("$!"):
309
- expanded = self.ExpandSpecial(path)
310
- if self.flavor == "win":
311
- expanded = os.path.normpath(expanded)
312
- return expanded
313
- if "$|" in path:
314
- path = self.ExpandSpecial(path)
315
- assert "$" not in path, path
316
- return os.path.normpath(os.path.join(self.build_to_base, path))
317
-
318
- def GypPathToUniqueOutput(self, path, qualified=True):
319
- """Translate a gyp path to a ninja path for writing output.
320
-
321
- If qualified is True, qualify the resulting filename with the name
322
- of the target. This is necessary when e.g. compiling the same
323
- path twice for two separate output targets.
324
-
325
- See the above discourse on path conversions."""
326
-
327
- path = self.ExpandSpecial(path)
328
- assert not path.startswith("$"), path
329
-
330
- # Translate the path following this scheme:
331
- # Input: foo/bar.gyp, target targ, references baz/out.o
332
- # Output: obj/foo/baz/targ.out.o (if qualified)
333
- # obj/foo/baz/out.o (otherwise)
334
- # (and obj.host instead of obj for cross-compiles)
335
- #
336
- # Why this scheme and not some other one?
337
- # 1) for a given input, you can compute all derived outputs by matching
338
- # its path, even if the input is brought via a gyp file with '..'.
339
- # 2) simple files like libraries and stamps have a simple filename.
340
-
341
- obj = "obj"
342
- if self.toolset != "target":
343
- obj += "." + self.toolset
344
-
345
- path_dir, path_basename = os.path.split(path)
346
- assert not os.path.isabs(path_dir), (
347
- "'%s' can not be absolute path (see crbug.com/462153)." % path_dir
348
- )
349
-
350
- if qualified:
351
- path_basename = self.name + "." + path_basename
352
- return os.path.normpath(
353
- os.path.join(obj, self.base_dir, path_dir, path_basename)
354
- )
355
-
356
- def WriteCollapsedDependencies(self, name, targets, order_only=None):
357
- """Given a list of targets, return a path for a single file
358
- representing the result of building all the targets or None.
359
-
360
- Uses a stamp file if necessary."""
361
-
362
- assert targets == [item for item in targets if item], targets
363
- if len(targets) == 0:
364
- assert not order_only
365
- return None
366
- if len(targets) > 1 or order_only:
367
- stamp = self.GypPathToUniqueOutput(name + ".stamp")
368
- targets = self.ninja.build(stamp, "stamp", targets, order_only=order_only)
369
- self.ninja.newline()
370
- return targets[0]
371
-
372
- def _SubninjaNameForArch(self, arch):
373
- output_file_base = os.path.splitext(self.output_file_name)[0]
374
- return f"{output_file_base}.{arch}.ninja"
375
-
376
- def WriteSpec(self, spec, config_name, generator_flags):
377
- """The main entry point for NinjaWriter: write the build rules for a spec.
378
-
379
- Returns a Target object, which represents the output paths for this spec.
380
- Returns None if there are no outputs (e.g. a settings-only 'none' type
381
- target)."""
382
-
383
- self.config_name = config_name
384
- self.name = spec["target_name"]
385
- self.toolset = spec["toolset"]
386
- config = spec["configurations"][config_name]
387
- self.target = Target(spec["type"])
388
- self.is_standalone_static_library = bool(
389
- spec.get("standalone_static_library", 0)
390
- )
391
-
392
- self.target_rpath = generator_flags.get("target_rpath", r"\$$ORIGIN/lib/")
393
-
394
- self.is_mac_bundle = gyp.xcode_emulation.IsMacBundle(self.flavor, spec)
395
- self.xcode_settings = self.msvs_settings = None
396
- if self.flavor == "mac":
397
- self.xcode_settings = gyp.xcode_emulation.XcodeSettings(spec)
398
- mac_toolchain_dir = generator_flags.get("mac_toolchain_dir", None)
399
- if mac_toolchain_dir:
400
- self.xcode_settings.mac_toolchain_dir = mac_toolchain_dir
401
-
402
- if self.flavor == "win":
403
- self.msvs_settings = gyp.msvs_emulation.MsvsSettings(spec, generator_flags)
404
- arch = self.msvs_settings.GetArch(config_name)
405
- self.ninja.variable("arch", self.win_env[arch])
406
- self.ninja.variable("cc", "$cl_" + arch)
407
- self.ninja.variable("cxx", "$cl_" + arch)
408
- self.ninja.variable("cc_host", "$cl_" + arch)
409
- self.ninja.variable("cxx_host", "$cl_" + arch)
410
- self.ninja.variable("asm", "$ml_" + arch)
411
-
412
- if self.flavor == "mac":
413
- self.archs = self.xcode_settings.GetActiveArchs(config_name)
414
- if len(self.archs) > 1:
415
- self.arch_subninjas = {
416
- arch: ninja_syntax.Writer(
417
- OpenOutput(
418
- os.path.join(
419
- self.toplevel_build, self._SubninjaNameForArch(arch)
420
- ),
421
- "w",
422
- )
423
- )
424
- for arch in self.archs
425
- }
426
-
427
- # Compute predepends for all rules.
428
- # actions_depends is the dependencies this target depends on before running
429
- # any of its action/rule/copy steps.
430
- # compile_depends is the dependencies this target depends on before running
431
- # any of its compile steps.
432
- actions_depends = []
433
- compile_depends = []
434
- # TODO(evan): it is rather confusing which things are lists and which
435
- # are strings. Fix these.
436
- if "dependencies" in spec:
437
- for dep in spec["dependencies"]:
438
- if dep in self.target_outputs:
439
- target = self.target_outputs[dep]
440
- actions_depends.append(target.PreActionInput(self.flavor))
441
- compile_depends.append(target.PreCompileInput())
442
- if target.uses_cpp:
443
- self.target.uses_cpp = True
444
- actions_depends = [item for item in actions_depends if item]
445
- compile_depends = [item for item in compile_depends if item]
446
- actions_depends = self.WriteCollapsedDependencies(
447
- "actions_depends", actions_depends
448
- )
449
- compile_depends = self.WriteCollapsedDependencies(
450
- "compile_depends", compile_depends
451
- )
452
- self.target.preaction_stamp = actions_depends
453
- self.target.precompile_stamp = compile_depends
454
-
455
- # Write out actions, rules, and copies. These must happen before we
456
- # compile any sources, so compute a list of predependencies for sources
457
- # while we do it.
458
- extra_sources = []
459
- mac_bundle_depends = []
460
- self.target.actions_stamp = self.WriteActionsRulesCopies(
461
- spec, extra_sources, actions_depends, mac_bundle_depends
462
- )
463
-
464
- # If we have actions/rules/copies, we depend directly on those, but
465
- # otherwise we depend on dependent target's actions/rules/copies etc.
466
- # We never need to explicitly depend on previous target's link steps,
467
- # because no compile ever depends on them.
468
- compile_depends_stamp = self.target.actions_stamp or compile_depends
469
-
470
- # Write out the compilation steps, if any.
471
- link_deps = []
472
- try:
473
- sources = extra_sources + spec.get("sources", [])
474
- except TypeError:
475
- print("extra_sources: ", str(extra_sources))
476
- print('spec.get("sources"): ', str(spec.get("sources")))
477
- raise
478
- if sources:
479
- if self.flavor == "mac" and len(self.archs) > 1:
480
- # Write subninja file containing compile and link commands scoped to
481
- # a single arch if a fat binary is being built.
482
- for arch in self.archs:
483
- self.ninja.subninja(self._SubninjaNameForArch(arch))
484
-
485
- pch = None
486
- if self.flavor == "win":
487
- gyp.msvs_emulation.VerifyMissingSources(
488
- sources, self.abs_build_dir, generator_flags, self.GypPathToNinja
489
- )
490
- pch = gyp.msvs_emulation.PrecompiledHeader(
491
- self.msvs_settings,
492
- config_name,
493
- self.GypPathToNinja,
494
- self.GypPathToUniqueOutput,
495
- self.obj_ext,
496
- )
497
- else:
498
- pch = gyp.xcode_emulation.MacPrefixHeader(
499
- self.xcode_settings,
500
- self.GypPathToNinja,
501
- lambda path, lang: self.GypPathToUniqueOutput(path + "-" + lang),
502
- )
503
- link_deps = self.WriteSources(
504
- self.ninja,
505
- config_name,
506
- config,
507
- sources,
508
- compile_depends_stamp,
509
- pch,
510
- spec,
511
- )
512
- # Some actions/rules output 'sources' that are already object files.
513
- obj_outputs = [f for f in sources if f.endswith(self.obj_ext)]
514
- if obj_outputs:
515
- if self.flavor != "mac" or len(self.archs) == 1:
516
- link_deps += [self.GypPathToNinja(o) for o in obj_outputs]
517
- else:
518
- print(
519
- "Warning: Actions/rules writing object files don't work with "
520
- "multiarch targets, dropping. (target %s)" % spec["target_name"]
521
- )
522
- elif self.flavor == "mac" and len(self.archs) > 1:
523
- link_deps = collections.defaultdict(list)
524
-
525
- compile_deps = self.target.actions_stamp or actions_depends
526
- if self.flavor == "win" and self.target.type == "static_library":
527
- self.target.component_objs = link_deps
528
- self.target.compile_deps = compile_deps
529
-
530
- # Write out a link step, if needed.
531
- output = None
532
- is_empty_bundle = not link_deps and not mac_bundle_depends
533
- if link_deps or self.target.actions_stamp or actions_depends:
534
- output = self.WriteTarget(
535
- spec, config_name, config, link_deps, compile_deps
536
- )
537
- if self.is_mac_bundle:
538
- mac_bundle_depends.append(output)
539
-
540
- # Bundle all of the above together, if needed.
541
- if self.is_mac_bundle:
542
- output = self.WriteMacBundle(spec, mac_bundle_depends, is_empty_bundle)
543
-
544
- if not output:
545
- return None
546
-
547
- assert self.target.FinalOutput(), output
548
- return self.target
549
-
550
- def _WinIdlRule(self, source, prebuild, outputs):
551
- """Handle the implicit VS .idl rule for one source file. Fills |outputs|
552
- with files that are generated."""
553
- outdir, output, vars, flags = self.msvs_settings.GetIdlBuildData(
554
- source, self.config_name
555
- )
556
- outdir = self.GypPathToNinja(outdir)
557
-
558
- def fix_path(path, rel=None):
559
- path = os.path.join(outdir, path)
560
- dirname, basename = os.path.split(source)
561
- root, ext = os.path.splitext(basename)
562
- path = self.ExpandRuleVariables(path, root, dirname, source, ext, basename)
563
- if rel:
564
- path = os.path.relpath(path, rel)
565
- return path
566
-
567
- vars = [(name, fix_path(value, outdir)) for name, value in vars]
568
- output = [fix_path(p) for p in output]
569
- vars.append(("outdir", outdir))
570
- vars.append(("idlflags", flags))
571
- input = self.GypPathToNinja(source)
572
- self.ninja.build(output, "idl", input, variables=vars, order_only=prebuild)
573
- outputs.extend(output)
574
-
575
- def WriteWinIdlFiles(self, spec, prebuild):
576
- """Writes rules to match MSVS's implicit idl handling."""
577
- assert self.flavor == "win"
578
- if self.msvs_settings.HasExplicitIdlRulesOrActions(spec):
579
- return []
580
- outputs = []
581
- for source in filter(lambda x: x.endswith(".idl"), spec["sources"]):
582
- self._WinIdlRule(source, prebuild, outputs)
583
- return outputs
584
-
585
- def WriteActionsRulesCopies(
586
- self, spec, extra_sources, prebuild, mac_bundle_depends
587
- ):
588
- """Write out the Actions, Rules, and Copies steps. Return a path
589
- representing the outputs of these steps."""
590
- outputs = []
591
- if self.is_mac_bundle:
592
- mac_bundle_resources = spec.get("mac_bundle_resources", [])[:]
593
- else:
594
- mac_bundle_resources = []
595
- extra_mac_bundle_resources = []
596
-
597
- if "actions" in spec:
598
- outputs += self.WriteActions(
599
- spec["actions"], extra_sources, prebuild, extra_mac_bundle_resources
600
- )
601
- if "rules" in spec:
602
- outputs += self.WriteRules(
603
- spec["rules"],
604
- extra_sources,
605
- prebuild,
606
- mac_bundle_resources,
607
- extra_mac_bundle_resources,
608
- )
609
- if "copies" in spec:
610
- outputs += self.WriteCopies(spec["copies"], prebuild, mac_bundle_depends)
611
-
612
- if "sources" in spec and self.flavor == "win":
613
- outputs += self.WriteWinIdlFiles(spec, prebuild)
614
-
615
- if self.xcode_settings and self.xcode_settings.IsIosFramework():
616
- self.WriteiOSFrameworkHeaders(spec, outputs, prebuild)
617
-
618
- stamp = self.WriteCollapsedDependencies("actions_rules_copies", outputs)
619
-
620
- if self.is_mac_bundle:
621
- xcassets = self.WriteMacBundleResources(
622
- extra_mac_bundle_resources + mac_bundle_resources, mac_bundle_depends
623
- )
624
- partial_info_plist = self.WriteMacXCassets(xcassets, mac_bundle_depends)
625
- self.WriteMacInfoPlist(partial_info_plist, mac_bundle_depends)
626
-
627
- return stamp
628
-
629
- def GenerateDescription(self, verb, message, fallback):
630
- """Generate and return a description of a build step.
631
-
632
- |verb| is the short summary, e.g. ACTION or RULE.
633
- |message| is a hand-written description, or None if not available.
634
- |fallback| is the gyp-level name of the step, usable as a fallback.
635
- """
636
- if self.toolset != "target":
637
- verb += "(%s)" % self.toolset
638
- if message:
639
- return f"{verb} {self.ExpandSpecial(message)}"
640
- else:
641
- return f"{verb} {self.name}: {fallback}"
642
-
643
- def WriteActions(
644
- self, actions, extra_sources, prebuild, extra_mac_bundle_resources
645
- ):
646
- # Actions cd into the base directory.
647
- env = self.GetToolchainEnv()
648
- all_outputs = []
649
- for action in actions:
650
- # First write out a rule for the action.
651
- name = "{}_{}".format(action["action_name"], self.hash_for_rules)
652
- description = self.GenerateDescription(
653
- "ACTION", action.get("message", None), name
654
- )
655
- win_shell_flags = (
656
- self.msvs_settings.GetRuleShellFlags(action)
657
- if self.flavor == "win"
658
- else None
659
- )
660
- args = action["action"]
661
- depfile = action.get("depfile", None)
662
- if depfile:
663
- depfile = self.ExpandSpecial(depfile, self.base_to_build)
664
- pool = "console" if int(action.get("ninja_use_console", 0)) else None
665
- rule_name, _ = self.WriteNewNinjaRule(
666
- name, args, description, win_shell_flags, env, pool, depfile=depfile
667
- )
668
-
669
- inputs = [self.GypPathToNinja(i, env) for i in action["inputs"]]
670
- if int(action.get("process_outputs_as_sources", False)):
671
- extra_sources += action["outputs"]
672
- if int(action.get("process_outputs_as_mac_bundle_resources", False)):
673
- extra_mac_bundle_resources += action["outputs"]
674
- outputs = [self.GypPathToNinja(o, env) for o in action["outputs"]]
675
-
676
- # Then write out an edge using the rule.
677
- self.ninja.build(outputs, rule_name, inputs, order_only=prebuild)
678
- all_outputs += outputs
679
-
680
- self.ninja.newline()
681
-
682
- return all_outputs
683
-
684
- def WriteRules(
685
- self,
686
- rules,
687
- extra_sources,
688
- prebuild,
689
- mac_bundle_resources,
690
- extra_mac_bundle_resources,
691
- ):
692
- env = self.GetToolchainEnv()
693
- all_outputs = []
694
- for rule in rules:
695
- # Skip a rule with no action and no inputs.
696
- if "action" not in rule and not rule.get("rule_sources", []):
697
- continue
698
-
699
- # First write out a rule for the rule action.
700
- name = "{}_{}".format(rule["rule_name"], self.hash_for_rules)
701
-
702
- args = rule["action"]
703
- description = self.GenerateDescription(
704
- "RULE",
705
- rule.get("message", None),
706
- ("%s " + generator_default_variables["RULE_INPUT_PATH"]) % name,
707
- )
708
- win_shell_flags = (
709
- self.msvs_settings.GetRuleShellFlags(rule)
710
- if self.flavor == "win"
711
- else None
712
- )
713
- pool = "console" if int(rule.get("ninja_use_console", 0)) else None
714
- rule_name, args = self.WriteNewNinjaRule(
715
- name, args, description, win_shell_flags, env, pool
716
- )
717
-
718
- # TODO: if the command references the outputs directly, we should
719
- # simplify it to just use $out.
720
-
721
- # Rules can potentially make use of some special variables which
722
- # must vary per source file.
723
- # Compute the list of variables we'll need to provide.
724
- special_locals = ("source", "root", "dirname", "ext", "name")
725
- needed_variables = {"source"}
726
- for argument in args:
727
- for var in special_locals:
728
- if "${%s}" % var in argument:
729
- needed_variables.add(var)
730
- needed_variables = sorted(needed_variables)
731
-
732
- def cygwin_munge(path):
733
- # pylint: disable=cell-var-from-loop
734
- if win_shell_flags and win_shell_flags.cygwin:
735
- return path.replace("\\", "/")
736
- return path
737
-
738
- inputs = [self.GypPathToNinja(i, env) for i in rule.get("inputs", [])]
739
-
740
- # If there are n source files matching the rule, and m additional rule
741
- # inputs, then adding 'inputs' to each build edge written below will
742
- # write m * n inputs. Collapsing reduces this to m + n.
743
- sources = rule.get("rule_sources", [])
744
- num_inputs = len(inputs)
745
- if prebuild:
746
- num_inputs += 1
747
- if num_inputs > 2 and len(sources) > 2:
748
- inputs = [
749
- self.WriteCollapsedDependencies(
750
- rule["rule_name"], inputs, order_only=prebuild
751
- )
752
- ]
753
- prebuild = []
754
-
755
- # For each source file, write an edge that generates all the outputs.
756
- for source in sources:
757
- source = os.path.normpath(source)
758
- dirname, basename = os.path.split(source)
759
- root, ext = os.path.splitext(basename)
760
-
761
- # Gather the list of inputs and outputs, expanding $vars if possible.
762
- outputs = [
763
- self.ExpandRuleVariables(o, root, dirname, source, ext, basename)
764
- for o in rule["outputs"]
765
- ]
766
-
767
- if int(rule.get("process_outputs_as_sources", False)):
768
- extra_sources += outputs
769
-
770
- was_mac_bundle_resource = source in mac_bundle_resources
771
- if was_mac_bundle_resource or int(
772
- rule.get("process_outputs_as_mac_bundle_resources", False)
773
- ):
774
- extra_mac_bundle_resources += outputs
775
- # Note: This is n_resources * n_outputs_in_rule.
776
- # Put to-be-removed items in a set and
777
- # remove them all in a single pass
778
- # if this becomes a performance issue.
779
- if was_mac_bundle_resource:
780
- mac_bundle_resources.remove(source)
781
-
782
- extra_bindings = []
783
- for var in needed_variables:
784
- if var == "root":
785
- extra_bindings.append(("root", cygwin_munge(root)))
786
- elif var == "dirname":
787
- # '$dirname' is a parameter to the rule action, which means
788
- # it shouldn't be converted to a Ninja path. But we don't
789
- # want $!PRODUCT_DIR in there either.
790
- dirname_expanded = self.ExpandSpecial(
791
- dirname, self.base_to_build
792
- )
793
- extra_bindings.append(
794
- ("dirname", cygwin_munge(dirname_expanded))
795
- )
796
- elif var == "source":
797
- # '$source' is a parameter to the rule action, which means
798
- # it shouldn't be converted to a Ninja path. But we don't
799
- # want $!PRODUCT_DIR in there either.
800
- source_expanded = self.ExpandSpecial(source, self.base_to_build)
801
- extra_bindings.append(("source", cygwin_munge(source_expanded)))
802
- elif var == "ext":
803
- extra_bindings.append(("ext", ext))
804
- elif var == "name":
805
- extra_bindings.append(("name", cygwin_munge(basename)))
806
- else:
807
- assert var is None, repr(var)
808
-
809
- outputs = [self.GypPathToNinja(o, env) for o in outputs]
810
- if self.flavor == "win":
811
- # WriteNewNinjaRule uses unique_name to create a rsp file on win.
812
- unique_name = hashlib.sha256(outputs[0].encode("utf-8")).hexdigest()
813
- extra_bindings.append(("unique_name", unique_name))
814
-
815
- self.ninja.build(
816
- outputs,
817
- rule_name,
818
- self.GypPathToNinja(source),
819
- implicit=inputs,
820
- order_only=prebuild,
821
- variables=extra_bindings,
822
- )
823
-
824
- all_outputs.extend(outputs)
825
-
826
- return all_outputs
827
-
828
- def WriteCopies(self, copies, prebuild, mac_bundle_depends):
829
- outputs = []
830
- if self.xcode_settings:
831
- extra_env = self.xcode_settings.GetPerTargetSettings()
832
- env = self.GetToolchainEnv(additional_settings=extra_env)
833
- else:
834
- env = self.GetToolchainEnv()
835
- for to_copy in copies:
836
- for path in to_copy["files"]:
837
- # Normalize the path so trailing slashes don't confuse us.
838
- path = os.path.normpath(path)
839
- basename = os.path.split(path)[1]
840
- src = self.GypPathToNinja(path, env)
841
- dst = self.GypPathToNinja(
842
- os.path.join(to_copy["destination"], basename), env
843
- )
844
- outputs += self.ninja.build(dst, "copy", src, order_only=prebuild)
845
- if self.is_mac_bundle:
846
- # gyp has mac_bundle_resources to copy things into a bundle's
847
- # Resources folder, but there's no built-in way to copy files
848
- # to other places in the bundle.
849
- # Hence, some targets use copies for this.
850
- # Check if this file is copied into the current bundle,
851
- # and if so add it to the bundle depends so
852
- # that dependent targets get rebuilt if the copy input changes.
853
- if dst.startswith(
854
- self.xcode_settings.GetBundleContentsFolderPath()
855
- ):
856
- mac_bundle_depends.append(dst)
857
-
858
- return outputs
859
-
860
- def WriteiOSFrameworkHeaders(self, spec, outputs, prebuild):
861
- """Prebuild steps to generate hmap files and copy headers to destination."""
862
- framework = self.ComputeMacBundleOutput()
863
- all_sources = spec["sources"]
864
- copy_headers = spec["mac_framework_headers"]
865
- output = self.GypPathToUniqueOutput("headers.hmap")
866
- self.xcode_settings.header_map_path = output
867
- all_headers = map(
868
- self.GypPathToNinja, filter(lambda x: x.endswith(".h"), all_sources)
869
- )
870
- variables = [
871
- ("framework", framework),
872
- ("copy_headers", map(self.GypPathToNinja, copy_headers)),
873
- ]
874
- outputs.extend(
875
- self.ninja.build(
876
- output,
877
- "compile_ios_framework_headers",
878
- all_headers,
879
- variables=variables,
880
- order_only=prebuild,
881
- )
882
- )
883
-
884
- def WriteMacBundleResources(self, resources, bundle_depends):
885
- """Writes ninja edges for 'mac_bundle_resources'."""
886
- xcassets = []
887
-
888
- extra_env = self.xcode_settings.GetPerTargetSettings()
889
- env = self.GetSortedXcodeEnv(additional_settings=extra_env)
890
- env = self.ComputeExportEnvString(env)
891
- isBinary = self.xcode_settings.IsBinaryOutputFormat(self.config_name)
892
-
893
- for output, res in gyp.xcode_emulation.GetMacBundleResources(
894
- generator_default_variables["PRODUCT_DIR"],
895
- self.xcode_settings,
896
- map(self.GypPathToNinja, resources),
897
- ):
898
- output = self.ExpandSpecial(output)
899
- if os.path.splitext(output)[-1] != ".xcassets":
900
- self.ninja.build(
901
- output,
902
- "mac_tool",
903
- res,
904
- variables=[
905
- ("mactool_cmd", "copy-bundle-resource"),
906
- ("env", env),
907
- ("binary", isBinary),
908
- ],
909
- )
910
- bundle_depends.append(output)
911
- else:
912
- xcassets.append(res)
913
- return xcassets
914
-
915
- def WriteMacXCassets(self, xcassets, bundle_depends):
916
- """Writes ninja edges for 'mac_bundle_resources' .xcassets files.
917
-
918
- This add an invocation of 'actool' via the 'mac_tool.py' helper script.
919
- It assumes that the assets catalogs define at least one imageset and
920
- thus an Assets.car file will be generated in the application resources
921
- directory. If this is not the case, then the build will probably be done
922
- at each invocation of ninja."""
923
- if not xcassets:
924
- return
925
-
926
- extra_arguments = {}
927
- settings_to_arg = {
928
- "XCASSETS_APP_ICON": "app-icon",
929
- "XCASSETS_LAUNCH_IMAGE": "launch-image",
930
- }
931
- settings = self.xcode_settings.xcode_settings[self.config_name]
932
- for settings_key, arg_name in settings_to_arg.items():
933
- value = settings.get(settings_key)
934
- if value:
935
- extra_arguments[arg_name] = value
936
-
937
- partial_info_plist = None
938
- if extra_arguments:
939
- partial_info_plist = self.GypPathToUniqueOutput(
940
- "assetcatalog_generated_info.plist"
941
- )
942
- extra_arguments["output-partial-info-plist"] = partial_info_plist
943
-
944
- outputs = []
945
- outputs.append(
946
- os.path.join(self.xcode_settings.GetBundleResourceFolder(), "Assets.car")
947
- )
948
- if partial_info_plist:
949
- outputs.append(partial_info_plist)
950
-
951
- keys = QuoteShellArgument(json.dumps(extra_arguments), self.flavor)
952
- extra_env = self.xcode_settings.GetPerTargetSettings()
953
- env = self.GetSortedXcodeEnv(additional_settings=extra_env)
954
- env = self.ComputeExportEnvString(env)
955
-
956
- bundle_depends.extend(
957
- self.ninja.build(
958
- outputs,
959
- "compile_xcassets",
960
- xcassets,
961
- variables=[("env", env), ("keys", keys)],
962
- )
963
- )
964
- return partial_info_plist
965
-
966
- def WriteMacInfoPlist(self, partial_info_plist, bundle_depends):
967
- """Write build rules for bundle Info.plist files."""
968
- info_plist, out, defines, extra_env = gyp.xcode_emulation.GetMacInfoPlist(
969
- generator_default_variables["PRODUCT_DIR"],
970
- self.xcode_settings,
971
- self.GypPathToNinja,
972
- )
973
- if not info_plist:
974
- return
975
- out = self.ExpandSpecial(out)
976
- if defines:
977
- # Create an intermediate file to store preprocessed results.
978
- intermediate_plist = self.GypPathToUniqueOutput(
979
- os.path.basename(info_plist)
980
- )
981
- defines = " ".join([Define(d, self.flavor) for d in defines])
982
- info_plist = self.ninja.build(
983
- intermediate_plist,
984
- "preprocess_infoplist",
985
- info_plist,
986
- variables=[("defines", defines)],
987
- )
988
-
989
- env = self.GetSortedXcodeEnv(additional_settings=extra_env)
990
- env = self.ComputeExportEnvString(env)
991
-
992
- if partial_info_plist:
993
- intermediate_plist = self.GypPathToUniqueOutput("merged_info.plist")
994
- info_plist = self.ninja.build(
995
- intermediate_plist, "merge_infoplist", [partial_info_plist, info_plist]
996
- )
997
-
998
- keys = self.xcode_settings.GetExtraPlistItems(self.config_name)
999
- keys = QuoteShellArgument(json.dumps(keys), self.flavor)
1000
- isBinary = self.xcode_settings.IsBinaryOutputFormat(self.config_name)
1001
- self.ninja.build(
1002
- out,
1003
- "copy_infoplist",
1004
- info_plist,
1005
- variables=[("env", env), ("keys", keys), ("binary", isBinary)],
1006
- )
1007
- bundle_depends.append(out)
1008
-
1009
- def WriteSources(
1010
- self,
1011
- ninja_file,
1012
- config_name,
1013
- config,
1014
- sources,
1015
- predepends,
1016
- precompiled_header,
1017
- spec,
1018
- ):
1019
- """Write build rules to compile all of |sources|."""
1020
- if self.toolset == "host":
1021
- self.ninja.variable("ar", "$ar_host")
1022
- self.ninja.variable("cc", "$cc_host")
1023
- self.ninja.variable("cxx", "$cxx_host")
1024
- self.ninja.variable("ld", "$ld_host")
1025
- self.ninja.variable("ldxx", "$ldxx_host")
1026
- self.ninja.variable("nm", "$nm_host")
1027
- self.ninja.variable("readelf", "$readelf_host")
1028
-
1029
- if self.flavor != "mac" or len(self.archs) == 1:
1030
- return self.WriteSourcesForArch(
1031
- self.ninja,
1032
- config_name,
1033
- config,
1034
- sources,
1035
- predepends,
1036
- precompiled_header,
1037
- spec,
1038
- )
1039
- else:
1040
- return {
1041
- arch: self.WriteSourcesForArch(
1042
- self.arch_subninjas[arch],
1043
- config_name,
1044
- config,
1045
- sources,
1046
- predepends,
1047
- precompiled_header,
1048
- spec,
1049
- arch=arch,
1050
- )
1051
- for arch in self.archs
1052
- }
1053
-
1054
- def WriteSourcesForArch(
1055
- self,
1056
- ninja_file,
1057
- config_name,
1058
- config,
1059
- sources,
1060
- predepends,
1061
- precompiled_header,
1062
- spec,
1063
- arch=None,
1064
- ):
1065
- """Write build rules to compile all of |sources|."""
1066
-
1067
- extra_defines = []
1068
- if self.flavor == "mac":
1069
- cflags = self.xcode_settings.GetCflags(config_name, arch=arch)
1070
- cflags_c = self.xcode_settings.GetCflagsC(config_name)
1071
- cflags_cc = self.xcode_settings.GetCflagsCC(config_name)
1072
- cflags_objc = ["$cflags_c"] + self.xcode_settings.GetCflagsObjC(config_name)
1073
- cflags_objcc = ["$cflags_cc"] + self.xcode_settings.GetCflagsObjCC(
1074
- config_name
1075
- )
1076
- elif self.flavor == "win":
1077
- asmflags = self.msvs_settings.GetAsmflags(config_name)
1078
- cflags = self.msvs_settings.GetCflags(config_name)
1079
- cflags_c = self.msvs_settings.GetCflagsC(config_name)
1080
- cflags_cc = self.msvs_settings.GetCflagsCC(config_name)
1081
- extra_defines = self.msvs_settings.GetComputedDefines(config_name)
1082
- # See comment at cc_command for why there's two .pdb files.
1083
- pdbpath_c = pdbpath_cc = self.msvs_settings.GetCompilerPdbName(
1084
- config_name, self.ExpandSpecial
1085
- )
1086
- if not pdbpath_c:
1087
- obj = "obj"
1088
- if self.toolset != "target":
1089
- obj += "." + self.toolset
1090
- pdbpath = os.path.normpath(os.path.join(obj, self.base_dir, self.name))
1091
- pdbpath_c = pdbpath + ".c.pdb"
1092
- pdbpath_cc = pdbpath + ".cc.pdb"
1093
- self.WriteVariableList(ninja_file, "pdbname_c", [pdbpath_c])
1094
- self.WriteVariableList(ninja_file, "pdbname_cc", [pdbpath_cc])
1095
- self.WriteVariableList(ninja_file, "pchprefix", [self.name])
1096
- else:
1097
- cflags = config.get("cflags", [])
1098
- cflags_c = config.get("cflags_c", [])
1099
- cflags_cc = config.get("cflags_cc", [])
1100
-
1101
- # Respect environment variables related to build, but target-specific
1102
- # flags can still override them.
1103
- if self.toolset == "target":
1104
- cflags_c = (
1105
- os.environ.get("CPPFLAGS", "").split()
1106
- + os.environ.get("CFLAGS", "").split()
1107
- + cflags_c
1108
- )
1109
- cflags_cc = (
1110
- os.environ.get("CPPFLAGS", "").split()
1111
- + os.environ.get("CXXFLAGS", "").split()
1112
- + cflags_cc
1113
- )
1114
- elif self.toolset == "host":
1115
- cflags_c = (
1116
- os.environ.get("CPPFLAGS_host", "").split()
1117
- + os.environ.get("CFLAGS_host", "").split()
1118
- + cflags_c
1119
- )
1120
- cflags_cc = (
1121
- os.environ.get("CPPFLAGS_host", "").split()
1122
- + os.environ.get("CXXFLAGS_host", "").split()
1123
- + cflags_cc
1124
- )
1125
-
1126
- defines = config.get("defines", []) + extra_defines
1127
- self.WriteVariableList(
1128
- ninja_file, "defines", [Define(d, self.flavor) for d in defines]
1129
- )
1130
- if self.flavor == "win":
1131
- self.WriteVariableList(
1132
- ninja_file, "asmflags", map(self.ExpandSpecial, asmflags)
1133
- )
1134
- self.WriteVariableList(
1135
- ninja_file,
1136
- "rcflags",
1137
- [
1138
- QuoteShellArgument(self.ExpandSpecial(f), self.flavor)
1139
- for f in self.msvs_settings.GetRcflags(
1140
- config_name, self.GypPathToNinja
1141
- )
1142
- ],
1143
- )
1144
-
1145
- include_dirs = config.get("include_dirs", [])
1146
-
1147
- env = self.GetToolchainEnv()
1148
- if self.flavor == "win":
1149
- include_dirs = self.msvs_settings.AdjustIncludeDirs(
1150
- include_dirs, config_name
1151
- )
1152
- self.WriteVariableList(
1153
- ninja_file,
1154
- "includes",
1155
- [
1156
- QuoteShellArgument("-I" + self.GypPathToNinja(i, env), self.flavor)
1157
- for i in include_dirs
1158
- ],
1159
- )
1160
-
1161
- if self.flavor == "win":
1162
- midl_include_dirs = config.get("midl_include_dirs", [])
1163
- midl_include_dirs = self.msvs_settings.AdjustMidlIncludeDirs(
1164
- midl_include_dirs, config_name
1165
- )
1166
- self.WriteVariableList(
1167
- ninja_file,
1168
- "midl_includes",
1169
- [
1170
- QuoteShellArgument("-I" + self.GypPathToNinja(i, env), self.flavor)
1171
- for i in midl_include_dirs
1172
- ],
1173
- )
1174
-
1175
- pch_commands = precompiled_header.GetPchBuildCommands(arch)
1176
- if self.flavor == "mac":
1177
- # Most targets use no precompiled headers, so only write these if needed.
1178
- for ext, var in [
1179
- ("c", "cflags_pch_c"),
1180
- ("cc", "cflags_pch_cc"),
1181
- ("m", "cflags_pch_objc"),
1182
- ("mm", "cflags_pch_objcc"),
1183
- ]:
1184
- include = precompiled_header.GetInclude(ext, arch)
1185
- if include:
1186
- ninja_file.variable(var, include)
1187
-
1188
- arflags = config.get("arflags", [])
1189
-
1190
- self.WriteVariableList(ninja_file, "cflags", map(self.ExpandSpecial, cflags))
1191
- self.WriteVariableList(
1192
- ninja_file, "cflags_c", map(self.ExpandSpecial, cflags_c)
1193
- )
1194
- self.WriteVariableList(
1195
- ninja_file, "cflags_cc", map(self.ExpandSpecial, cflags_cc)
1196
- )
1197
- if self.flavor == "mac":
1198
- self.WriteVariableList(
1199
- ninja_file, "cflags_objc", map(self.ExpandSpecial, cflags_objc)
1200
- )
1201
- self.WriteVariableList(
1202
- ninja_file, "cflags_objcc", map(self.ExpandSpecial, cflags_objcc)
1203
- )
1204
- self.WriteVariableList(ninja_file, "arflags", map(self.ExpandSpecial, arflags))
1205
- ninja_file.newline()
1206
- outputs = []
1207
- has_rc_source = False
1208
- for source in sources:
1209
- filename, ext = os.path.splitext(source)
1210
- ext = ext[1:]
1211
- obj_ext = self.obj_ext
1212
- if ext in ("cc", "cpp", "cxx"):
1213
- command = "cxx"
1214
- self.target.uses_cpp = True
1215
- elif ext == "c" or (ext == "S" and self.flavor != "win"):
1216
- command = "cc"
1217
- elif ext == "s" and self.flavor != "win": # Doesn't generate .o.d files.
1218
- command = "cc_s"
1219
- elif (
1220
- self.flavor == "win"
1221
- and ext in ("asm", "S")
1222
- and not self.msvs_settings.HasExplicitAsmRules(spec)
1223
- ):
1224
- command = "asm"
1225
- # Add the _asm suffix as msvs is capable of handling .cc and
1226
- # .asm files of the same name without collision.
1227
- obj_ext = "_asm.obj"
1228
- elif self.flavor == "mac" and ext == "m":
1229
- command = "objc"
1230
- elif self.flavor == "mac" and ext == "mm":
1231
- command = "objcxx"
1232
- self.target.uses_cpp = True
1233
- elif self.flavor == "win" and ext == "rc":
1234
- command = "rc"
1235
- obj_ext = ".res"
1236
- has_rc_source = True
1237
- else:
1238
- # Ignore unhandled extensions.
1239
- continue
1240
- input = self.GypPathToNinja(source)
1241
- output = self.GypPathToUniqueOutput(filename + obj_ext)
1242
- if arch is not None:
1243
- output = AddArch(output, arch)
1244
- implicit = precompiled_header.GetObjDependencies([input], [output], arch)
1245
- variables = []
1246
- if self.flavor == "win":
1247
- variables, output, implicit = precompiled_header.GetFlagsModifications(
1248
- input,
1249
- output,
1250
- implicit,
1251
- command,
1252
- cflags_c,
1253
- cflags_cc,
1254
- self.ExpandSpecial,
1255
- )
1256
- ninja_file.build(
1257
- output,
1258
- command,
1259
- input,
1260
- implicit=[gch for _, _, gch in implicit],
1261
- order_only=predepends,
1262
- variables=variables,
1263
- )
1264
- outputs.append(output)
1265
-
1266
- if has_rc_source:
1267
- resource_include_dirs = config.get("resource_include_dirs", include_dirs)
1268
- self.WriteVariableList(
1269
- ninja_file,
1270
- "resource_includes",
1271
- [
1272
- QuoteShellArgument("-I" + self.GypPathToNinja(i, env), self.flavor)
1273
- for i in resource_include_dirs
1274
- ],
1275
- )
1276
-
1277
- self.WritePchTargets(ninja_file, pch_commands)
1278
-
1279
- ninja_file.newline()
1280
- return outputs
1281
-
1282
- def WritePchTargets(self, ninja_file, pch_commands):
1283
- """Writes ninja rules to compile prefix headers."""
1284
- if not pch_commands:
1285
- return
1286
-
1287
- for gch, lang_flag, lang, input in pch_commands:
1288
- var_name = {
1289
- "c": "cflags_pch_c",
1290
- "cc": "cflags_pch_cc",
1291
- "m": "cflags_pch_objc",
1292
- "mm": "cflags_pch_objcc",
1293
- }[lang]
1294
-
1295
- map = {
1296
- "c": "cc",
1297
- "cc": "cxx",
1298
- "m": "objc",
1299
- "mm": "objcxx",
1300
- }
1301
- cmd = map.get(lang)
1302
- ninja_file.build(gch, cmd, input, variables=[(var_name, lang_flag)])
1303
-
1304
- def WriteLink(self, spec, config_name, config, link_deps, compile_deps):
1305
- """Write out a link step. Fills out target.binary."""
1306
- if self.flavor != "mac" or len(self.archs) == 1:
1307
- return self.WriteLinkForArch(
1308
- self.ninja, spec, config_name, config, link_deps, compile_deps
1309
- )
1310
- else:
1311
- output = self.ComputeOutput(spec)
1312
- inputs = [
1313
- self.WriteLinkForArch(
1314
- self.arch_subninjas[arch],
1315
- spec,
1316
- config_name,
1317
- config,
1318
- link_deps[arch],
1319
- compile_deps,
1320
- arch=arch,
1321
- )
1322
- for arch in self.archs
1323
- ]
1324
- extra_bindings = []
1325
- build_output = output
1326
- if not self.is_mac_bundle:
1327
- self.AppendPostbuildVariable(extra_bindings, spec, output, output)
1328
-
1329
- # TODO(yyanagisawa): more work needed to fix:
1330
- # https://code.google.com/p/gyp/issues/detail?id=411
1331
- if (
1332
- spec["type"] in ("shared_library", "loadable_module")
1333
- and not self.is_mac_bundle
1334
- ):
1335
- extra_bindings.append(("lib", output))
1336
- self.ninja.build(
1337
- [output, output + ".TOC"],
1338
- "solipo",
1339
- inputs,
1340
- variables=extra_bindings,
1341
- )
1342
- else:
1343
- self.ninja.build(build_output, "lipo", inputs, variables=extra_bindings)
1344
- return output
1345
-
1346
- def WriteLinkForArch(
1347
- self, ninja_file, spec, config_name, config, link_deps, compile_deps, arch=None
1348
- ):
1349
- """Write out a link step. Fills out target.binary."""
1350
- command = {
1351
- "executable": "link",
1352
- "loadable_module": "solink_module",
1353
- "shared_library": "solink",
1354
- }[spec["type"]]
1355
- command_suffix = ""
1356
-
1357
- implicit_deps = set()
1358
- solibs = set()
1359
- order_deps = set()
1360
-
1361
- if compile_deps:
1362
- # Normally, the compiles of the target already depend on compile_deps,
1363
- # but a shared_library target might have no sources and only link together
1364
- # a few static_library deps, so the link step also needs to depend
1365
- # on compile_deps to make sure actions in the shared_library target
1366
- # get run before the link.
1367
- order_deps.add(compile_deps)
1368
-
1369
- if "dependencies" in spec:
1370
- # Two kinds of dependencies:
1371
- # - Linkable dependencies (like a .a or a .so): add them to the link line.
1372
- # - Non-linkable dependencies (like a rule that generates a file
1373
- # and writes a stamp file): add them to implicit_deps
1374
- extra_link_deps = set()
1375
- for dep in spec["dependencies"]:
1376
- target = self.target_outputs.get(dep)
1377
- if not target:
1378
- continue
1379
- linkable = target.Linkable()
1380
- if linkable:
1381
- new_deps = []
1382
- if (
1383
- self.flavor == "win"
1384
- and target.component_objs
1385
- and self.msvs_settings.IsUseLibraryDependencyInputs(config_name)
1386
- ):
1387
- new_deps = target.component_objs
1388
- if target.compile_deps:
1389
- order_deps.add(target.compile_deps)
1390
- elif self.flavor == "win" and target.import_lib:
1391
- new_deps = [target.import_lib]
1392
- elif target.UsesToc(self.flavor):
1393
- solibs.add(target.binary)
1394
- implicit_deps.add(target.binary + ".TOC")
1395
- else:
1396
- new_deps = [target.binary]
1397
- for new_dep in new_deps:
1398
- if new_dep not in extra_link_deps:
1399
- extra_link_deps.add(new_dep)
1400
- link_deps.append(new_dep)
1401
-
1402
- final_output = target.FinalOutput()
1403
- if not linkable or final_output != target.binary:
1404
- implicit_deps.add(final_output)
1405
-
1406
- extra_bindings = []
1407
- if self.target.uses_cpp and self.flavor != "win":
1408
- extra_bindings.append(("ld", "$ldxx"))
1409
-
1410
- output = self.ComputeOutput(spec, arch)
1411
- if arch is None and not self.is_mac_bundle:
1412
- self.AppendPostbuildVariable(extra_bindings, spec, output, output)
1413
-
1414
- is_executable = spec["type"] == "executable"
1415
- # The ldflags config key is not used on mac or win. On those platforms
1416
- # linker flags are set via xcode_settings and msvs_settings, respectively.
1417
- if self.toolset == "target":
1418
- env_ldflags = os.environ.get("LDFLAGS", "").split()
1419
- elif self.toolset == "host":
1420
- env_ldflags = os.environ.get("LDFLAGS_host", "").split()
1421
-
1422
- if self.flavor == "mac":
1423
- ldflags = self.xcode_settings.GetLdflags(
1424
- config_name,
1425
- self.ExpandSpecial(generator_default_variables["PRODUCT_DIR"]),
1426
- self.GypPathToNinja,
1427
- arch,
1428
- )
1429
- ldflags = env_ldflags + ldflags
1430
- elif self.flavor == "win":
1431
- manifest_base_name = self.GypPathToUniqueOutput(
1432
- self.ComputeOutputFileName(spec)
1433
- )
1434
- (
1435
- ldflags,
1436
- intermediate_manifest,
1437
- manifest_files,
1438
- ) = self.msvs_settings.GetLdflags(
1439
- config_name,
1440
- self.GypPathToNinja,
1441
- self.ExpandSpecial,
1442
- manifest_base_name,
1443
- output,
1444
- is_executable,
1445
- self.toplevel_build,
1446
- )
1447
- ldflags = env_ldflags + ldflags
1448
- self.WriteVariableList(ninja_file, "manifests", manifest_files)
1449
- implicit_deps = implicit_deps.union(manifest_files)
1450
- if intermediate_manifest:
1451
- self.WriteVariableList(
1452
- ninja_file, "intermediatemanifest", [intermediate_manifest]
1453
- )
1454
- command_suffix = _GetWinLinkRuleNameSuffix(
1455
- self.msvs_settings.IsEmbedManifest(config_name)
1456
- )
1457
- def_file = self.msvs_settings.GetDefFile(self.GypPathToNinja)
1458
- if def_file:
1459
- implicit_deps.add(def_file)
1460
- else:
1461
- # Respect environment variables related to build, but target-specific
1462
- # flags can still override them.
1463
- ldflags = env_ldflags + config.get("ldflags", [])
1464
- if is_executable and solibs:
1465
- rpath = "lib/"
1466
- if self.toolset != "target":
1467
- rpath += self.toolset
1468
- ldflags.append(r"-Wl,-rpath=\$$ORIGIN/%s" % rpath)
1469
- else:
1470
- ldflags.append("-Wl,-rpath=%s" % self.target_rpath)
1471
- ldflags.append("-Wl,-rpath-link=%s" % rpath)
1472
- self.WriteVariableList(ninja_file, "ldflags", map(self.ExpandSpecial, ldflags))
1473
-
1474
- library_dirs = config.get("library_dirs", [])
1475
- if self.flavor == "win":
1476
- library_dirs = [
1477
- self.msvs_settings.ConvertVSMacros(library_dir, config_name)
1478
- for library_dir in library_dirs
1479
- ]
1480
- library_dirs = [
1481
- "/LIBPATH:"
1482
- + QuoteShellArgument(self.GypPathToNinja(library_dir), self.flavor)
1483
- for library_dir in library_dirs
1484
- ]
1485
- else:
1486
- library_dirs = [
1487
- QuoteShellArgument("-L" + self.GypPathToNinja(library_dir), self.flavor)
1488
- for library_dir in library_dirs
1489
- ]
1490
-
1491
- libraries = gyp.common.uniquer(
1492
- map(self.ExpandSpecial, spec.get("libraries", []))
1493
- )
1494
- if self.flavor == "mac":
1495
- libraries = self.xcode_settings.AdjustLibraries(libraries, config_name)
1496
- elif self.flavor == "win":
1497
- libraries = self.msvs_settings.AdjustLibraries(libraries)
1498
-
1499
- self.WriteVariableList(ninja_file, "libs", library_dirs + libraries)
1500
-
1501
- linked_binary = output
1502
-
1503
- if command in ("solink", "solink_module"):
1504
- extra_bindings.append(("soname", os.path.split(output)[1]))
1505
- extra_bindings.append(("lib", gyp.common.EncodePOSIXShellArgument(output)))
1506
- if self.flavor != "win":
1507
- link_file_list = output
1508
- if self.is_mac_bundle:
1509
- # 'Dependency Framework.framework/Versions/A/Dependency Framework'
1510
- # -> 'Dependency Framework.framework.rsp'
1511
- link_file_list = self.xcode_settings.GetWrapperName()
1512
- if arch:
1513
- link_file_list += "." + arch
1514
- link_file_list += ".rsp"
1515
- # If an rspfile contains spaces, ninja surrounds the filename with
1516
- # quotes around it and then passes it to open(), creating a file with
1517
- # quotes in its name (and when looking for the rsp file, the name
1518
- # makes it through bash which strips the quotes) :-/
1519
- link_file_list = link_file_list.replace(" ", "_")
1520
- extra_bindings.append(
1521
- (
1522
- "link_file_list",
1523
- gyp.common.EncodePOSIXShellArgument(link_file_list),
1524
- )
1525
- )
1526
- if self.flavor == "win":
1527
- extra_bindings.append(("binary", output))
1528
- if (
1529
- "/NOENTRY" not in ldflags
1530
- and not self.msvs_settings.GetNoImportLibrary(config_name)
1531
- ):
1532
- self.target.import_lib = output + ".lib"
1533
- extra_bindings.append(
1534
- ("implibflag", "/IMPLIB:%s" % self.target.import_lib)
1535
- )
1536
- pdbname = self.msvs_settings.GetPDBName(
1537
- config_name, self.ExpandSpecial, output + ".pdb"
1538
- )
1539
- output = [output, self.target.import_lib]
1540
- if pdbname:
1541
- output.append(pdbname)
1542
- elif not self.is_mac_bundle:
1543
- output = [output, output + ".TOC"]
1544
- else:
1545
- command = command + "_notoc"
1546
- elif self.flavor == "win":
1547
- extra_bindings.append(("binary", output))
1548
- pdbname = self.msvs_settings.GetPDBName(
1549
- config_name, self.ExpandSpecial, output + ".pdb"
1550
- )
1551
- if pdbname:
1552
- output = [output, pdbname]
1553
-
1554
- if solibs:
1555
- extra_bindings.append(
1556
- ("solibs", gyp.common.EncodePOSIXShellList(sorted(solibs)))
1557
- )
1558
-
1559
- ninja_file.build(
1560
- output,
1561
- command + command_suffix,
1562
- link_deps,
1563
- implicit=sorted(implicit_deps),
1564
- order_only=list(order_deps),
1565
- variables=extra_bindings,
1566
- )
1567
- return linked_binary
1568
-
1569
- def WriteTarget(self, spec, config_name, config, link_deps, compile_deps):
1570
- extra_link_deps = any(
1571
- self.target_outputs.get(dep).Linkable()
1572
- for dep in spec.get("dependencies", [])
1573
- if dep in self.target_outputs
1574
- )
1575
- if spec["type"] == "none" or (not link_deps and not extra_link_deps):
1576
- # TODO(evan): don't call this function for 'none' target types, as
1577
- # it doesn't do anything, and we fake out a 'binary' with a stamp file.
1578
- self.target.binary = compile_deps
1579
- self.target.type = "none"
1580
- elif spec["type"] == "static_library":
1581
- self.target.binary = self.ComputeOutput(spec)
1582
- if (
1583
- self.flavor not in ("ios", "mac", "netbsd", "openbsd", "win")
1584
- and not self.is_standalone_static_library
1585
- ):
1586
- self.ninja.build(
1587
- self.target.binary, "alink_thin", link_deps, order_only=compile_deps
1588
- )
1589
- else:
1590
- variables = []
1591
- if self.xcode_settings:
1592
- libtool_flags = self.xcode_settings.GetLibtoolflags(config_name)
1593
- if libtool_flags:
1594
- variables.append(("libtool_flags", libtool_flags))
1595
- if self.msvs_settings:
1596
- libflags = self.msvs_settings.GetLibFlags(
1597
- config_name, self.GypPathToNinja
1598
- )
1599
- variables.append(("libflags", libflags))
1600
-
1601
- if self.flavor != "mac" or len(self.archs) == 1:
1602
- self.AppendPostbuildVariable(
1603
- variables, spec, self.target.binary, self.target.binary
1604
- )
1605
- self.ninja.build(
1606
- self.target.binary,
1607
- "alink",
1608
- link_deps,
1609
- order_only=compile_deps,
1610
- variables=variables,
1611
- )
1612
- else:
1613
- inputs = []
1614
- for arch in self.archs:
1615
- output = self.ComputeOutput(spec, arch)
1616
- self.arch_subninjas[arch].build(
1617
- output,
1618
- "alink",
1619
- link_deps[arch],
1620
- order_only=compile_deps,
1621
- variables=variables,
1622
- )
1623
- inputs.append(output)
1624
- # TODO: It's not clear if
1625
- # libtool_flags should be passed to the alink
1626
- # call that combines single-arch .a files into a fat .a file.
1627
- self.AppendPostbuildVariable(
1628
- variables, spec, self.target.binary, self.target.binary
1629
- )
1630
- self.ninja.build(
1631
- self.target.binary,
1632
- "alink",
1633
- inputs,
1634
- # FIXME: test proving order_only=compile_deps isn't
1635
- # needed.
1636
- variables=variables,
1637
- )
1638
- else:
1639
- self.target.binary = self.WriteLink(
1640
- spec, config_name, config, link_deps, compile_deps
1641
- )
1642
- return self.target.binary
1643
-
1644
- def WriteMacBundle(self, spec, mac_bundle_depends, is_empty):
1645
- assert self.is_mac_bundle
1646
- package_framework = spec["type"] in ("shared_library", "loadable_module")
1647
- output = self.ComputeMacBundleOutput()
1648
- if is_empty:
1649
- output += ".stamp"
1650
- variables = []
1651
- self.AppendPostbuildVariable(
1652
- variables,
1653
- spec,
1654
- output,
1655
- self.target.binary,
1656
- is_command_start=not package_framework,
1657
- )
1658
- if package_framework and not is_empty:
1659
- if spec["type"] == "shared_library" and self.xcode_settings.isIOS:
1660
- self.ninja.build(
1661
- output,
1662
- "package_ios_framework",
1663
- mac_bundle_depends,
1664
- variables=variables,
1665
- )
1666
- else:
1667
- variables.append(("version", self.xcode_settings.GetFrameworkVersion()))
1668
- self.ninja.build(
1669
- output, "package_framework", mac_bundle_depends, variables=variables
1670
- )
1671
- else:
1672
- self.ninja.build(output, "stamp", mac_bundle_depends, variables=variables)
1673
- self.target.bundle = output
1674
- return output
1675
-
1676
- def GetToolchainEnv(self, additional_settings=None):
1677
- """Returns the variables toolchain would set for build steps."""
1678
- env = self.GetSortedXcodeEnv(additional_settings=additional_settings)
1679
- if self.flavor == "win":
1680
- env = self.GetMsvsToolchainEnv(additional_settings=additional_settings)
1681
- return env
1682
-
1683
- def GetMsvsToolchainEnv(self, additional_settings=None):
1684
- """Returns the variables Visual Studio would set for build steps."""
1685
- return self.msvs_settings.GetVSMacroEnv(
1686
- "$!PRODUCT_DIR", config=self.config_name
1687
- )
1688
-
1689
- def GetSortedXcodeEnv(self, additional_settings=None):
1690
- """Returns the variables Xcode would set for build steps."""
1691
- assert self.abs_build_dir
1692
- abs_build_dir = self.abs_build_dir
1693
- return gyp.xcode_emulation.GetSortedXcodeEnv(
1694
- self.xcode_settings,
1695
- abs_build_dir,
1696
- os.path.join(abs_build_dir, self.build_to_base),
1697
- self.config_name,
1698
- additional_settings,
1699
- )
1700
-
1701
- def GetSortedXcodePostbuildEnv(self):
1702
- """Returns the variables Xcode would set for postbuild steps."""
1703
- postbuild_settings = {}
1704
- # CHROMIUM_STRIP_SAVE_FILE is a chromium-specific hack.
1705
- # TODO(thakis): It would be nice to have some general mechanism instead.
1706
- strip_save_file = self.xcode_settings.GetPerTargetSetting(
1707
- "CHROMIUM_STRIP_SAVE_FILE"
1708
- )
1709
- if strip_save_file:
1710
- postbuild_settings["CHROMIUM_STRIP_SAVE_FILE"] = strip_save_file
1711
- return self.GetSortedXcodeEnv(additional_settings=postbuild_settings)
1712
-
1713
- def AppendPostbuildVariable(
1714
- self, variables, spec, output, binary, is_command_start=False
1715
- ):
1716
- """Adds a 'postbuild' variable if there is a postbuild for |output|."""
1717
- postbuild = self.GetPostbuildCommand(spec, output, binary, is_command_start)
1718
- if postbuild:
1719
- variables.append(("postbuilds", postbuild))
1720
-
1721
- def GetPostbuildCommand(self, spec, output, output_binary, is_command_start):
1722
- """Returns a shell command that runs all the postbuilds, and removes
1723
- |output| if any of them fails. If |is_command_start| is False, then the
1724
- returned string will start with ' && '."""
1725
- if not self.xcode_settings or spec["type"] == "none" or not output:
1726
- return ""
1727
- output = QuoteShellArgument(output, self.flavor)
1728
- postbuilds = gyp.xcode_emulation.GetSpecPostbuildCommands(spec, quiet=True)
1729
- if output_binary is not None:
1730
- postbuilds = self.xcode_settings.AddImplicitPostbuilds(
1731
- self.config_name,
1732
- os.path.normpath(os.path.join(self.base_to_build, output)),
1733
- QuoteShellArgument(
1734
- os.path.normpath(os.path.join(self.base_to_build, output_binary)),
1735
- self.flavor,
1736
- ),
1737
- postbuilds,
1738
- quiet=True,
1739
- )
1740
-
1741
- if not postbuilds:
1742
- return ""
1743
- # Postbuilds expect to be run in the gyp file's directory, so insert an
1744
- # implicit postbuild to cd to there.
1745
- postbuilds.insert(
1746
- 0, gyp.common.EncodePOSIXShellList(["cd", self.build_to_base])
1747
- )
1748
- env = self.ComputeExportEnvString(self.GetSortedXcodePostbuildEnv())
1749
- # G will be non-null if any postbuild fails. Run all postbuilds in a
1750
- # subshell.
1751
- commands = (
1752
- env
1753
- + " ("
1754
- + " && ".join([ninja_syntax.escape(command) for command in postbuilds])
1755
- )
1756
- command_string = (
1757
- commands + "); G=$$?; "
1758
- # Remove the final output if any postbuild failed.
1759
- "((exit $$G) || rm -rf %s) " % output + "&& exit $$G)"
1760
- )
1761
- if is_command_start:
1762
- return "(" + command_string + " && "
1763
- else:
1764
- return "$ && (" + command_string
1765
-
1766
- def ComputeExportEnvString(self, env):
1767
- """Given an environment, returns a string looking like
1768
- 'export FOO=foo; export BAR="${FOO} bar;'
1769
- that exports |env| to the shell."""
1770
- export_str = []
1771
- for k, v in env:
1772
- export_str.append(
1773
- "export %s=%s;"
1774
- % (k, ninja_syntax.escape(gyp.common.EncodePOSIXShellArgument(v)))
1775
- )
1776
- return " ".join(export_str)
1777
-
1778
- def ComputeMacBundleOutput(self):
1779
- """Return the 'output' (full output path) to a bundle output directory."""
1780
- assert self.is_mac_bundle
1781
- path = generator_default_variables["PRODUCT_DIR"]
1782
- return self.ExpandSpecial(
1783
- os.path.join(path, self.xcode_settings.GetWrapperName())
1784
- )
1785
-
1786
- def ComputeOutputFileName(self, spec, type=None):
1787
- """Compute the filename of the final output for the current target."""
1788
- if not type:
1789
- type = spec["type"]
1790
-
1791
- default_variables = copy.copy(generator_default_variables)
1792
- CalculateVariables(default_variables, {"flavor": self.flavor})
1793
-
1794
- # Compute filename prefix: the product prefix, or a default for
1795
- # the product type.
1796
- DEFAULT_PREFIX = {
1797
- "loadable_module": default_variables["SHARED_LIB_PREFIX"],
1798
- "shared_library": default_variables["SHARED_LIB_PREFIX"],
1799
- "static_library": default_variables["STATIC_LIB_PREFIX"],
1800
- "executable": default_variables["EXECUTABLE_PREFIX"],
1801
- }
1802
- prefix = spec.get("product_prefix", DEFAULT_PREFIX.get(type, ""))
1803
-
1804
- # Compute filename extension: the product extension, or a default
1805
- # for the product type.
1806
- DEFAULT_EXTENSION = {
1807
- "loadable_module": default_variables["SHARED_LIB_SUFFIX"],
1808
- "shared_library": default_variables["SHARED_LIB_SUFFIX"],
1809
- "static_library": default_variables["STATIC_LIB_SUFFIX"],
1810
- "executable": default_variables["EXECUTABLE_SUFFIX"],
1811
- }
1812
- extension = spec.get("product_extension")
1813
- extension = "." + extension if extension else DEFAULT_EXTENSION.get(type, "")
1814
-
1815
- if "product_name" in spec:
1816
- # If we were given an explicit name, use that.
1817
- target = spec["product_name"]
1818
- else:
1819
- # Otherwise, derive a name from the target name.
1820
- target = spec["target_name"]
1821
- if prefix == "lib":
1822
- # Snip out an extra 'lib' from libs if appropriate.
1823
- target = StripPrefix(target, "lib")
1824
-
1825
- if type in (
1826
- "static_library",
1827
- "loadable_module",
1828
- "shared_library",
1829
- "executable",
1830
- ):
1831
- return f"{prefix}{target}{extension}"
1832
- elif type == "none":
1833
- return "%s.stamp" % target
1834
- else:
1835
- raise Exception("Unhandled output type %s" % type)
1836
-
1837
- def ComputeOutput(self, spec, arch=None):
1838
- """Compute the path for the final output of the spec."""
1839
- type = spec["type"]
1840
-
1841
- if self.flavor == "win":
1842
- override = self.msvs_settings.GetOutputName(
1843
- self.config_name, self.ExpandSpecial
1844
- )
1845
- if override:
1846
- return override
1847
-
1848
- if (
1849
- arch is None
1850
- and self.flavor == "mac"
1851
- and type
1852
- in ("static_library", "executable", "shared_library", "loadable_module")
1853
- ):
1854
- filename = self.xcode_settings.GetExecutablePath()
1855
- else:
1856
- filename = self.ComputeOutputFileName(spec, type)
1857
-
1858
- if arch is None and "product_dir" in spec:
1859
- path = os.path.join(spec["product_dir"], filename)
1860
- return self.ExpandSpecial(path)
1861
-
1862
- # Some products go into the output root, libraries go into shared library
1863
- # dir, and everything else goes into the normal place.
1864
- type_in_output_root = ["executable", "loadable_module"]
1865
- if self.flavor == "mac" and self.toolset == "target":
1866
- type_in_output_root += ["shared_library", "static_library"]
1867
- elif self.flavor == "win" and self.toolset == "target":
1868
- type_in_output_root += ["shared_library"]
1869
-
1870
- if arch is not None:
1871
- # Make sure partial executables don't end up in a bundle or the regular
1872
- # output directory.
1873
- archdir = "arch"
1874
- if self.toolset != "target":
1875
- archdir = os.path.join("arch", "%s" % self.toolset)
1876
- return os.path.join(archdir, AddArch(filename, arch))
1877
- elif type in type_in_output_root or self.is_standalone_static_library:
1878
- return filename
1879
- elif type == "shared_library":
1880
- libdir = "lib"
1881
- if self.toolset != "target":
1882
- libdir = os.path.join("lib", "%s" % self.toolset)
1883
- return os.path.join(libdir, filename)
1884
- else:
1885
- return self.GypPathToUniqueOutput(filename, qualified=False)
1886
-
1887
- def WriteVariableList(self, ninja_file, var, values):
1888
- assert not isinstance(values, str)
1889
- if values is None:
1890
- values = []
1891
- ninja_file.variable(var, " ".join(values))
1892
-
1893
- def WriteNewNinjaRule(
1894
- self, name, args, description, win_shell_flags, env, pool, depfile=None
1895
- ):
1896
- """Write out a new ninja "rule" statement for a given command.
1897
-
1898
- Returns the name of the new rule, and a copy of |args| with variables
1899
- expanded."""
1900
-
1901
- if self.flavor == "win":
1902
- args = [
1903
- self.msvs_settings.ConvertVSMacros(
1904
- arg, self.base_to_build, config=self.config_name
1905
- )
1906
- for arg in args
1907
- ]
1908
- description = self.msvs_settings.ConvertVSMacros(
1909
- description, config=self.config_name
1910
- )
1911
- elif self.flavor == "mac":
1912
- # |env| is an empty list on non-mac.
1913
- args = [gyp.xcode_emulation.ExpandEnvVars(arg, env) for arg in args]
1914
- description = gyp.xcode_emulation.ExpandEnvVars(description, env)
1915
-
1916
- # TODO: we shouldn't need to qualify names; we do it because
1917
- # currently the ninja rule namespace is global, but it really
1918
- # should be scoped to the subninja.
1919
- rule_name = self.name
1920
- if self.toolset == "target":
1921
- rule_name += "." + self.toolset
1922
- rule_name += "." + name
1923
- rule_name = re.sub("[^a-zA-Z0-9_]", "_", rule_name)
1924
-
1925
- # Remove variable references, but not if they refer to the magic rule
1926
- # variables. This is not quite right, as it also protects these for
1927
- # actions, not just for rules where they are valid. Good enough.
1928
- protect = ["${root}", "${dirname}", "${source}", "${ext}", "${name}"]
1929
- protect = "(?!" + "|".join(map(re.escape, protect)) + ")"
1930
- description = re.sub(protect + r"\$", "_", description)
1931
-
1932
- # gyp dictates that commands are run from the base directory.
1933
- # cd into the directory before running, and adjust paths in
1934
- # the arguments to point to the proper locations.
1935
- rspfile = None
1936
- rspfile_content = None
1937
- args = [self.ExpandSpecial(arg, self.base_to_build) for arg in args]
1938
- if self.flavor == "win":
1939
- rspfile = rule_name + ".$unique_name.rsp"
1940
- # The cygwin case handles this inside the bash sub-shell.
1941
- run_in = "" if win_shell_flags.cygwin else " " + self.build_to_base
1942
- if win_shell_flags.cygwin:
1943
- rspfile_content = self.msvs_settings.BuildCygwinBashCommandLine(
1944
- args, self.build_to_base
1945
- )
1946
- else:
1947
- rspfile_content = gyp.msvs_emulation.EncodeRspFileList(
1948
- args, win_shell_flags.quote
1949
- )
1950
- command = (
1951
- "%s gyp-win-tool action-wrapper $arch " % sys.executable
1952
- + rspfile
1953
- + run_in
1954
- )
1955
- else:
1956
- env = self.ComputeExportEnvString(env)
1957
- command = gyp.common.EncodePOSIXShellList(args)
1958
- command = "cd %s; " % self.build_to_base + env + command
1959
-
1960
- # GYP rules/actions express being no-ops by not touching their outputs.
1961
- # Avoid executing downstream dependencies in this case by specifying
1962
- # restat=1 to ninja.
1963
- self.ninja.rule(
1964
- rule_name,
1965
- command,
1966
- description,
1967
- depfile=depfile,
1968
- restat=True,
1969
- pool=pool,
1970
- rspfile=rspfile,
1971
- rspfile_content=rspfile_content,
1972
- )
1973
- self.ninja.newline()
1974
-
1975
- return rule_name, args
1976
-
1977
-
1978
- def CalculateVariables(default_variables, params):
1979
- """Calculate additional variables for use in the build (called by gyp)."""
1980
- global generator_additional_non_configuration_keys
1981
- global generator_additional_path_sections
1982
- flavor = gyp.common.GetFlavor(params)
1983
- if flavor == "mac":
1984
- default_variables.setdefault("OS", "mac")
1985
- default_variables.setdefault("SHARED_LIB_SUFFIX", ".dylib")
1986
- default_variables.setdefault(
1987
- "SHARED_LIB_DIR", generator_default_variables["PRODUCT_DIR"]
1988
- )
1989
- default_variables.setdefault(
1990
- "LIB_DIR", generator_default_variables["PRODUCT_DIR"]
1991
- )
1992
-
1993
- # Copy additional generator configuration data from Xcode, which is shared
1994
- # by the Mac Ninja generator.
1995
- import gyp.generator.xcode as xcode_generator # noqa: PLC0415
1996
-
1997
- generator_additional_non_configuration_keys = getattr(
1998
- xcode_generator, "generator_additional_non_configuration_keys", []
1999
- )
2000
- generator_additional_path_sections = getattr(
2001
- xcode_generator, "generator_additional_path_sections", []
2002
- )
2003
- global generator_extra_sources_for_rules
2004
- generator_extra_sources_for_rules = getattr(
2005
- xcode_generator, "generator_extra_sources_for_rules", []
2006
- )
2007
- elif flavor == "win":
2008
- exts = gyp.MSVSUtil.TARGET_TYPE_EXT
2009
- default_variables.setdefault("OS", "win")
2010
- default_variables["EXECUTABLE_SUFFIX"] = "." + exts["executable"]
2011
- default_variables["STATIC_LIB_PREFIX"] = ""
2012
- default_variables["STATIC_LIB_SUFFIX"] = "." + exts["static_library"]
2013
- default_variables["SHARED_LIB_PREFIX"] = ""
2014
- default_variables["SHARED_LIB_SUFFIX"] = "." + exts["shared_library"]
2015
-
2016
- # Copy additional generator configuration data from VS, which is shared
2017
- # by the Windows Ninja generator.
2018
- import gyp.generator.msvs as msvs_generator # noqa: PLC0415
2019
-
2020
- generator_additional_non_configuration_keys = getattr(
2021
- msvs_generator, "generator_additional_non_configuration_keys", []
2022
- )
2023
- generator_additional_path_sections = getattr(
2024
- msvs_generator, "generator_additional_path_sections", []
2025
- )
2026
-
2027
- gyp.msvs_emulation.CalculateCommonVariables(default_variables, params)
2028
- else:
2029
- operating_system = flavor
2030
- if flavor == "android":
2031
- operating_system = "linux" # Keep this legacy behavior for now.
2032
- default_variables.setdefault("OS", operating_system)
2033
- default_variables.setdefault("SHARED_LIB_SUFFIX", ".so")
2034
- default_variables.setdefault(
2035
- "SHARED_LIB_DIR", os.path.join("$!PRODUCT_DIR", "lib")
2036
- )
2037
- default_variables.setdefault("LIB_DIR", os.path.join("$!PRODUCT_DIR", "obj"))
2038
-
2039
-
2040
- def ComputeOutputDir(params):
2041
- """Returns the path from the toplevel_dir to the build output directory."""
2042
- # generator_dir: relative path from pwd to where make puts build files.
2043
- # Makes migrating from make to ninja easier, ninja doesn't put anything here.
2044
- generator_dir = os.path.relpath(params["options"].generator_output or ".")
2045
-
2046
- # output_dir: relative path from generator_dir to the build directory.
2047
- output_dir = params.get("generator_flags", {}).get("output_dir", "out")
2048
-
2049
- # Relative path from source root to our output files. e.g. "out"
2050
- return os.path.normpath(os.path.join(generator_dir, output_dir))
2051
-
2052
-
2053
- def CalculateGeneratorInputInfo(params):
2054
- """Called by __init__ to initialize generator values based on params."""
2055
- # E.g. "out/gypfiles"
2056
- toplevel = params["options"].toplevel_dir
2057
- qualified_out_dir = os.path.normpath(
2058
- os.path.join(toplevel, ComputeOutputDir(params), "gypfiles")
2059
- )
2060
-
2061
- global generator_filelist_paths
2062
- generator_filelist_paths = {
2063
- "toplevel": toplevel,
2064
- "qualified_out_dir": qualified_out_dir,
2065
- }
2066
-
2067
-
2068
- def OpenOutput(path, mode="w"):
2069
- """Open |path| for writing, creating directories if necessary."""
2070
- gyp.common.EnsureDirExists(path)
2071
- return open(path, mode)
2072
-
2073
-
2074
- def CommandWithWrapper(cmd, wrappers, prog):
2075
- if wrapper := wrappers.get(cmd, ""):
2076
- return wrapper + " " + prog
2077
- return prog
2078
-
2079
-
2080
- def GetDefaultConcurrentLinks():
2081
- """Returns a best-guess for a number of concurrent links."""
2082
- if pool_size := int(os.environ.get("GYP_LINK_CONCURRENCY") or 0):
2083
- return pool_size
2084
-
2085
- if sys.platform in ("win32", "cygwin"):
2086
-
2087
- class MEMORYSTATUSEX(ctypes.Structure):
2088
- _fields_ = [
2089
- ("dwLength", ctypes.c_ulong),
2090
- ("dwMemoryLoad", ctypes.c_ulong),
2091
- ("ullTotalPhys", ctypes.c_ulonglong),
2092
- ("ullAvailPhys", ctypes.c_ulonglong),
2093
- ("ullTotalPageFile", ctypes.c_ulonglong),
2094
- ("ullAvailPageFile", ctypes.c_ulonglong),
2095
- ("ullTotalVirtual", ctypes.c_ulonglong),
2096
- ("ullAvailVirtual", ctypes.c_ulonglong),
2097
- ("sullAvailExtendedVirtual", ctypes.c_ulonglong),
2098
- ]
2099
-
2100
- stat = MEMORYSTATUSEX()
2101
- stat.dwLength = ctypes.sizeof(stat)
2102
- ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(stat))
2103
-
2104
- # VS 2015 uses 20% more working set than VS 2013 and can consume all RAM
2105
- # on a 64 GiB machine.
2106
- mem_limit = max(1, stat.ullTotalPhys // (5 * (2**30))) # total / 5GiB
2107
- hard_cap = max(1, int(os.environ.get("GYP_LINK_CONCURRENCY_MAX") or 2**32))
2108
- return min(mem_limit, hard_cap)
2109
- elif sys.platform.startswith("linux"):
2110
- if os.path.exists("/proc/meminfo"):
2111
- with open("/proc/meminfo") as meminfo:
2112
- memtotal_re = re.compile(r"^MemTotal:\s*(\d*)\s*kB")
2113
- for line in meminfo:
2114
- match = memtotal_re.match(line)
2115
- if not match:
2116
- continue
2117
- # Allow 8Gb per link on Linux because Gold is quite memory hungry
2118
- return max(1, int(match.group(1)) // (8 * (2**20)))
2119
- return 1
2120
- elif sys.platform == "darwin":
2121
- try:
2122
- avail_bytes = int(subprocess.check_output(["sysctl", "-n", "hw.memsize"]))
2123
- # A static library debug build of Chromium's unit_tests takes ~2.7GB, so
2124
- # 4GB per ld process allows for some more bloat.
2125
- return max(1, avail_bytes // (4 * (2**30))) # total / 4GB
2126
- except subprocess.CalledProcessError:
2127
- return 1
2128
- else:
2129
- # TODO(scottmg): Implement this for other platforms.
2130
- return 1
2131
-
2132
-
2133
- def _GetWinLinkRuleNameSuffix(embed_manifest):
2134
- """Returns the suffix used to select an appropriate linking rule depending on
2135
- whether the manifest embedding is enabled."""
2136
- return "_embed" if embed_manifest else ""
2137
-
2138
-
2139
- def _AddWinLinkRules(master_ninja, embed_manifest):
2140
- """Adds link rules for Windows platform to |master_ninja|."""
2141
-
2142
- def FullLinkCommand(ldcmd, out, binary_type):
2143
- resource_name = {"exe": "1", "dll": "2"}[binary_type]
2144
- return (
2145
- "%(python)s gyp-win-tool link-with-manifests $arch %(embed)s "
2146
- '%(out)s "%(ldcmd)s" %(resname)s $mt $rc "$intermediatemanifest" '
2147
- "$manifests"
2148
- % {
2149
- "python": sys.executable,
2150
- "out": out,
2151
- "ldcmd": ldcmd,
2152
- "resname": resource_name,
2153
- "embed": embed_manifest,
2154
- }
2155
- )
2156
-
2157
- rule_name_suffix = _GetWinLinkRuleNameSuffix(embed_manifest)
2158
- use_separate_mspdbsrv = int(os.environ.get("GYP_USE_SEPARATE_MSPDBSRV", "0")) != 0
2159
- dlldesc = "LINK%s(DLL) $binary" % rule_name_suffix.upper()
2160
- dllcmd = (
2161
- "%s gyp-win-tool link-wrapper $arch %s "
2162
- "$ld /nologo $implibflag /DLL /OUT:$binary "
2163
- "@$binary.rsp" % (sys.executable, use_separate_mspdbsrv)
2164
- )
2165
- dllcmd = FullLinkCommand(dllcmd, "$binary", "dll")
2166
- master_ninja.rule(
2167
- "solink" + rule_name_suffix,
2168
- description=dlldesc,
2169
- command=dllcmd,
2170
- rspfile="$binary.rsp",
2171
- rspfile_content="$libs $in_newline $ldflags",
2172
- restat=True,
2173
- pool="link_pool",
2174
- )
2175
- master_ninja.rule(
2176
- "solink_module" + rule_name_suffix,
2177
- description=dlldesc,
2178
- command=dllcmd,
2179
- rspfile="$binary.rsp",
2180
- rspfile_content="$libs $in_newline $ldflags",
2181
- restat=True,
2182
- pool="link_pool",
2183
- )
2184
- # Note that ldflags goes at the end so that it has the option of
2185
- # overriding default settings earlier in the command line.
2186
- exe_cmd = (
2187
- "%s gyp-win-tool link-wrapper $arch %s "
2188
- "$ld /nologo /OUT:$binary @$binary.rsp"
2189
- % (sys.executable, use_separate_mspdbsrv)
2190
- )
2191
- exe_cmd = FullLinkCommand(exe_cmd, "$binary", "exe")
2192
- master_ninja.rule(
2193
- "link" + rule_name_suffix,
2194
- description="LINK%s $binary" % rule_name_suffix.upper(),
2195
- command=exe_cmd,
2196
- rspfile="$binary.rsp",
2197
- rspfile_content="$in_newline $libs $ldflags",
2198
- pool="link_pool",
2199
- )
2200
-
2201
-
2202
- def GenerateOutputForConfig(target_list, target_dicts, data, params, config_name):
2203
- options = params["options"]
2204
- flavor = gyp.common.GetFlavor(params)
2205
- generator_flags = params.get("generator_flags", {})
2206
- generate_compile_commands = generator_flags.get("compile_commands", False)
2207
-
2208
- # build_dir: relative path from source root to our output files.
2209
- # e.g. "out/Debug"
2210
- build_dir = os.path.normpath(os.path.join(ComputeOutputDir(params), config_name))
2211
-
2212
- toplevel_build = os.path.join(options.toplevel_dir, build_dir)
2213
-
2214
- master_ninja_file = OpenOutput(os.path.join(toplevel_build, "build.ninja"))
2215
- master_ninja = ninja_syntax.Writer(master_ninja_file, width=120)
2216
-
2217
- # Put build-time support tools in out/{config_name}.
2218
- gyp.common.CopyTool(flavor, toplevel_build, generator_flags)
2219
-
2220
- # Grab make settings for CC/CXX.
2221
- # The rules are
2222
- # - The priority from low to high is gcc/g++, the 'make_global_settings' in
2223
- # gyp, the environment variable.
2224
- # - If there is no 'make_global_settings' for CC.host/CXX.host or
2225
- # 'CC_host'/'CXX_host' environment variable, cc_host/cxx_host should be set
2226
- # to cc/cxx.
2227
- if flavor == "win":
2228
- ar = "lib.exe"
2229
- # cc and cxx must be set to the correct architecture by overriding with one
2230
- # of cl_x86 or cl_x64 below.
2231
- cc = "UNSET"
2232
- cxx = "UNSET"
2233
- ld = "link.exe"
2234
- ld_host = "$ld"
2235
- else:
2236
- ar = "ar"
2237
- cc = "cc"
2238
- cxx = "c++"
2239
- ld = "$cc"
2240
- ldxx = "$cxx"
2241
- ld_host = "$cc_host"
2242
- ldxx_host = "$cxx_host"
2243
-
2244
- ar_host = ar
2245
- cc_host = None
2246
- cxx_host = None
2247
- cc_host_global_setting = None
2248
- cxx_host_global_setting = None
2249
- clang_cl = None
2250
- nm = "nm"
2251
- nm_host = "nm"
2252
- readelf = "readelf"
2253
- readelf_host = "readelf"
2254
-
2255
- build_file, _, _ = gyp.common.ParseQualifiedTarget(target_list[0])
2256
- make_global_settings = data[build_file].get("make_global_settings", [])
2257
- build_to_root = gyp.common.InvertRelativePath(build_dir, options.toplevel_dir)
2258
- wrappers = {}
2259
- for key, value in make_global_settings:
2260
- if key == "AR":
2261
- ar = os.path.join(build_to_root, value)
2262
- if key == "AR.host":
2263
- ar_host = os.path.join(build_to_root, value)
2264
- if key == "CC":
2265
- cc = os.path.join(build_to_root, value)
2266
- if cc.endswith("clang-cl"):
2267
- clang_cl = cc
2268
- if key == "CXX":
2269
- cxx = os.path.join(build_to_root, value)
2270
- if key == "CC.host":
2271
- cc_host = os.path.join(build_to_root, value)
2272
- cc_host_global_setting = value
2273
- if key == "CXX.host":
2274
- cxx_host = os.path.join(build_to_root, value)
2275
- cxx_host_global_setting = value
2276
- if key == "LD":
2277
- ld = os.path.join(build_to_root, value)
2278
- if key == "LD.host":
2279
- ld_host = os.path.join(build_to_root, value)
2280
- if key == "LDXX":
2281
- ldxx = os.path.join(build_to_root, value)
2282
- if key == "LDXX.host":
2283
- ldxx_host = os.path.join(build_to_root, value)
2284
- if key == "NM":
2285
- nm = os.path.join(build_to_root, value)
2286
- if key == "NM.host":
2287
- nm_host = os.path.join(build_to_root, value)
2288
- if key == "READELF":
2289
- readelf = os.path.join(build_to_root, value)
2290
- if key == "READELF.host":
2291
- readelf_host = os.path.join(build_to_root, value)
2292
- if key.endswith("_wrapper"):
2293
- wrappers[key[: -len("_wrapper")]] = os.path.join(build_to_root, value)
2294
-
2295
- # Support wrappers from environment variables too.
2296
- for key, value in os.environ.items():
2297
- if key.lower().endswith("_wrapper"):
2298
- key_prefix = key[: -len("_wrapper")]
2299
- key_prefix = re.sub(r"\.HOST$", ".host", key_prefix)
2300
- wrappers[key_prefix] = os.path.join(build_to_root, value)
2301
-
2302
- if mac_toolchain_dir := generator_flags.get("mac_toolchain_dir", None):
2303
- wrappers["LINK"] = "export DEVELOPER_DIR='%s' &&" % mac_toolchain_dir
2304
-
2305
- if flavor == "win":
2306
- configs = [
2307
- target_dicts[qualified_target]["configurations"][config_name]
2308
- for qualified_target in target_list
2309
- ]
2310
- shared_system_includes = None
2311
- if not generator_flags.get("ninja_use_custom_environment_files", 0):
2312
- shared_system_includes = gyp.msvs_emulation.ExtractSharedMSVSSystemIncludes(
2313
- configs, generator_flags
2314
- )
2315
- cl_paths = gyp.msvs_emulation.GenerateEnvironmentFiles(
2316
- toplevel_build, generator_flags, shared_system_includes, OpenOutput
2317
- )
2318
- for arch, path in sorted(cl_paths.items()):
2319
- if clang_cl:
2320
- # If we have selected clang-cl, use that instead.
2321
- path = clang_cl
2322
- command = CommandWithWrapper(
2323
- "CC", wrappers, QuoteShellArgument(path, "win")
2324
- )
2325
- if clang_cl:
2326
- # Use clang-cl to cross-compile for x86 or x86_64.
2327
- command += " -m32" if arch == "x86" else " -m64"
2328
- master_ninja.variable("cl_" + arch, command)
2329
-
2330
- cc = GetEnvironFallback(["CC_target", "CC"], cc)
2331
- master_ninja.variable("cc", CommandWithWrapper("CC", wrappers, cc))
2332
- cxx = GetEnvironFallback(["CXX_target", "CXX"], cxx)
2333
- master_ninja.variable("cxx", CommandWithWrapper("CXX", wrappers, cxx))
2334
-
2335
- if flavor == "win":
2336
- master_ninja.variable("ld", ld)
2337
- master_ninja.variable("idl", "midl.exe")
2338
- master_ninja.variable("ar", ar)
2339
- master_ninja.variable("rc", "rc.exe")
2340
- master_ninja.variable("ml_x86", "ml.exe")
2341
- master_ninja.variable("ml_x64", "ml64.exe")
2342
- master_ninja.variable("ml_arm64", "armasm64.exe")
2343
- master_ninja.variable("mt", "mt.exe")
2344
- else:
2345
- master_ninja.variable("ld", CommandWithWrapper("LINK", wrappers, ld))
2346
- master_ninja.variable("ldxx", CommandWithWrapper("LINK", wrappers, ldxx))
2347
- master_ninja.variable("ar", GetEnvironFallback(["AR_target", "AR"], ar))
2348
- if flavor != "mac":
2349
- # Mac does not use readelf/nm for .TOC generation, so avoiding polluting
2350
- # the master ninja with extra unused variables.
2351
- master_ninja.variable("nm", GetEnvironFallback(["NM_target", "NM"], nm))
2352
- master_ninja.variable(
2353
- "readelf", GetEnvironFallback(["READELF_target", "READELF"], readelf)
2354
- )
2355
-
2356
- if generator_supports_multiple_toolsets:
2357
- if not cc_host:
2358
- cc_host = cc
2359
- if not cxx_host:
2360
- cxx_host = cxx
2361
-
2362
- master_ninja.variable("ar_host", GetEnvironFallback(["AR_host"], ar_host))
2363
- master_ninja.variable("nm_host", GetEnvironFallback(["NM_host"], nm_host))
2364
- master_ninja.variable(
2365
- "readelf_host", GetEnvironFallback(["READELF_host"], readelf_host)
2366
- )
2367
- cc_host = GetEnvironFallback(["CC_host"], cc_host)
2368
- cxx_host = GetEnvironFallback(["CXX_host"], cxx_host)
2369
-
2370
- # The environment variable could be used in 'make_global_settings', like
2371
- # ['CC.host', '$(CC)'] or ['CXX.host', '$(CXX)'], transform them here.
2372
- if "$(CC)" in cc_host and cc_host_global_setting:
2373
- cc_host = cc_host_global_setting.replace("$(CC)", cc)
2374
- if "$(CXX)" in cxx_host and cxx_host_global_setting:
2375
- cxx_host = cxx_host_global_setting.replace("$(CXX)", cxx)
2376
- master_ninja.variable(
2377
- "cc_host", CommandWithWrapper("CC.host", wrappers, cc_host)
2378
- )
2379
- master_ninja.variable(
2380
- "cxx_host", CommandWithWrapper("CXX.host", wrappers, cxx_host)
2381
- )
2382
- if flavor == "win":
2383
- master_ninja.variable("ld_host", ld_host)
2384
- else:
2385
- master_ninja.variable(
2386
- "ld_host", CommandWithWrapper("LINK", wrappers, ld_host)
2387
- )
2388
- master_ninja.variable(
2389
- "ldxx_host", CommandWithWrapper("LINK", wrappers, ldxx_host)
2390
- )
2391
-
2392
- master_ninja.newline()
2393
-
2394
- master_ninja.pool("link_pool", depth=GetDefaultConcurrentLinks())
2395
- master_ninja.newline()
2396
-
2397
- deps = "msvc" if flavor == "win" else "gcc"
2398
-
2399
- if flavor != "win":
2400
- master_ninja.rule(
2401
- "cc",
2402
- description="CC $out",
2403
- command=(
2404
- "$cc -MMD -MF $out.d $defines $includes $cflags $cflags_c "
2405
- "$cflags_pch_c -c $in -o $out"
2406
- ),
2407
- depfile="$out.d",
2408
- deps=deps,
2409
- )
2410
- master_ninja.rule(
2411
- "cc_s",
2412
- description="CC $out",
2413
- command=(
2414
- "$cc $defines $includes $cflags $cflags_c $cflags_pch_c -c $in -o $out"
2415
- ),
2416
- )
2417
- master_ninja.rule(
2418
- "cxx",
2419
- description="CXX $out",
2420
- command=(
2421
- "$cxx -MMD -MF $out.d $defines $includes $cflags $cflags_cc "
2422
- "$cflags_pch_cc -c $in -o $out"
2423
- ),
2424
- depfile="$out.d",
2425
- deps=deps,
2426
- )
2427
- else:
2428
- # TODO(scottmg) Separate pdb names is a test to see if it works around
2429
- # http://crbug.com/142362. It seems there's a race between the creation of
2430
- # the .pdb by the precompiled header step for .cc and the compilation of
2431
- # .c files. This should be handled by mspdbsrv, but rarely errors out with
2432
- # c1xx : fatal error C1033: cannot open program database
2433
- # By making the rules target separate pdb files this might be avoided.
2434
- cc_command = (
2435
- "ninja -t msvc -e $arch " + "-- "
2436
- "$cc /nologo /showIncludes /FC "
2437
- "@$out.rsp /c $in /Fo$out /Fd$pdbname_c "
2438
- )
2439
- cxx_command = (
2440
- "ninja -t msvc -e $arch " + "-- "
2441
- "$cxx /nologo /showIncludes /FC "
2442
- "@$out.rsp /c $in /Fo$out /Fd$pdbname_cc "
2443
- )
2444
- master_ninja.rule(
2445
- "cc",
2446
- description="CC $out",
2447
- command=cc_command,
2448
- rspfile="$out.rsp",
2449
- rspfile_content="$defines $includes $cflags $cflags_c",
2450
- deps=deps,
2451
- )
2452
- master_ninja.rule(
2453
- "cxx",
2454
- description="CXX $out",
2455
- command=cxx_command,
2456
- rspfile="$out.rsp",
2457
- rspfile_content="$defines $includes $cflags $cflags_cc",
2458
- deps=deps,
2459
- )
2460
- master_ninja.rule(
2461
- "idl",
2462
- description="IDL $in",
2463
- command=(
2464
- "%s gyp-win-tool midl-wrapper $arch $outdir "
2465
- "$tlb $h $dlldata $iid $proxy $in "
2466
- "$midl_includes $idlflags" % sys.executable
2467
- ),
2468
- )
2469
- master_ninja.rule(
2470
- "rc",
2471
- description="RC $in",
2472
- # Note: $in must be last otherwise rc.exe complains.
2473
- command=(
2474
- "%s gyp-win-tool rc-wrapper "
2475
- "$arch $rc $defines $resource_includes $rcflags /fo$out $in"
2476
- % sys.executable
2477
- ),
2478
- )
2479
- master_ninja.rule(
2480
- "asm",
2481
- description="ASM $out",
2482
- command=(
2483
- "%s gyp-win-tool asm-wrapper "
2484
- "$arch $asm $defines $includes $asmflags /c /Fo $out $in"
2485
- % sys.executable
2486
- ),
2487
- )
2488
-
2489
- if flavor not in ("ios", "mac", "win"):
2490
- master_ninja.rule(
2491
- "alink",
2492
- description="AR $out",
2493
- command="rm -f $out && $ar rcs $arflags $out $in",
2494
- )
2495
- master_ninja.rule(
2496
- "alink_thin",
2497
- description="AR $out",
2498
- command="rm -f $out && $ar rcsT $arflags $out $in",
2499
- )
2500
-
2501
- # This allows targets that only need to depend on $lib's API to declare an
2502
- # order-only dependency on $lib.TOC and avoid relinking such downstream
2503
- # dependencies when $lib changes only in non-public ways.
2504
- # The resulting string leaves an uninterpolated %{suffix} which
2505
- # is used in the final substitution below.
2506
- mtime_preserving_solink_base = (
2507
- "if [ ! -e $lib -o ! -e $lib.TOC ]; then "
2508
- "%(solink)s && %(extract_toc)s > $lib.TOC; else "
2509
- "%(solink)s && %(extract_toc)s > $lib.tmp && "
2510
- "if ! cmp -s $lib.tmp $lib.TOC; then mv $lib.tmp $lib.TOC ; "
2511
- "fi; fi"
2512
- % {
2513
- "solink": "$ld -shared $ldflags -o $lib -Wl,-soname=$soname %(suffix)s",
2514
- "extract_toc": (
2515
- "{ $readelf -d $lib | grep SONAME ; "
2516
- "$nm -gD -f p $lib | cut -f1-2 -d' '; }"
2517
- ),
2518
- }
2519
- )
2520
-
2521
- master_ninja.rule(
2522
- "solink",
2523
- description="SOLINK $lib",
2524
- restat=True,
2525
- command=mtime_preserving_solink_base % {"suffix": "@$link_file_list"},
2526
- rspfile="$link_file_list",
2527
- rspfile_content=(
2528
- "-Wl,--whole-archive $in $solibs -Wl,--no-whole-archive $libs"
2529
- ),
2530
- pool="link_pool",
2531
- )
2532
- master_ninja.rule(
2533
- "solink_module",
2534
- description="SOLINK(module) $lib",
2535
- restat=True,
2536
- command=mtime_preserving_solink_base % {"suffix": "@$link_file_list"},
2537
- rspfile="$link_file_list",
2538
- rspfile_content="-Wl,--start-group $in $solibs $libs -Wl,--end-group",
2539
- pool="link_pool",
2540
- )
2541
- master_ninja.rule(
2542
- "link",
2543
- description="LINK $out",
2544
- command=(
2545
- "$ld $ldflags -o $out "
2546
- "-Wl,--start-group $in $solibs $libs -Wl,--end-group"
2547
- ),
2548
- pool="link_pool",
2549
- )
2550
- elif flavor == "win":
2551
- master_ninja.rule(
2552
- "alink",
2553
- description="LIB $out",
2554
- command=(
2555
- "%s gyp-win-tool link-wrapper $arch False "
2556
- "$ar /nologo /ignore:4221 /OUT:$out @$out.rsp" % sys.executable
2557
- ),
2558
- rspfile="$out.rsp",
2559
- rspfile_content="$in_newline $libflags",
2560
- )
2561
- _AddWinLinkRules(master_ninja, embed_manifest=True)
2562
- _AddWinLinkRules(master_ninja, embed_manifest=False)
2563
- else:
2564
- master_ninja.rule(
2565
- "objc",
2566
- description="OBJC $out",
2567
- command=(
2568
- "$cc -MMD -MF $out.d $defines $includes $cflags $cflags_objc "
2569
- "$cflags_pch_objc -c $in -o $out"
2570
- ),
2571
- depfile="$out.d",
2572
- deps=deps,
2573
- )
2574
- master_ninja.rule(
2575
- "objcxx",
2576
- description="OBJCXX $out",
2577
- command=(
2578
- "$cxx -MMD -MF $out.d $defines $includes $cflags $cflags_objcc "
2579
- "$cflags_pch_objcc -c $in -o $out"
2580
- ),
2581
- depfile="$out.d",
2582
- deps=deps,
2583
- )
2584
- master_ninja.rule(
2585
- "alink",
2586
- description="LIBTOOL-STATIC $out, POSTBUILDS",
2587
- command="rm -f $out && "
2588
- "%s gyp-mac-tool filter-libtool libtool $libtool_flags "
2589
- "-static -o $out $in"
2590
- "$postbuilds" % sys.executable,
2591
- )
2592
- master_ninja.rule(
2593
- "lipo",
2594
- description="LIPO $out, POSTBUILDS",
2595
- command="rm -f $out && lipo -create $in -output $out$postbuilds",
2596
- )
2597
- master_ninja.rule(
2598
- "solipo",
2599
- description="SOLIPO $out, POSTBUILDS",
2600
- command=(
2601
- "rm -f $lib $lib.TOC && lipo -create $in -output $lib$postbuilds &&"
2602
- "%(extract_toc)s > $lib.TOC"
2603
- % {
2604
- "extract_toc": "{ otool -l $lib | grep LC_ID_DYLIB -A 5; "
2605
- "nm -gP $lib | cut -f1-2 -d' ' | grep -v U$$; true; }"
2606
- }
2607
- ),
2608
- )
2609
-
2610
- # Record the public interface of $lib in $lib.TOC. See the corresponding
2611
- # comment in the posix section above for details.
2612
- solink_base = "$ld %(type)s $ldflags -o $lib %(suffix)s"
2613
- mtime_preserving_solink_base = (
2614
- "if [ ! -e $lib -o ! -e $lib.TOC ] || "
2615
- # Always force dependent targets to relink if this library
2616
- # reexports something. Handling this correctly would require
2617
- # recursive TOC dumping but this is rare in practice, so punt.
2618
- "otool -l $lib | grep -q LC_REEXPORT_DYLIB ; then "
2619
- "%(solink)s && %(extract_toc)s > $lib.TOC; "
2620
- "else "
2621
- "%(solink)s && %(extract_toc)s > $lib.tmp && "
2622
- "if ! cmp -s $lib.tmp $lib.TOC; then "
2623
- "mv $lib.tmp $lib.TOC ; "
2624
- "fi; "
2625
- "fi"
2626
- % {
2627
- "solink": solink_base,
2628
- "extract_toc": "{ otool -l $lib | grep LC_ID_DYLIB -A 5; "
2629
- "nm -gP $lib | cut -f1-2 -d' ' | grep -v U$$; true; }",
2630
- }
2631
- )
2632
-
2633
- solink_suffix = "@$link_file_list$postbuilds"
2634
- master_ninja.rule(
2635
- "solink",
2636
- description="SOLINK $lib, POSTBUILDS",
2637
- restat=True,
2638
- command=mtime_preserving_solink_base
2639
- % {"suffix": solink_suffix, "type": "-shared"},
2640
- rspfile="$link_file_list",
2641
- rspfile_content="$in $solibs $libs",
2642
- pool="link_pool",
2643
- )
2644
- master_ninja.rule(
2645
- "solink_notoc",
2646
- description="SOLINK $lib, POSTBUILDS",
2647
- restat=True,
2648
- command=solink_base % {"suffix": solink_suffix, "type": "-shared"},
2649
- rspfile="$link_file_list",
2650
- rspfile_content="$in $solibs $libs",
2651
- pool="link_pool",
2652
- )
2653
-
2654
- master_ninja.rule(
2655
- "solink_module",
2656
- description="SOLINK(module) $lib, POSTBUILDS",
2657
- restat=True,
2658
- command=mtime_preserving_solink_base
2659
- % {"suffix": solink_suffix, "type": "-bundle"},
2660
- rspfile="$link_file_list",
2661
- rspfile_content="$in $solibs $libs",
2662
- pool="link_pool",
2663
- )
2664
- master_ninja.rule(
2665
- "solink_module_notoc",
2666
- description="SOLINK(module) $lib, POSTBUILDS",
2667
- restat=True,
2668
- command=solink_base % {"suffix": solink_suffix, "type": "-bundle"},
2669
- rspfile="$link_file_list",
2670
- rspfile_content="$in $solibs $libs",
2671
- pool="link_pool",
2672
- )
2673
-
2674
- master_ninja.rule(
2675
- "link",
2676
- description="LINK $out, POSTBUILDS",
2677
- command=("$ld $ldflags -o $out $in $solibs $libs$postbuilds"),
2678
- pool="link_pool",
2679
- )
2680
- master_ninja.rule(
2681
- "preprocess_infoplist",
2682
- description="PREPROCESS INFOPLIST $out",
2683
- command=(
2684
- "$cc -E -P -Wno-trigraphs -x c $defines $in -o $out && "
2685
- "plutil -convert xml1 $out $out"
2686
- ),
2687
- )
2688
- master_ninja.rule(
2689
- "copy_infoplist",
2690
- description="COPY INFOPLIST $in",
2691
- command="$env %s gyp-mac-tool copy-info-plist $in $out $binary $keys"
2692
- % sys.executable,
2693
- )
2694
- master_ninja.rule(
2695
- "merge_infoplist",
2696
- description="MERGE INFOPLISTS $in",
2697
- command="$env %s gyp-mac-tool merge-info-plist $out $in" % sys.executable,
2698
- )
2699
- master_ninja.rule(
2700
- "compile_xcassets",
2701
- description="COMPILE XCASSETS $in",
2702
- command="$env %s gyp-mac-tool compile-xcassets $keys $in" % sys.executable,
2703
- )
2704
- master_ninja.rule(
2705
- "compile_ios_framework_headers",
2706
- description="COMPILE HEADER MAPS AND COPY FRAMEWORK HEADERS $in",
2707
- command="$env %(python)s gyp-mac-tool compile-ios-framework-header-map "
2708
- "$out $framework $in && $env %(python)s gyp-mac-tool "
2709
- "copy-ios-framework-headers $framework $copy_headers"
2710
- % {"python": sys.executable},
2711
- )
2712
- master_ninja.rule(
2713
- "mac_tool",
2714
- description="MACTOOL $mactool_cmd $in",
2715
- command="$env %s gyp-mac-tool $mactool_cmd $in $out $binary"
2716
- % sys.executable,
2717
- )
2718
- master_ninja.rule(
2719
- "package_framework",
2720
- description="PACKAGE FRAMEWORK $out, POSTBUILDS",
2721
- command="%s gyp-mac-tool package-framework $out $version$postbuilds "
2722
- "&& touch $out" % sys.executable,
2723
- )
2724
- master_ninja.rule(
2725
- "package_ios_framework",
2726
- description="PACKAGE IOS FRAMEWORK $out, POSTBUILDS",
2727
- command="%s gyp-mac-tool package-ios-framework $out $postbuilds "
2728
- "&& touch $out" % sys.executable,
2729
- )
2730
- if flavor == "win":
2731
- master_ninja.rule(
2732
- "stamp",
2733
- description="STAMP $out",
2734
- command="%s gyp-win-tool stamp $out" % sys.executable,
2735
- )
2736
- else:
2737
- master_ninja.rule(
2738
- "stamp", description="STAMP $out", command="${postbuilds}touch $out"
2739
- )
2740
- if flavor == "win":
2741
- master_ninja.rule(
2742
- "copy",
2743
- description="COPY $in $out",
2744
- command="%s gyp-win-tool recursive-mirror $in $out" % sys.executable,
2745
- )
2746
- elif flavor == "zos":
2747
- master_ninja.rule(
2748
- "copy",
2749
- description="COPY $in $out",
2750
- command="rm -rf $out && cp -fRP $in $out",
2751
- )
2752
- else:
2753
- master_ninja.rule(
2754
- "copy",
2755
- description="COPY $in $out",
2756
- command="ln -f $in $out 2>/dev/null || (rm -rf $out && cp -af $in $out)",
2757
- )
2758
- master_ninja.newline()
2759
-
2760
- all_targets = set()
2761
- for build_file in params["build_files"]:
2762
- for target in gyp.common.AllTargets(
2763
- target_list, target_dicts, os.path.normpath(build_file)
2764
- ):
2765
- all_targets.add(target)
2766
- all_outputs = set()
2767
-
2768
- # target_outputs is a map from qualified target name to a Target object.
2769
- target_outputs = {}
2770
- # target_short_names is a map from target short name to a list of Target
2771
- # objects.
2772
- target_short_names = {}
2773
-
2774
- # short name of targets that were skipped because they didn't contain anything
2775
- # interesting.
2776
- # NOTE: there may be overlap between this an non_empty_target_names.
2777
- empty_target_names = set()
2778
-
2779
- # Set of non-empty short target names.
2780
- # NOTE: there may be overlap between this an empty_target_names.
2781
- non_empty_target_names = set()
2782
-
2783
- for qualified_target in target_list:
2784
- # qualified_target is like: third_party/icu/icu.gyp:icui18n#target
2785
- build_file, name, toolset = gyp.common.ParseQualifiedTarget(qualified_target)
2786
-
2787
- this_make_global_settings = data[build_file].get("make_global_settings", [])
2788
- assert make_global_settings == this_make_global_settings, (
2789
- "make_global_settings needs to be the same for all targets. "
2790
- f"{this_make_global_settings} vs. {make_global_settings}"
2791
- )
2792
-
2793
- spec = target_dicts[qualified_target]
2794
- if flavor == "mac":
2795
- gyp.xcode_emulation.MergeGlobalXcodeSettingsToSpec(data[build_file], spec)
2796
-
2797
- # If build_file is a symlink, we must not follow it because there's a chance
2798
- # it could point to a path above toplevel_dir, and we cannot correctly deal
2799
- # with that case at the moment.
2800
- build_file = gyp.common.RelativePath(build_file, options.toplevel_dir, False)
2801
-
2802
- qualified_target_for_hash = gyp.common.QualifiedTarget(
2803
- build_file, name, toolset
2804
- )
2805
- qualified_target_for_hash = qualified_target_for_hash.encode("utf-8")
2806
- hash_for_rules = hashlib.sha256(qualified_target_for_hash).hexdigest()
2807
-
2808
- base_path = os.path.dirname(build_file)
2809
- obj = "obj"
2810
- if toolset != "target":
2811
- obj += "." + toolset
2812
- output_file = os.path.join(obj, base_path, name + ".ninja")
2813
-
2814
- ninja_output = StringIO()
2815
- writer = NinjaWriter(
2816
- hash_for_rules,
2817
- target_outputs,
2818
- base_path,
2819
- build_dir,
2820
- ninja_output,
2821
- toplevel_build,
2822
- output_file,
2823
- flavor,
2824
- toplevel_dir=options.toplevel_dir,
2825
- )
2826
-
2827
- target = writer.WriteSpec(spec, config_name, generator_flags)
2828
-
2829
- if ninja_output.tell() > 0:
2830
- # Only create files for ninja files that actually have contents.
2831
- with OpenOutput(os.path.join(toplevel_build, output_file)) as ninja_file:
2832
- ninja_file.write(ninja_output.getvalue())
2833
- ninja_output.close()
2834
- master_ninja.subninja(output_file)
2835
-
2836
- if target:
2837
- if name != target.FinalOutput() and spec["toolset"] == "target":
2838
- target_short_names.setdefault(name, []).append(target)
2839
- target_outputs[qualified_target] = target
2840
- if qualified_target in all_targets:
2841
- all_outputs.add(target.FinalOutput())
2842
- non_empty_target_names.add(name)
2843
- else:
2844
- empty_target_names.add(name)
2845
-
2846
- if target_short_names:
2847
- # Write a short name to build this target. This benefits both the
2848
- # "build chrome" case as well as the gyp tests, which expect to be
2849
- # able to run actions and build libraries by their short name.
2850
- master_ninja.newline()
2851
- master_ninja.comment("Short names for targets.")
2852
- for short_name in sorted(target_short_names):
2853
- master_ninja.build(
2854
- short_name,
2855
- "phony",
2856
- [x.FinalOutput() for x in target_short_names[short_name]],
2857
- )
2858
-
2859
- # Write phony targets for any empty targets that weren't written yet. As
2860
- # short names are not necessarily unique only do this for short names that
2861
- # haven't already been output for another target.
2862
- empty_target_names = empty_target_names - non_empty_target_names
2863
- if empty_target_names:
2864
- master_ninja.newline()
2865
- master_ninja.comment("Empty targets (output for completeness).")
2866
- for name in sorted(empty_target_names):
2867
- master_ninja.build(name, "phony")
2868
-
2869
- if all_outputs:
2870
- master_ninja.newline()
2871
- master_ninja.build("all", "phony", sorted(all_outputs))
2872
- master_ninja.default(generator_flags.get("default_target", "all"))
2873
-
2874
- master_ninja_file.close()
2875
-
2876
- if generate_compile_commands:
2877
- compile_db = GenerateCompileDBWithNinja(toplevel_build)
2878
- compile_db_file = OpenOutput(
2879
- os.path.join(toplevel_build, "compile_commands.json")
2880
- )
2881
- compile_db_file.write(json.dumps(compile_db, indent=2))
2882
- compile_db_file.close()
2883
-
2884
-
2885
- def GenerateCompileDBWithNinja(path, targets=["all"]):
2886
- """Generates a compile database using ninja.
2887
-
2888
- Args:
2889
- path: The build directory to generate a compile database for.
2890
- targets: Additional targets to pass to ninja.
2891
-
2892
- Returns:
2893
- List of the contents of the compile database.
2894
- """
2895
- ninja_path = shutil.which("ninja")
2896
- if ninja_path is None:
2897
- raise Exception("ninja not found in PATH")
2898
- json_compile_db = subprocess.check_output(
2899
- [ninja_path, "-C", path]
2900
- + targets
2901
- + ["-t", "compdb", "cc", "cxx", "objc", "objcxx"]
2902
- )
2903
- return json.loads(json_compile_db)
2904
-
2905
-
2906
- def PerformBuild(data, configurations, params):
2907
- options = params["options"]
2908
- for config in configurations:
2909
- builddir = os.path.join(options.toplevel_dir, "out", config)
2910
- arguments = ["ninja", "-C", builddir]
2911
- print(f"Building [{config}]: {arguments}")
2912
- subprocess.check_call(arguments)
2913
-
2914
-
2915
- def CallGenerateOutputForConfig(arglist):
2916
- # Ignore the interrupt signal so that the parent process catches it and
2917
- # kills all multiprocessing children.
2918
- signal.signal(signal.SIGINT, signal.SIG_IGN)
2919
-
2920
- (target_list, target_dicts, data, params, config_name) = arglist
2921
- GenerateOutputForConfig(target_list, target_dicts, data, params, config_name)
2922
-
2923
-
2924
- def GenerateOutput(target_list, target_dicts, data, params):
2925
- # Update target_dicts for iOS device builds.
2926
- target_dicts = gyp.xcode_emulation.CloneConfigurationForDeviceAndEmulator(
2927
- target_dicts
2928
- )
2929
-
2930
- user_config = params.get("generator_flags", {}).get("config", None)
2931
- if gyp.common.GetFlavor(params) == "win":
2932
- target_list, target_dicts = MSVSUtil.ShardTargets(target_list, target_dicts)
2933
- target_list, target_dicts = MSVSUtil.InsertLargePdbShims(
2934
- target_list, target_dicts, generator_default_variables
2935
- )
2936
-
2937
- if user_config:
2938
- GenerateOutputForConfig(target_list, target_dicts, data, params, user_config)
2939
- else:
2940
- config_names = target_dicts[target_list[0]]["configurations"]
2941
- if params["parallel"]:
2942
- try:
2943
- pool = multiprocessing.Pool(len(config_names))
2944
- arglists = []
2945
- for config_name in config_names:
2946
- arglists.append(
2947
- (target_list, target_dicts, data, params, config_name)
2948
- )
2949
- pool.map(CallGenerateOutputForConfig, arglists)
2950
- except KeyboardInterrupt as e:
2951
- pool.terminate()
2952
- raise e
2953
- else:
2954
- for config_name in config_names:
2955
- GenerateOutputForConfig(
2956
- target_list, target_dicts, data, params, config_name
2957
- )