pi-cursor-sdk 0.1.4 → 0.1.6

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 (2607) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +40 -17
  3. package/docs/cursor-model-ux-spec.md +11 -2
  4. package/package.json +2 -5
  5. package/src/cursor-native-tool-display.ts +145 -0
  6. package/src/cursor-provider.ts +552 -88
  7. package/src/cursor-tool-transcript.ts +553 -0
  8. package/src/index.ts +2 -0
  9. package/src/model-discovery.ts +34 -10
  10. package/node_modules/@bufbuild/protobuf/README.md +0 -43
  11. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.d.ts +0 -422
  12. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-encoding.js +0 -444
  13. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.d.ts +0 -113
  14. package/node_modules/@bufbuild/protobuf/dist/cjs/binary-format.js +0 -15
  15. package/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.d.ts +0 -33
  16. package/node_modules/@bufbuild/protobuf/dist/cjs/codegen-info.js +0 -69
  17. package/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.d.ts +0 -36
  18. package/node_modules/@bufbuild/protobuf/dist/cjs/create-descriptor-set.js +0 -910
  19. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.d.ts +0 -15
  20. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry-from-desc.js +0 -264
  21. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.d.ts +0 -9
  22. package/node_modules/@bufbuild/protobuf/dist/cjs/create-registry.js +0 -94
  23. package/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.d.ts +0 -672
  24. package/node_modules/@bufbuild/protobuf/dist/cjs/descriptor-set.js +0 -15
  25. package/node_modules/@bufbuild/protobuf/dist/cjs/enum.d.ts +0 -35
  26. package/node_modules/@bufbuild/protobuf/dist/cjs/enum.js +0 -15
  27. package/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.d.ts +0 -35
  28. package/node_modules/@bufbuild/protobuf/dist/cjs/extension-accessor.js +0 -114
  29. package/node_modules/@bufbuild/protobuf/dist/cjs/extension.d.ts +0 -24
  30. package/node_modules/@bufbuild/protobuf/dist/cjs/extension.js +0 -15
  31. package/node_modules/@bufbuild/protobuf/dist/cjs/field-list.d.ts +0 -27
  32. package/node_modules/@bufbuild/protobuf/dist/cjs/field-list.js +0 -15
  33. package/node_modules/@bufbuild/protobuf/dist/cjs/field.d.ts +0 -314
  34. package/node_modules/@bufbuild/protobuf/dist/cjs/field.js +0 -15
  35. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.d.ts +0 -157
  36. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/any_pb.js +0 -273
  37. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.d.ts +0 -256
  38. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/api_pb.js +0 -316
  39. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.d.ts +0 -271
  40. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/compiler/plugin_pb.js +0 -219
  41. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.d.ts +0 -2277
  42. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/descriptor_pb.js +0 -2077
  43. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.d.ts +0 -100
  44. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/duration_pb.js +0 -169
  45. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.d.ts +0 -28
  46. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/empty_pb.js +0 -52
  47. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.d.ts +0 -227
  48. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/field_mask_pb.js +0 -311
  49. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.d.ts +0 -29
  50. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/source_context_pb.js +0 -55
  51. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.d.ts +0 -158
  52. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/struct_pb.js +0 -240
  53. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.d.ts +0 -132
  54. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/timestamp_pb.js +0 -213
  55. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.d.ts +0 -437
  56. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/type_pb.js +0 -562
  57. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.d.ts +0 -267
  58. package/node_modules/@bufbuild/protobuf/dist/cjs/google/protobuf/wrappers_pb.js +0 -569
  59. package/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.d.ts +0 -70
  60. package/node_modules/@bufbuild/protobuf/dist/cjs/google/varint.js +0 -323
  61. package/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts +0 -42
  62. package/node_modules/@bufbuild/protobuf/dist/cjs/index.js +0 -84
  63. package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts +0 -22
  64. package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js +0 -52
  65. package/node_modules/@bufbuild/protobuf/dist/cjs/json-format.d.ts +0 -111
  66. package/node_modules/@bufbuild/protobuf/dist/cjs/json-format.js +0 -15
  67. package/node_modules/@bufbuild/protobuf/dist/cjs/message-type.d.ts +0 -51
  68. package/node_modules/@bufbuild/protobuf/dist/cjs/message-type.js +0 -15
  69. package/node_modules/@bufbuild/protobuf/dist/cjs/message.d.ts +0 -131
  70. package/node_modules/@bufbuild/protobuf/dist/cjs/message.js +0 -129
  71. package/node_modules/@bufbuild/protobuf/dist/cjs/package.json +0 -1
  72. package/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.d.ts +0 -16
  73. package/node_modules/@bufbuild/protobuf/dist/cjs/private/assert.js +0 -59
  74. package/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.d.ts +0 -7
  75. package/node_modules/@bufbuild/protobuf/dist/cjs/private/binary-format.js +0 -431
  76. package/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.d.ts +0 -27
  77. package/node_modules/@bufbuild/protobuf/dist/cjs/private/enum.js +0 -94
  78. package/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.d.ts +0 -34
  79. package/node_modules/@bufbuild/protobuf/dist/cjs/private/extensions.js +0 -86
  80. package/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.d.ts +0 -19
  81. package/node_modules/@bufbuild/protobuf/dist/cjs/private/feature-set.js +0 -120
  82. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.d.ts +0 -18
  83. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-list.js +0 -76
  84. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.d.ts +0 -9
  85. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-normalize.js +0 -69
  86. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.d.ts +0 -25
  87. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field-wrapper.js +0 -57
  88. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field.d.ts +0 -16
  89. package/node_modules/@bufbuild/protobuf/dist/cjs/private/field.js +0 -45
  90. package/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.d.ts +0 -2
  91. package/node_modules/@bufbuild/protobuf/dist/cjs/private/json-format.js +0 -626
  92. package/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.d.ts +0 -18
  93. package/node_modules/@bufbuild/protobuf/dist/cjs/private/message-type.js +0 -50
  94. package/node_modules/@bufbuild/protobuf/dist/cjs/private/names.d.ts +0 -43
  95. package/node_modules/@bufbuild/protobuf/dist/cjs/private/names.js +0 -278
  96. package/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.d.ts +0 -7
  97. package/node_modules/@bufbuild/protobuf/dist/cjs/private/options-map.js +0 -15
  98. package/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.d.ts +0 -53
  99. package/node_modules/@bufbuild/protobuf/dist/cjs/private/proto-runtime.js +0 -41
  100. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.d.ts +0 -9
  101. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reflect.js +0 -79
  102. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.d.ts +0 -102
  103. package/node_modules/@bufbuild/protobuf/dist/cjs/private/reify-wkt.js +0 -172
  104. package/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.d.ts +0 -18
  105. package/node_modules/@bufbuild/protobuf/dist/cjs/private/scalars.js +0 -105
  106. package/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.d.ts +0 -4
  107. package/node_modules/@bufbuild/protobuf/dist/cjs/private/text-format.js +0 -189
  108. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.d.ts +0 -2
  109. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util-common.js +0 -237
  110. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util.d.ts +0 -38
  111. package/node_modules/@bufbuild/protobuf/dist/cjs/private/util.js +0 -15
  112. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.d.ts +0 -18
  113. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-base64.js +0 -128
  114. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.d.ts +0 -54
  115. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-delimited.js +0 -155
  116. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.d.ts +0 -5
  117. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-double.js +0 -29
  118. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts +0 -95
  119. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js +0 -116
  120. package/node_modules/@bufbuild/protobuf/dist/cjs/proto2.d.ts +0 -4
  121. package/node_modules/@bufbuild/protobuf/dist/cjs/proto2.js +0 -53
  122. package/node_modules/@bufbuild/protobuf/dist/cjs/proto3.d.ts +0 -4
  123. package/node_modules/@bufbuild/protobuf/dist/cjs/proto3.js +0 -56
  124. package/node_modules/@bufbuild/protobuf/dist/cjs/scalar.d.ts +0 -53
  125. package/node_modules/@bufbuild/protobuf/dist/cjs/scalar.js +0 -81
  126. package/node_modules/@bufbuild/protobuf/dist/cjs/service-type.d.ts +0 -96
  127. package/node_modules/@bufbuild/protobuf/dist/cjs/service-type.js +0 -53
  128. package/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.d.ts +0 -12
  129. package/node_modules/@bufbuild/protobuf/dist/cjs/to-plain-message.js +0 -72
  130. package/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.d.ts +0 -57
  131. package/node_modules/@bufbuild/protobuf/dist/cjs/type-registry.js +0 -15
  132. package/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.d.ts +0 -422
  133. package/node_modules/@bufbuild/protobuf/dist/esm/binary-encoding.js +0 -439
  134. package/node_modules/@bufbuild/protobuf/dist/esm/binary-format.d.ts +0 -113
  135. package/node_modules/@bufbuild/protobuf/dist/esm/binary-format.js +0 -14
  136. package/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.d.ts +0 -33
  137. package/node_modules/@bufbuild/protobuf/dist/esm/codegen-info.js +0 -67
  138. package/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.d.ts +0 -36
  139. package/node_modules/@bufbuild/protobuf/dist/esm/create-descriptor-set.js +0 -906
  140. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.d.ts +0 -15
  141. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry-from-desc.js +0 -261
  142. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry.d.ts +0 -9
  143. package/node_modules/@bufbuild/protobuf/dist/esm/create-registry.js +0 -90
  144. package/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.d.ts +0 -672
  145. package/node_modules/@bufbuild/protobuf/dist/esm/descriptor-set.js +0 -14
  146. package/node_modules/@bufbuild/protobuf/dist/esm/enum.d.ts +0 -35
  147. package/node_modules/@bufbuild/protobuf/dist/esm/enum.js +0 -14
  148. package/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.d.ts +0 -35
  149. package/node_modules/@bufbuild/protobuf/dist/esm/extension-accessor.js +0 -107
  150. package/node_modules/@bufbuild/protobuf/dist/esm/extension.d.ts +0 -24
  151. package/node_modules/@bufbuild/protobuf/dist/esm/extension.js +0 -14
  152. package/node_modules/@bufbuild/protobuf/dist/esm/field-list.d.ts +0 -27
  153. package/node_modules/@bufbuild/protobuf/dist/esm/field-list.js +0 -14
  154. package/node_modules/@bufbuild/protobuf/dist/esm/field.d.ts +0 -314
  155. package/node_modules/@bufbuild/protobuf/dist/esm/field.js +0 -14
  156. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.d.ts +0 -157
  157. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/any_pb.js +0 -269
  158. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.d.ts +0 -256
  159. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/api_pb.js +0 -310
  160. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.d.ts +0 -271
  161. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/compiler/plugin_pb.js +0 -212
  162. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.d.ts +0 -2277
  163. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/descriptor_pb.js +0 -2041
  164. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.d.ts +0 -100
  165. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/duration_pb.js +0 -165
  166. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.d.ts +0 -28
  167. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/empty_pb.js +0 -48
  168. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.d.ts +0 -227
  169. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/field_mask_pb.js +0 -307
  170. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.d.ts +0 -29
  171. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/source_context_pb.js +0 -51
  172. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.d.ts +0 -158
  173. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/struct_pb.js +0 -234
  174. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.d.ts +0 -132
  175. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/timestamp_pb.js +0 -209
  176. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.d.ts +0 -437
  177. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/type_pb.js +0 -554
  178. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.d.ts +0 -267
  179. package/node_modules/@bufbuild/protobuf/dist/esm/google/protobuf/wrappers_pb.js +0 -557
  180. package/node_modules/@bufbuild/protobuf/dist/esm/google/varint.d.ts +0 -70
  181. package/node_modules/@bufbuild/protobuf/dist/esm/google/varint.js +0 -313
  182. package/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts +0 -42
  183. package/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -43
  184. package/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts +0 -22
  185. package/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +0 -48
  186. package/node_modules/@bufbuild/protobuf/dist/esm/json-format.d.ts +0 -111
  187. package/node_modules/@bufbuild/protobuf/dist/esm/json-format.js +0 -14
  188. package/node_modules/@bufbuild/protobuf/dist/esm/message-type.d.ts +0 -51
  189. package/node_modules/@bufbuild/protobuf/dist/esm/message-type.js +0 -14
  190. package/node_modules/@bufbuild/protobuf/dist/esm/message.d.ts +0 -131
  191. package/node_modules/@bufbuild/protobuf/dist/esm/message.js +0 -125
  192. package/node_modules/@bufbuild/protobuf/dist/esm/private/assert.d.ts +0 -16
  193. package/node_modules/@bufbuild/protobuf/dist/esm/private/assert.js +0 -52
  194. package/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.d.ts +0 -7
  195. package/node_modules/@bufbuild/protobuf/dist/esm/private/binary-format.js +0 -427
  196. package/node_modules/@bufbuild/protobuf/dist/esm/private/enum.d.ts +0 -27
  197. package/node_modules/@bufbuild/protobuf/dist/esm/private/enum.js +0 -87
  198. package/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.d.ts +0 -34
  199. package/node_modules/@bufbuild/protobuf/dist/esm/private/extensions.js +0 -81
  200. package/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.d.ts +0 -19
  201. package/node_modules/@bufbuild/protobuf/dist/esm/private/feature-set.js +0 -116
  202. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.d.ts +0 -18
  203. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-list.js +0 -72
  204. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.d.ts +0 -9
  205. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-normalize.js +0 -65
  206. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.d.ts +0 -25
  207. package/node_modules/@bufbuild/protobuf/dist/esm/private/field-wrapper.js +0 -53
  208. package/node_modules/@bufbuild/protobuf/dist/esm/private/field.d.ts +0 -16
  209. package/node_modules/@bufbuild/protobuf/dist/esm/private/field.js +0 -41
  210. package/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.d.ts +0 -2
  211. package/node_modules/@bufbuild/protobuf/dist/esm/private/json-format.js +0 -623
  212. package/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.d.ts +0 -18
  213. package/node_modules/@bufbuild/protobuf/dist/esm/private/message-type.js +0 -46
  214. package/node_modules/@bufbuild/protobuf/dist/esm/private/names.d.ts +0 -43
  215. package/node_modules/@bufbuild/protobuf/dist/esm/private/names.js +0 -269
  216. package/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.d.ts +0 -7
  217. package/node_modules/@bufbuild/protobuf/dist/esm/private/options-map.js +0 -14
  218. package/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.d.ts +0 -53
  219. package/node_modules/@bufbuild/protobuf/dist/esm/private/proto-runtime.js +0 -37
  220. package/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.d.ts +0 -9
  221. package/node_modules/@bufbuild/protobuf/dist/esm/private/reflect.js +0 -74
  222. package/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.d.ts +0 -102
  223. package/node_modules/@bufbuild/protobuf/dist/esm/private/reify-wkt.js +0 -168
  224. package/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.d.ts +0 -18
  225. package/node_modules/@bufbuild/protobuf/dist/esm/private/scalars.js +0 -99
  226. package/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.d.ts +0 -4
  227. package/node_modules/@bufbuild/protobuf/dist/esm/private/text-format.js +0 -184
  228. package/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.d.ts +0 -2
  229. package/node_modules/@bufbuild/protobuf/dist/esm/private/util-common.js +0 -234
  230. package/node_modules/@bufbuild/protobuf/dist/esm/private/util.d.ts +0 -38
  231. package/node_modules/@bufbuild/protobuf/dist/esm/private/util.js +0 -14
  232. package/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.d.ts +0 -18
  233. package/node_modules/@bufbuild/protobuf/dist/esm/proto-base64.js +0 -125
  234. package/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.d.ts +0 -54
  235. package/node_modules/@bufbuild/protobuf/dist/esm/proto-delimited.js +0 -152
  236. package/node_modules/@bufbuild/protobuf/dist/esm/proto-double.d.ts +0 -5
  237. package/node_modules/@bufbuild/protobuf/dist/esm/proto-double.js +0 -26
  238. package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts +0 -95
  239. package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +0 -113
  240. package/node_modules/@bufbuild/protobuf/dist/esm/proto2.d.ts +0 -4
  241. package/node_modules/@bufbuild/protobuf/dist/esm/proto2.js +0 -50
  242. package/node_modules/@bufbuild/protobuf/dist/esm/proto3.d.ts +0 -4
  243. package/node_modules/@bufbuild/protobuf/dist/esm/proto3.js +0 -53
  244. package/node_modules/@bufbuild/protobuf/dist/esm/scalar.d.ts +0 -53
  245. package/node_modules/@bufbuild/protobuf/dist/esm/scalar.js +0 -78
  246. package/node_modules/@bufbuild/protobuf/dist/esm/service-type.d.ts +0 -96
  247. package/node_modules/@bufbuild/protobuf/dist/esm/service-type.js +0 -50
  248. package/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.d.ts +0 -12
  249. package/node_modules/@bufbuild/protobuf/dist/esm/to-plain-message.js +0 -70
  250. package/node_modules/@bufbuild/protobuf/dist/esm/type-registry.d.ts +0 -57
  251. package/node_modules/@bufbuild/protobuf/dist/esm/type-registry.js +0 -14
  252. package/node_modules/@bufbuild/protobuf/package.json +0 -34
  253. package/node_modules/@connectrpc/connect/README.md +0 -62
  254. package/node_modules/@connectrpc/connect/dist/cjs/any-client.d.ts +0 -22
  255. package/node_modules/@connectrpc/connect/dist/cjs/any-client.js +0 -34
  256. package/node_modules/@connectrpc/connect/dist/cjs/call-options.d.ts +0 -34
  257. package/node_modules/@connectrpc/connect/dist/cjs/call-options.js +0 -15
  258. package/node_modules/@connectrpc/connect/dist/cjs/callback-client.d.ts +0 -31
  259. package/node_modules/@connectrpc/connect/dist/cjs/callback-client.js +0 -116
  260. package/node_modules/@connectrpc/connect/dist/cjs/code.d.ts +0 -75
  261. package/node_modules/@connectrpc/connect/dist/cjs/code.js +0 -92
  262. package/node_modules/@connectrpc/connect/dist/cjs/connect-error.d.ts +0 -90
  263. package/node_modules/@connectrpc/connect/dist/cjs/connect-error.js +0 -134
  264. package/node_modules/@connectrpc/connect/dist/cjs/context-values.d.ts +0 -34
  265. package/node_modules/@connectrpc/connect/dist/cjs/context-values.js +0 -41
  266. package/node_modules/@connectrpc/connect/dist/cjs/cors.d.ts +0 -45
  267. package/node_modules/@connectrpc/connect/dist/cjs/cors.js +0 -82
  268. package/node_modules/@connectrpc/connect/dist/cjs/http-headers.d.ts +0 -36
  269. package/node_modules/@connectrpc/connect/dist/cjs/http-headers.js +0 -68
  270. package/node_modules/@connectrpc/connect/dist/cjs/implementation.d.ts +0 -165
  271. package/node_modules/@connectrpc/connect/dist/cjs/implementation.js +0 -79
  272. package/node_modules/@connectrpc/connect/dist/cjs/index.d.ts +0 -22
  273. package/node_modules/@connectrpc/connect/dist/cjs/index.js +0 -47
  274. package/node_modules/@connectrpc/connect/dist/cjs/interceptor.d.ts +0 -155
  275. package/node_modules/@connectrpc/connect/dist/cjs/interceptor.js +0 -27
  276. package/node_modules/@connectrpc/connect/dist/cjs/method-type.d.ts +0 -43
  277. package/node_modules/@connectrpc/connect/dist/cjs/method-type.js +0 -15
  278. package/node_modules/@connectrpc/connect/dist/cjs/package.json +0 -1
  279. package/node_modules/@connectrpc/connect/dist/cjs/promise-client.d.ts +0 -49
  280. package/node_modules/@connectrpc/connect/dist/cjs/promise-client.js +0 -147
  281. package/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.d.ts +0 -527
  282. package/node_modules/@connectrpc/connect/dist/cjs/protocol/async-iterable.js +0 -959
  283. package/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.d.ts +0 -48
  284. package/node_modules/@connectrpc/connect/dist/cjs/protocol/compression.js +0 -75
  285. package/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.d.ts +0 -16
  286. package/node_modules/@connectrpc/connect/dist/cjs/protocol/content-type-matcher.js +0 -43
  287. package/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.d.ts +0 -17
  288. package/node_modules/@connectrpc/connect/dist/cjs/protocol/create-method-url.js +0 -36
  289. package/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.d.ts +0 -59
  290. package/node_modules/@connectrpc/connect/dist/cjs/protocol/envelope.js +0 -152
  291. package/node_modules/@connectrpc/connect/dist/cjs/protocol/index.d.ts +0 -24
  292. package/node_modules/@connectrpc/connect/dist/cjs/protocol/index.js +0 -93
  293. package/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.d.ts +0 -21
  294. package/node_modules/@connectrpc/connect/dist/cjs/protocol/invoke-implementation.js +0 -250
  295. package/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.d.ts +0 -24
  296. package/node_modules/@connectrpc/connect/dist/cjs/protocol/limit-io.js +0 -80
  297. package/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.d.ts +0 -12
  298. package/node_modules/@connectrpc/connect/dist/cjs/protocol/normalize.js +0 -56
  299. package/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.d.ts +0 -18
  300. package/node_modules/@connectrpc/connect/dist/cjs/protocol/protocol-handler-factory.js +0 -15
  301. package/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.d.ts +0 -45
  302. package/node_modules/@connectrpc/connect/dist/cjs/protocol/run-call.js +0 -119
  303. package/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.d.ts +0 -104
  304. package/node_modules/@connectrpc/connect/dist/cjs/protocol/serialization.js +0 -148
  305. package/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.d.ts +0 -36
  306. package/node_modules/@connectrpc/connect/dist/cjs/protocol/signals.js +0 -100
  307. package/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.d.ts +0 -98
  308. package/node_modules/@connectrpc/connect/dist/cjs/protocol/transport-options.js +0 -15
  309. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.d.ts +0 -35
  310. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-fetch.js +0 -150
  311. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.d.ts +0 -7
  312. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler-client.js +0 -90
  313. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.d.ts +0 -155
  314. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal-handler.js +0 -131
  315. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.d.ts +0 -102
  316. package/node_modules/@connectrpc/connect/dist/cjs/protocol/universal.js +0 -78
  317. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.d.ts +0 -16
  318. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/code-string.js +0 -52
  319. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.d.ts +0 -40
  320. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/content-type.js +0 -71
  321. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.d.ts +0 -44
  322. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/end-stream.js +0 -132
  323. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.d.ts +0 -36
  324. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/error-json.js +0 -163
  325. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.d.ts +0 -7
  326. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/get-request.js +0 -68
  327. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.d.ts +0 -6
  328. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/handler-factory.js +0 -281
  329. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.d.ts +0 -12
  330. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/headers.js +0 -28
  331. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.d.ts +0 -15
  332. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/http-status.js +0 -90
  333. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.d.ts +0 -16
  334. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/index.js +0 -81
  335. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.d.ts +0 -13
  336. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/parse-timeout.js +0 -44
  337. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.d.ts +0 -8
  338. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/query-params.js +0 -24
  339. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.d.ts +0 -19
  340. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/request-header.js +0 -70
  341. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.d.ts +0 -19
  342. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/trailer-mux.js +0 -53
  343. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.d.ts +0 -6
  344. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/transport.js +0 -214
  345. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.d.ts +0 -30
  346. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/validate-response.js +0 -72
  347. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.d.ts +0 -20
  348. package/node_modules/@connectrpc/connect/dist/cjs/protocol-connect/version.js +0 -58
  349. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.d.ts +0 -16
  350. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/content-type.js +0 -38
  351. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.d.ts +0 -89
  352. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/gen/status_pb.js +0 -120
  353. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.d.ts +0 -6
  354. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/handler-factory.js +0 -122
  355. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.d.ts +0 -12
  356. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/headers.js +0 -28
  357. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.d.ts +0 -8
  358. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/http-status.js +0 -46
  359. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.d.ts +0 -10
  360. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/index.js +0 -61
  361. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.d.ts +0 -13
  362. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/parse-timeout.js +0 -53
  363. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.d.ts +0 -13
  364. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/request-header.js +0 -56
  365. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.d.ts +0 -28
  366. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/trailer-status.js +0 -104
  367. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.d.ts +0 -6
  368. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/transport.js +0 -185
  369. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.d.ts +0 -33
  370. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-response.js +0 -75
  371. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.d.ts +0 -13
  372. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc/validate-trailer.js +0 -44
  373. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.d.ts +0 -19
  374. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/content-type.js +0 -41
  375. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.d.ts +0 -6
  376. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/handler-factory.js +0 -128
  377. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.d.ts +0 -20
  378. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/headers.js +0 -44
  379. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.d.ts +0 -8
  380. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/index.js +0 -61
  381. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.d.ts +0 -13
  382. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/request-header.js +0 -59
  383. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.d.ts +0 -27
  384. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/trailer.js +0 -71
  385. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.d.ts +0 -6
  386. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/transport.js +0 -238
  387. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.d.ts +0 -34
  388. package/node_modules/@connectrpc/connect/dist/cjs/protocol-grpc-web/validate-response.js +0 -73
  389. package/node_modules/@connectrpc/connect/dist/cjs/router-transport.d.ts +0 -13
  390. package/node_modules/@connectrpc/connect/dist/cjs/router-transport.js +0 -32
  391. package/node_modules/@connectrpc/connect/dist/cjs/router.d.ts +0 -88
  392. package/node_modules/@connectrpc/connect/dist/cjs/router.js +0 -83
  393. package/node_modules/@connectrpc/connect/dist/cjs/transport.d.ts +0 -20
  394. package/node_modules/@connectrpc/connect/dist/cjs/transport.js +0 -15
  395. package/node_modules/@connectrpc/connect/dist/esm/any-client.d.ts +0 -22
  396. package/node_modules/@connectrpc/connect/dist/esm/any-client.js +0 -31
  397. package/node_modules/@connectrpc/connect/dist/esm/call-options.d.ts +0 -34
  398. package/node_modules/@connectrpc/connect/dist/esm/call-options.js +0 -14
  399. package/node_modules/@connectrpc/connect/dist/esm/callback-client.d.ts +0 -31
  400. package/node_modules/@connectrpc/connect/dist/esm/callback-client.js +0 -113
  401. package/node_modules/@connectrpc/connect/dist/esm/code.d.ts +0 -75
  402. package/node_modules/@connectrpc/connect/dist/esm/code.js +0 -89
  403. package/node_modules/@connectrpc/connect/dist/esm/connect-error.d.ts +0 -90
  404. package/node_modules/@connectrpc/connect/dist/esm/connect-error.js +0 -130
  405. package/node_modules/@connectrpc/connect/dist/esm/context-values.d.ts +0 -34
  406. package/node_modules/@connectrpc/connect/dist/esm/context-values.js +0 -37
  407. package/node_modules/@connectrpc/connect/dist/esm/cors.d.ts +0 -45
  408. package/node_modules/@connectrpc/connect/dist/esm/cors.js +0 -79
  409. package/node_modules/@connectrpc/connect/dist/esm/http-headers.d.ts +0 -36
  410. package/node_modules/@connectrpc/connect/dist/esm/http-headers.js +0 -63
  411. package/node_modules/@connectrpc/connect/dist/esm/implementation.d.ts +0 -165
  412. package/node_modules/@connectrpc/connect/dist/esm/implementation.js +0 -75
  413. package/node_modules/@connectrpc/connect/dist/esm/index.d.ts +0 -22
  414. package/node_modules/@connectrpc/connect/dist/esm/index.js +0 -27
  415. package/node_modules/@connectrpc/connect/dist/esm/interceptor.d.ts +0 -155
  416. package/node_modules/@connectrpc/connect/dist/esm/interceptor.js +0 -24
  417. package/node_modules/@connectrpc/connect/dist/esm/method-type.d.ts +0 -43
  418. package/node_modules/@connectrpc/connect/dist/esm/method-type.js +0 -14
  419. package/node_modules/@connectrpc/connect/dist/esm/promise-client.d.ts +0 -49
  420. package/node_modules/@connectrpc/connect/dist/esm/promise-client.js +0 -139
  421. package/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.d.ts +0 -527
  422. package/node_modules/@connectrpc/connect/dist/esm/protocol/async-iterable.js +0 -937
  423. package/node_modules/@connectrpc/connect/dist/esm/protocol/compression.d.ts +0 -48
  424. package/node_modules/@connectrpc/connect/dist/esm/protocol/compression.js +0 -71
  425. package/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.d.ts +0 -16
  426. package/node_modules/@connectrpc/connect/dist/esm/protocol/content-type-matcher.js +0 -40
  427. package/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.d.ts +0 -17
  428. package/node_modules/@connectrpc/connect/dist/esm/protocol/create-method-url.js +0 -33
  429. package/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.d.ts +0 -59
  430. package/node_modules/@connectrpc/connect/dist/esm/protocol/envelope.js +0 -145
  431. package/node_modules/@connectrpc/connect/dist/esm/protocol/index.d.ts +0 -24
  432. package/node_modules/@connectrpc/connect/dist/esm/protocol/index.js +0 -32
  433. package/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.d.ts +0 -21
  434. package/node_modules/@connectrpc/connect/dist/esm/protocol/invoke-implementation.js +0 -246
  435. package/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.d.ts +0 -24
  436. package/node_modules/@connectrpc/connect/dist/esm/protocol/limit-io.js +0 -75
  437. package/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.d.ts +0 -12
  438. package/node_modules/@connectrpc/connect/dist/esm/protocol/normalize.js +0 -53
  439. package/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.d.ts +0 -18
  440. package/node_modules/@connectrpc/connect/dist/esm/protocol/protocol-handler-factory.js +0 -14
  441. package/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.d.ts +0 -45
  442. package/node_modules/@connectrpc/connect/dist/esm/protocol/run-call.js +0 -115
  443. package/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.d.ts +0 -104
  444. package/node_modules/@connectrpc/connect/dist/esm/protocol/serialization.js +0 -140
  445. package/node_modules/@connectrpc/connect/dist/esm/protocol/signals.d.ts +0 -36
  446. package/node_modules/@connectrpc/connect/dist/esm/protocol/signals.js +0 -95
  447. package/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.d.ts +0 -98
  448. package/node_modules/@connectrpc/connect/dist/esm/protocol/transport-options.js +0 -14
  449. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.d.ts +0 -35
  450. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-fetch.js +0 -142
  451. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.d.ts +0 -7
  452. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler-client.js +0 -87
  453. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.d.ts +0 -155
  454. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal-handler.js +0 -125
  455. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal.d.ts +0 -102
  456. package/node_modules/@connectrpc/connect/dist/esm/protocol/universal.js +0 -74
  457. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.d.ts +0 -16
  458. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/code-string.js +0 -48
  459. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.d.ts +0 -40
  460. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/content-type.js +0 -66
  461. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.d.ts +0 -44
  462. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/end-stream.js +0 -126
  463. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.d.ts +0 -36
  464. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/error-json.js +0 -157
  465. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.d.ts +0 -7
  466. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/get-request.js +0 -65
  467. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.d.ts +0 -6
  468. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/handler-factory.js +0 -278
  469. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.d.ts +0 -12
  470. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/headers.js +0 -25
  471. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.d.ts +0 -15
  472. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/http-status.js +0 -86
  473. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.d.ts +0 -16
  474. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.js +0 -33
  475. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.d.ts +0 -13
  476. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/parse-timeout.js +0 -41
  477. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.d.ts +0 -8
  478. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/query-params.js +0 -21
  479. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.d.ts +0 -19
  480. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/request-header.js +0 -66
  481. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.d.ts +0 -19
  482. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/trailer-mux.js +0 -49
  483. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.d.ts +0 -6
  484. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/transport.js +0 -211
  485. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.d.ts +0 -30
  486. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/validate-response.js +0 -68
  487. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.d.ts +0 -20
  488. package/node_modules/@connectrpc/connect/dist/esm/protocol-connect/version.js +0 -53
  489. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.d.ts +0 -16
  490. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/content-type.js +0 -34
  491. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.d.ts +0 -89
  492. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/gen/status_pb.js +0 -116
  493. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.d.ts +0 -6
  494. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/handler-factory.js +0 -119
  495. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.d.ts +0 -12
  496. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/headers.js +0 -25
  497. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.d.ts +0 -8
  498. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/http-status.js +0 -43
  499. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.d.ts +0 -10
  500. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/index.js +0 -28
  501. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.d.ts +0 -13
  502. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/parse-timeout.js +0 -50
  503. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.d.ts +0 -13
  504. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/request-header.js +0 -52
  505. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.d.ts +0 -28
  506. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/trailer-status.js +0 -99
  507. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.d.ts +0 -6
  508. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/transport.js +0 -182
  509. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.d.ts +0 -33
  510. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-response.js +0 -71
  511. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.d.ts +0 -13
  512. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc/validate-trailer.js +0 -41
  513. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.d.ts +0 -19
  514. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/content-type.js +0 -37
  515. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.d.ts +0 -6
  516. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/handler-factory.js +0 -125
  517. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.d.ts +0 -20
  518. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/headers.js +0 -33
  519. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.d.ts +0 -8
  520. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.js +0 -26
  521. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.d.ts +0 -13
  522. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/request-header.js +0 -55
  523. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.d.ts +0 -27
  524. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/trailer.js +0 -65
  525. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.d.ts +0 -6
  526. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/transport.js +0 -235
  527. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.d.ts +0 -34
  528. package/node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/validate-response.js +0 -69
  529. package/node_modules/@connectrpc/connect/dist/esm/router-transport.d.ts +0 -13
  530. package/node_modules/@connectrpc/connect/dist/esm/router-transport.js +0 -29
  531. package/node_modules/@connectrpc/connect/dist/esm/router.d.ts +0 -88
  532. package/node_modules/@connectrpc/connect/dist/esm/router.js +0 -80
  533. package/node_modules/@connectrpc/connect/dist/esm/transport.d.ts +0 -20
  534. package/node_modules/@connectrpc/connect/dist/esm/transport.js +0 -14
  535. package/node_modules/@connectrpc/connect/package.json +0 -75
  536. package/node_modules/@connectrpc/connect/protocol-connect.js +0 -16
  537. package/node_modules/@connectrpc/connect/protocol-grpc-web.js +0 -16
  538. package/node_modules/@connectrpc/connect/protocol-grpc.js +0 -16
  539. package/node_modules/@connectrpc/connect/protocol.js +0 -16
  540. package/node_modules/@connectrpc/connect-node/README.md +0 -141
  541. package/node_modules/@connectrpc/connect-node/dist/cjs/compression.d.ts +0 -15
  542. package/node_modules/@connectrpc/connect-node/dist/cjs/compression.js +0 -89
  543. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-node-adapter.d.ts +0 -42
  544. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-node-adapter.js +0 -61
  545. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-transport.d.ts +0 -100
  546. package/node_modules/@connectrpc/connect-node/dist/cjs/connect-transport.js +0 -25
  547. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-transport.d.ts +0 -96
  548. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-transport.js +0 -25
  549. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-web-transport.d.ts +0 -96
  550. package/node_modules/@connectrpc/connect-node/dist/cjs/grpc-web-transport.js +0 -25
  551. package/node_modules/@connectrpc/connect-node/dist/cjs/http2-session-manager.d.ts +0 -146
  552. package/node_modules/@connectrpc/connect-node/dist/cjs/http2-session-manager.js +0 -536
  553. package/node_modules/@connectrpc/connect-node/dist/cjs/index.d.ts +0 -15
  554. package/node_modules/@connectrpc/connect-node/dist/cjs/index.js +0 -36
  555. package/node_modules/@connectrpc/connect-node/dist/cjs/node-error.d.ts +0 -45
  556. package/node_modules/@connectrpc/connect-node/dist/cjs/node-error.js +0 -154
  557. package/node_modules/@connectrpc/connect-node/dist/cjs/node-headers-polyfill.d.ts +0 -1
  558. package/node_modules/@connectrpc/connect-node/dist/cjs/node-headers-polyfill.js +0 -29
  559. package/node_modules/@connectrpc/connect-node/dist/cjs/node-transport-options.d.ts +0 -89
  560. package/node_modules/@connectrpc/connect-node/dist/cjs/node-transport-options.js +0 -58
  561. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-client.d.ts +0 -54
  562. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-client.js +0 -326
  563. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-handler.d.ts +0 -41
  564. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-handler.js +0 -234
  565. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-header.d.ts +0 -19
  566. package/node_modules/@connectrpc/connect-node/dist/cjs/node-universal-header.js +0 -97
  567. package/node_modules/@connectrpc/connect-node/dist/cjs/package.json +0 -1
  568. package/node_modules/@connectrpc/connect-node/dist/esm/compression.d.ts +0 -15
  569. package/node_modules/@connectrpc/connect-node/dist/esm/compression.js +0 -86
  570. package/node_modules/@connectrpc/connect-node/dist/esm/connect-node-adapter.d.ts +0 -42
  571. package/node_modules/@connectrpc/connect-node/dist/esm/connect-node-adapter.js +0 -58
  572. package/node_modules/@connectrpc/connect-node/dist/esm/connect-transport.d.ts +0 -100
  573. package/node_modules/@connectrpc/connect-node/dist/esm/connect-transport.js +0 -22
  574. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-transport.d.ts +0 -96
  575. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-transport.js +0 -22
  576. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-web-transport.d.ts +0 -96
  577. package/node_modules/@connectrpc/connect-node/dist/esm/grpc-web-transport.js +0 -22
  578. package/node_modules/@connectrpc/connect-node/dist/esm/http2-session-manager.d.ts +0 -146
  579. package/node_modules/@connectrpc/connect-node/dist/esm/http2-session-manager.js +0 -532
  580. package/node_modules/@connectrpc/connect-node/dist/esm/index.d.ts +0 -15
  581. package/node_modules/@connectrpc/connect-node/dist/esm/index.js +0 -23
  582. package/node_modules/@connectrpc/connect-node/dist/esm/node-error.d.ts +0 -45
  583. package/node_modules/@connectrpc/connect-node/dist/esm/node-error.js +0 -147
  584. package/node_modules/@connectrpc/connect-node/dist/esm/node-headers-polyfill.d.ts +0 -1
  585. package/node_modules/@connectrpc/connect-node/dist/esm/node-headers-polyfill.js +0 -27
  586. package/node_modules/@connectrpc/connect-node/dist/esm/node-transport-options.d.ts +0 -89
  587. package/node_modules/@connectrpc/connect-node/dist/esm/node-transport-options.js +0 -58
  588. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-client.d.ts +0 -54
  589. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-client.js +0 -324
  590. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-handler.d.ts +0 -41
  591. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-handler.js +0 -230
  592. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-header.d.ts +0 -19
  593. package/node_modules/@connectrpc/connect-node/dist/esm/node-universal-header.js +0 -93
  594. package/node_modules/@connectrpc/connect-node/package.json +0 -46
  595. package/node_modules/@cursor/sdk/LICENSE.md +0 -3
  596. package/node_modules/@cursor/sdk/README.md +0 -5
  597. package/node_modules/@cursor/sdk/dist/cjs/642.index.js +0 -1
  598. package/node_modules/@cursor/sdk/dist/cjs/agent.d.ts +0 -169
  599. package/node_modules/@cursor/sdk/dist/cjs/agent.d.ts.map +0 -1
  600. package/node_modules/@cursor/sdk/dist/cjs/analytics.d.ts +0 -72
  601. package/node_modules/@cursor/sdk/dist/cjs/analytics.d.ts.map +0 -1
  602. package/node_modules/@cursor/sdk/dist/cjs/artifacts.d.ts +0 -6
  603. package/node_modules/@cursor/sdk/dist/cjs/artifacts.d.ts.map +0 -1
  604. package/node_modules/@cursor/sdk/dist/cjs/cloud-agent.d.ts +0 -22
  605. package/node_modules/@cursor/sdk/dist/cjs/cloud-agent.d.ts.map +0 -1
  606. package/node_modules/@cursor/sdk/dist/cjs/cloud-api-client.d.ts +0 -192
  607. package/node_modules/@cursor/sdk/dist/cjs/cloud-api-client.d.ts.map +0 -1
  608. package/node_modules/@cursor/sdk/dist/cjs/cloud-executor.d.ts +0 -14
  609. package/node_modules/@cursor/sdk/dist/cjs/cloud-executor.d.ts.map +0 -1
  610. package/node_modules/@cursor/sdk/dist/cjs/cloud-mcp-utils.d.ts +0 -4
  611. package/node_modules/@cursor/sdk/dist/cjs/cloud-mcp-utils.d.ts.map +0 -1
  612. package/node_modules/@cursor/sdk/dist/cjs/core-adapter.d.ts +0 -2
  613. package/node_modules/@cursor/sdk/dist/cjs/core-adapter.d.ts.map +0 -1
  614. package/node_modules/@cursor/sdk/dist/cjs/errors.d.ts +0 -125
  615. package/node_modules/@cursor/sdk/dist/cjs/errors.d.ts.map +0 -1
  616. package/node_modules/@cursor/sdk/dist/cjs/executor-common.d.ts +0 -16
  617. package/node_modules/@cursor/sdk/dist/cjs/executor-common.d.ts.map +0 -1
  618. package/node_modules/@cursor/sdk/dist/cjs/executor-types.d.ts +0 -59
  619. package/node_modules/@cursor/sdk/dist/cjs/executor-types.d.ts.map +0 -1
  620. package/node_modules/@cursor/sdk/dist/cjs/index.d.ts +0 -18
  621. package/node_modules/@cursor/sdk/dist/cjs/index.d.ts.map +0 -1
  622. package/node_modules/@cursor/sdk/dist/cjs/index.js +0 -8
  623. package/node_modules/@cursor/sdk/dist/cjs/index.js.LICENSE.txt +0 -285
  624. package/node_modules/@cursor/sdk/dist/cjs/local-executor.d.ts +0 -18
  625. package/node_modules/@cursor/sdk/dist/cjs/local-executor.d.ts.map +0 -1
  626. package/node_modules/@cursor/sdk/dist/cjs/local-model-validation.d.ts +0 -6
  627. package/node_modules/@cursor/sdk/dist/cjs/local-model-validation.d.ts.map +0 -1
  628. package/node_modules/@cursor/sdk/dist/cjs/messages.d.ts +0 -110
  629. package/node_modules/@cursor/sdk/dist/cjs/messages.d.ts.map +0 -1
  630. package/node_modules/@cursor/sdk/dist/cjs/options.d.ts +0 -143
  631. package/node_modules/@cursor/sdk/dist/cjs/options.d.ts.map +0 -1
  632. package/node_modules/@cursor/sdk/dist/cjs/package.json +0 -3
  633. package/node_modules/@cursor/sdk/dist/cjs/platform.d.ts +0 -45
  634. package/node_modules/@cursor/sdk/dist/cjs/platform.d.ts.map +0 -1
  635. package/node_modules/@cursor/sdk/dist/cjs/public-api.d.ts +0 -12
  636. package/node_modules/@cursor/sdk/dist/cjs/public-api.d.ts.map +0 -1
  637. package/node_modules/@cursor/sdk/dist/cjs/run-event-tailer.d.ts +0 -33
  638. package/node_modules/@cursor/sdk/dist/cjs/run-event-tailer.d.ts.map +0 -1
  639. package/node_modules/@cursor/sdk/dist/cjs/run-interaction-accumulator.d.ts +0 -33
  640. package/node_modules/@cursor/sdk/dist/cjs/run-interaction-accumulator.d.ts.map +0 -1
  641. package/node_modules/@cursor/sdk/dist/cjs/run.d.ts +0 -44
  642. package/node_modules/@cursor/sdk/dist/cjs/run.d.ts.map +0 -1
  643. package/node_modules/@cursor/sdk/dist/cjs/sdk-statsig.d.ts +0 -10
  644. package/node_modules/@cursor/sdk/dist/cjs/sdk-statsig.d.ts.map +0 -1
  645. package/node_modules/@cursor/sdk/dist/cjs/stubs.d.ts +0 -97
  646. package/node_modules/@cursor/sdk/dist/cjs/stubs.d.ts.map +0 -1
  647. package/node_modules/@cursor/sdk/dist/cjs/subagent-conversion.d.ts +0 -20
  648. package/node_modules/@cursor/sdk/dist/cjs/subagent-conversion.d.ts.map +0 -1
  649. package/node_modules/@cursor/sdk/dist/cjs/tool-call-utils.d.ts +0 -7
  650. package/node_modules/@cursor/sdk/dist/cjs/tool-call-utils.d.ts.map +0 -1
  651. package/node_modules/@cursor/sdk/dist/cjs/types/conversation-types.d.ts +0 -12062
  652. package/node_modules/@cursor/sdk/dist/cjs/types/conversation-types.d.ts.map +0 -1
  653. package/node_modules/@cursor/sdk/dist/cjs/types/delta-types.d.ts +0 -2
  654. package/node_modules/@cursor/sdk/dist/cjs/types/delta-types.d.ts.map +0 -1
  655. package/node_modules/@cursor/sdk/dist/cjs/types/tool-call-types.d.ts +0 -2
  656. package/node_modules/@cursor/sdk/dist/cjs/types/tool-call-types.d.ts.map +0 -1
  657. package/node_modules/@cursor/sdk/dist/cjs/utils/conversation-utils.d.ts +0 -3
  658. package/node_modules/@cursor/sdk/dist/cjs/utils/conversation-utils.d.ts.map +0 -1
  659. package/node_modules/@cursor/sdk/dist/cjs/utils/logger.d.ts +0 -12
  660. package/node_modules/@cursor/sdk/dist/cjs/utils/logger.d.ts.map +0 -1
  661. package/node_modules/@cursor/sdk/dist/cjs/utils/message-schemas.d.ts +0 -2
  662. package/node_modules/@cursor/sdk/dist/cjs/utils/message-schemas.d.ts.map +0 -1
  663. package/node_modules/@cursor/sdk/dist/esm/642.index.js +0 -1
  664. package/node_modules/@cursor/sdk/dist/esm/agent.d.ts +0 -169
  665. package/node_modules/@cursor/sdk/dist/esm/agent.d.ts.map +0 -1
  666. package/node_modules/@cursor/sdk/dist/esm/analytics.d.ts +0 -72
  667. package/node_modules/@cursor/sdk/dist/esm/analytics.d.ts.map +0 -1
  668. package/node_modules/@cursor/sdk/dist/esm/artifacts.d.ts +0 -6
  669. package/node_modules/@cursor/sdk/dist/esm/artifacts.d.ts.map +0 -1
  670. package/node_modules/@cursor/sdk/dist/esm/cloud-agent.d.ts +0 -22
  671. package/node_modules/@cursor/sdk/dist/esm/cloud-agent.d.ts.map +0 -1
  672. package/node_modules/@cursor/sdk/dist/esm/cloud-api-client.d.ts +0 -192
  673. package/node_modules/@cursor/sdk/dist/esm/cloud-api-client.d.ts.map +0 -1
  674. package/node_modules/@cursor/sdk/dist/esm/cloud-executor.d.ts +0 -14
  675. package/node_modules/@cursor/sdk/dist/esm/cloud-executor.d.ts.map +0 -1
  676. package/node_modules/@cursor/sdk/dist/esm/cloud-mcp-utils.d.ts +0 -4
  677. package/node_modules/@cursor/sdk/dist/esm/cloud-mcp-utils.d.ts.map +0 -1
  678. package/node_modules/@cursor/sdk/dist/esm/core-adapter.d.ts +0 -2
  679. package/node_modules/@cursor/sdk/dist/esm/core-adapter.d.ts.map +0 -1
  680. package/node_modules/@cursor/sdk/dist/esm/errors.d.ts +0 -125
  681. package/node_modules/@cursor/sdk/dist/esm/errors.d.ts.map +0 -1
  682. package/node_modules/@cursor/sdk/dist/esm/executor-common.d.ts +0 -16
  683. package/node_modules/@cursor/sdk/dist/esm/executor-common.d.ts.map +0 -1
  684. package/node_modules/@cursor/sdk/dist/esm/executor-types.d.ts +0 -59
  685. package/node_modules/@cursor/sdk/dist/esm/executor-types.d.ts.map +0 -1
  686. package/node_modules/@cursor/sdk/dist/esm/index.d.ts +0 -18
  687. package/node_modules/@cursor/sdk/dist/esm/index.d.ts.map +0 -1
  688. package/node_modules/@cursor/sdk/dist/esm/index.js +0 -8
  689. package/node_modules/@cursor/sdk/dist/esm/index.js.LICENSE.txt +0 -285
  690. package/node_modules/@cursor/sdk/dist/esm/local-executor.d.ts +0 -18
  691. package/node_modules/@cursor/sdk/dist/esm/local-executor.d.ts.map +0 -1
  692. package/node_modules/@cursor/sdk/dist/esm/local-model-validation.d.ts +0 -6
  693. package/node_modules/@cursor/sdk/dist/esm/local-model-validation.d.ts.map +0 -1
  694. package/node_modules/@cursor/sdk/dist/esm/messages.d.ts +0 -110
  695. package/node_modules/@cursor/sdk/dist/esm/messages.d.ts.map +0 -1
  696. package/node_modules/@cursor/sdk/dist/esm/options.d.ts +0 -143
  697. package/node_modules/@cursor/sdk/dist/esm/options.d.ts.map +0 -1
  698. package/node_modules/@cursor/sdk/dist/esm/platform.d.ts +0 -45
  699. package/node_modules/@cursor/sdk/dist/esm/platform.d.ts.map +0 -1
  700. package/node_modules/@cursor/sdk/dist/esm/public-api.d.ts +0 -12
  701. package/node_modules/@cursor/sdk/dist/esm/public-api.d.ts.map +0 -1
  702. package/node_modules/@cursor/sdk/dist/esm/run-event-tailer.d.ts +0 -33
  703. package/node_modules/@cursor/sdk/dist/esm/run-event-tailer.d.ts.map +0 -1
  704. package/node_modules/@cursor/sdk/dist/esm/run-interaction-accumulator.d.ts +0 -33
  705. package/node_modules/@cursor/sdk/dist/esm/run-interaction-accumulator.d.ts.map +0 -1
  706. package/node_modules/@cursor/sdk/dist/esm/run.d.ts +0 -44
  707. package/node_modules/@cursor/sdk/dist/esm/run.d.ts.map +0 -1
  708. package/node_modules/@cursor/sdk/dist/esm/sdk-statsig.d.ts +0 -10
  709. package/node_modules/@cursor/sdk/dist/esm/sdk-statsig.d.ts.map +0 -1
  710. package/node_modules/@cursor/sdk/dist/esm/stubs.d.ts +0 -97
  711. package/node_modules/@cursor/sdk/dist/esm/stubs.d.ts.map +0 -1
  712. package/node_modules/@cursor/sdk/dist/esm/subagent-conversion.d.ts +0 -20
  713. package/node_modules/@cursor/sdk/dist/esm/subagent-conversion.d.ts.map +0 -1
  714. package/node_modules/@cursor/sdk/dist/esm/tool-call-utils.d.ts +0 -7
  715. package/node_modules/@cursor/sdk/dist/esm/tool-call-utils.d.ts.map +0 -1
  716. package/node_modules/@cursor/sdk/dist/esm/types/conversation-types.d.ts +0 -12062
  717. package/node_modules/@cursor/sdk/dist/esm/types/conversation-types.d.ts.map +0 -1
  718. package/node_modules/@cursor/sdk/dist/esm/types/delta-types.d.ts +0 -2
  719. package/node_modules/@cursor/sdk/dist/esm/types/delta-types.d.ts.map +0 -1
  720. package/node_modules/@cursor/sdk/dist/esm/types/tool-call-types.d.ts +0 -2
  721. package/node_modules/@cursor/sdk/dist/esm/types/tool-call-types.d.ts.map +0 -1
  722. package/node_modules/@cursor/sdk/dist/esm/utils/conversation-utils.d.ts +0 -3
  723. package/node_modules/@cursor/sdk/dist/esm/utils/conversation-utils.d.ts.map +0 -1
  724. package/node_modules/@cursor/sdk/dist/esm/utils/logger.d.ts +0 -12
  725. package/node_modules/@cursor/sdk/dist/esm/utils/logger.d.ts.map +0 -1
  726. package/node_modules/@cursor/sdk/dist/esm/utils/message-schemas.d.ts +0 -2
  727. package/node_modules/@cursor/sdk/dist/esm/utils/message-schemas.d.ts.map +0 -1
  728. package/node_modules/@cursor/sdk/package.json +0 -114
  729. package/node_modules/@cursor/sdk-darwin-arm64/README.md +0 -5
  730. package/node_modules/@cursor/sdk-darwin-arm64/bin/cursorsandbox +0 -0
  731. package/node_modules/@cursor/sdk-darwin-arm64/bin/rg +0 -0
  732. package/node_modules/@cursor/sdk-darwin-arm64/package.json +0 -25
  733. package/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
  734. package/node_modules/@isaacs/fs-minipass/README.md +0 -71
  735. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +0 -118
  736. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +0 -1
  737. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
  738. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +0 -1
  739. package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
  740. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +0 -118
  741. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +0 -1
  742. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
  743. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +0 -1
  744. package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
  745. package/node_modules/@isaacs/fs-minipass/package.json +0 -72
  746. package/node_modules/@statsig/client-core/package.json +0 -15
  747. package/node_modules/@statsig/client-core/src/$_StatsigGlobal.d.ts +0 -19
  748. package/node_modules/@statsig/client-core/src/$_StatsigGlobal.js +0 -41
  749. package/node_modules/@statsig/client-core/src/CacheKey.d.ts +0 -4
  750. package/node_modules/@statsig/client-core/src/CacheKey.js +0 -28
  751. package/node_modules/@statsig/client-core/src/ClientInterfaces.d.ts +0 -62
  752. package/node_modules/@statsig/client-core/src/ClientInterfaces.js +0 -2
  753. package/node_modules/@statsig/client-core/src/DataAdapterCore.d.ts +0 -29
  754. package/node_modules/@statsig/client-core/src/DataAdapterCore.js +0 -216
  755. package/node_modules/@statsig/client-core/src/Diagnostics.d.ts +0 -67
  756. package/node_modules/@statsig/client-core/src/Diagnostics.js +0 -100
  757. package/node_modules/@statsig/client-core/src/DnsTxtQuery.d.ts +0 -2
  758. package/node_modules/@statsig/client-core/src/DnsTxtQuery.js +0 -63
  759. package/node_modules/@statsig/client-core/src/DownloadConfigSpecsResponse.d.ts +0 -61
  760. package/node_modules/@statsig/client-core/src/DownloadConfigSpecsResponse.js +0 -2
  761. package/node_modules/@statsig/client-core/src/ErrorBoundary.d.ts +0 -17
  762. package/node_modules/@statsig/client-core/src/ErrorBoundary.js +0 -197
  763. package/node_modules/@statsig/client-core/src/EvaluationOptions.d.ts +0 -30
  764. package/node_modules/@statsig/client-core/src/EvaluationOptions.js +0 -2
  765. package/node_modules/@statsig/client-core/src/EvaluationTypes.d.ts +0 -49
  766. package/node_modules/@statsig/client-core/src/EvaluationTypes.js +0 -2
  767. package/node_modules/@statsig/client-core/src/EvaluationTypesV2.d.ts +0 -30
  768. package/node_modules/@statsig/client-core/src/EvaluationTypesV2.js +0 -2
  769. package/node_modules/@statsig/client-core/src/EventBatch.d.ts +0 -8
  770. package/node_modules/@statsig/client-core/src/EventBatch.js +0 -14
  771. package/node_modules/@statsig/client-core/src/EventLogger.d.ts +0 -48
  772. package/node_modules/@statsig/client-core/src/EventLogger.js +0 -349
  773. package/node_modules/@statsig/client-core/src/EventRetryConstants.d.ts +0 -7
  774. package/node_modules/@statsig/client-core/src/EventRetryConstants.js +0 -12
  775. package/node_modules/@statsig/client-core/src/Hashing.d.ts +0 -3
  776. package/node_modules/@statsig/client-core/src/Hashing.js +0 -35
  777. package/node_modules/@statsig/client-core/src/InitializeResponse.d.ts +0 -66
  778. package/node_modules/@statsig/client-core/src/InitializeResponse.js +0 -2
  779. package/node_modules/@statsig/client-core/src/Log.d.ts +0 -15
  780. package/node_modules/@statsig/client-core/src/Log.js +0 -44
  781. package/node_modules/@statsig/client-core/src/MemoKey.d.ts +0 -11
  782. package/node_modules/@statsig/client-core/src/MemoKey.js +0 -37
  783. package/node_modules/@statsig/client-core/src/NetworkConfig.d.ts +0 -26
  784. package/node_modules/@statsig/client-core/src/NetworkConfig.js +0 -23
  785. package/node_modules/@statsig/client-core/src/NetworkCore.d.ts +0 -55
  786. package/node_modules/@statsig/client-core/src/NetworkCore.js +0 -371
  787. package/node_modules/@statsig/client-core/src/NetworkFallbackResolver.d.ts +0 -21
  788. package/node_modules/@statsig/client-core/src/NetworkFallbackResolver.js +0 -198
  789. package/node_modules/@statsig/client-core/src/OverrideAdapter.d.ts +0 -16
  790. package/node_modules/@statsig/client-core/src/OverrideAdapter.js +0 -2
  791. package/node_modules/@statsig/client-core/src/ParamStoreTypes.d.ts +0 -65
  792. package/node_modules/@statsig/client-core/src/ParamStoreTypes.js +0 -2
  793. package/node_modules/@statsig/client-core/src/SDKFlags.d.ts +0 -4
  794. package/node_modules/@statsig/client-core/src/SDKFlags.js +0 -13
  795. package/node_modules/@statsig/client-core/src/SDKType.d.ts +0 -8
  796. package/node_modules/@statsig/client-core/src/SDKType.js +0 -19
  797. package/node_modules/@statsig/client-core/src/SafeJs.d.ts +0 -8
  798. package/node_modules/@statsig/client-core/src/SafeJs.js +0 -68
  799. package/node_modules/@statsig/client-core/src/SessionID.d.ts +0 -20
  800. package/node_modules/@statsig/client-core/src/SessionID.js +0 -106
  801. package/node_modules/@statsig/client-core/src/SizeOf.d.ts +0 -1
  802. package/node_modules/@statsig/client-core/src/SizeOf.js +0 -26
  803. package/node_modules/@statsig/client-core/src/StableID.d.ts +0 -9
  804. package/node_modules/@statsig/client-core/src/StableID.js +0 -90
  805. package/node_modules/@statsig/client-core/src/StatsigClientBase.d.ts +0 -74
  806. package/node_modules/@statsig/client-core/src/StatsigClientBase.js +0 -207
  807. package/node_modules/@statsig/client-core/src/StatsigClientEventEmitter.d.ts +0 -100
  808. package/node_modules/@statsig/client-core/src/StatsigClientEventEmitter.js +0 -6
  809. package/node_modules/@statsig/client-core/src/StatsigDataAdapter.d.ts +0 -131
  810. package/node_modules/@statsig/client-core/src/StatsigDataAdapter.js +0 -4
  811. package/node_modules/@statsig/client-core/src/StatsigEvent.d.ts +0 -28
  812. package/node_modules/@statsig/client-core/src/StatsigEvent.js +0 -98
  813. package/node_modules/@statsig/client-core/src/StatsigMetadata.d.ts +0 -18
  814. package/node_modules/@statsig/client-core/src/StatsigMetadata.js +0 -14
  815. package/node_modules/@statsig/client-core/src/StatsigOptionsCommon.d.ts +0 -180
  816. package/node_modules/@statsig/client-core/src/StatsigOptionsCommon.js +0 -16
  817. package/node_modules/@statsig/client-core/src/StatsigPlugin.d.ts +0 -5
  818. package/node_modules/@statsig/client-core/src/StatsigPlugin.js +0 -2
  819. package/node_modules/@statsig/client-core/src/StatsigTypeFactories.d.ts +0 -8
  820. package/node_modules/@statsig/client-core/src/StatsigTypeFactories.js +0 -57
  821. package/node_modules/@statsig/client-core/src/StatsigTypes.d.ts +0 -43
  822. package/node_modules/@statsig/client-core/src/StatsigTypes.js +0 -2
  823. package/node_modules/@statsig/client-core/src/StatsigUpdateDetails.d.ts +0 -14
  824. package/node_modules/@statsig/client-core/src/StatsigUpdateDetails.js +0 -17
  825. package/node_modules/@statsig/client-core/src/StatsigUser.d.ts +0 -24
  826. package/node_modules/@statsig/client-core/src/StatsigUser.js +0 -25
  827. package/node_modules/@statsig/client-core/src/StorageProvider.d.ts +0 -17
  828. package/node_modules/@statsig/client-core/src/StorageProvider.js +0 -90
  829. package/node_modules/@statsig/client-core/src/TypedJsonParse.d.ts +0 -8
  830. package/node_modules/@statsig/client-core/src/TypedJsonParse.js +0 -27
  831. package/node_modules/@statsig/client-core/src/TypingUtils.d.ts +0 -7
  832. package/node_modules/@statsig/client-core/src/TypingUtils.js +0 -12
  833. package/node_modules/@statsig/client-core/src/UUID.d.ts +0 -1
  834. package/node_modules/@statsig/client-core/src/UUID.js +0 -28
  835. package/node_modules/@statsig/client-core/src/UrlConfiguration.d.ts +0 -12
  836. package/node_modules/@statsig/client-core/src/UrlConfiguration.js +0 -41
  837. package/node_modules/@statsig/client-core/src/VisibilityObserving.d.ts +0 -9
  838. package/node_modules/@statsig/client-core/src/VisibilityObserving.js +0 -39
  839. package/node_modules/@statsig/client-core/src/__tests__/MockOverrideAdapter.d.ts +0 -16
  840. package/node_modules/@statsig/client-core/src/__tests__/MockOverrideAdapter.js +0 -21
  841. package/node_modules/@statsig/client-core/src/index.d.ts +0 -47
  842. package/node_modules/@statsig/client-core/src/index.js +0 -70
  843. package/node_modules/@statsig/js-client/LICENSE +0 -14
  844. package/node_modules/@statsig/js-client/README.md +0 -49
  845. package/node_modules/@statsig/js-client/build/statsig-js-client+session-replay+web-analytics.min.js +0 -2
  846. package/node_modules/@statsig/js-client/build/statsig-js-client+session-replay.min.js +0 -1
  847. package/node_modules/@statsig/js-client/build/statsig-js-client+web-analytics.min.js +0 -2
  848. package/node_modules/@statsig/js-client/build/statsig-js-client.min.js +0 -1
  849. package/node_modules/@statsig/js-client/package.json +0 -18
  850. package/node_modules/@statsig/js-client/src/EvaluationResponseDeltas.d.ts +0 -10
  851. package/node_modules/@statsig/js-client/src/EvaluationResponseDeltas.js +0 -49
  852. package/node_modules/@statsig/js-client/src/EvaluationStore.d.ts +0 -29
  853. package/node_modules/@statsig/js-client/src/EvaluationStore.js +0 -175
  854. package/node_modules/@statsig/js-client/src/InitializeContainer.d.ts +0 -9
  855. package/node_modules/@statsig/js-client/src/InitializeContainer.js +0 -2
  856. package/node_modules/@statsig/js-client/src/Network.d.ts +0 -9
  857. package/node_modules/@statsig/js-client/src/Network.js +0 -74
  858. package/node_modules/@statsig/js-client/src/ParamStoreGetterFactory.d.ts +0 -3
  859. package/node_modules/@statsig/js-client/src/ParamStoreGetterFactory.js +0 -74
  860. package/node_modules/@statsig/js-client/src/StatsigClient.d.ts +0 -244
  861. package/node_modules/@statsig/js-client/src/StatsigClient.js +0 -418
  862. package/node_modules/@statsig/js-client/src/StatsigEvaluationsDataAdapter.d.ts +0 -15
  863. package/node_modules/@statsig/js-client/src/StatsigEvaluationsDataAdapter.js +0 -65
  864. package/node_modules/@statsig/js-client/src/StatsigOptions.d.ts +0 -42
  865. package/node_modules/@statsig/js-client/src/StatsigOptions.js +0 -2
  866. package/node_modules/@statsig/js-client/src/V1InitializeContainer.d.ts +0 -13
  867. package/node_modules/@statsig/js-client/src/V1InitializeContainer.js +0 -35
  868. package/node_modules/@statsig/js-client/src/V2InitializeContainer.d.ts +0 -13
  869. package/node_modules/@statsig/js-client/src/V2InitializeContainer.js +0 -82
  870. package/node_modules/@statsig/js-client/src/index.d.ts +0 -9
  871. package/node_modules/@statsig/js-client/src/index.js +0 -25
  872. package/node_modules/abbrev/LICENSE +0 -46
  873. package/node_modules/abbrev/README.md +0 -23
  874. package/node_modules/abbrev/lib/index.js +0 -53
  875. package/node_modules/abbrev/package.json +0 -41
  876. package/node_modules/base64-js/LICENSE +0 -21
  877. package/node_modules/base64-js/README.md +0 -34
  878. package/node_modules/base64-js/base64js.min.js +0 -1
  879. package/node_modules/base64-js/index.d.ts +0 -3
  880. package/node_modules/base64-js/index.js +0 -150
  881. package/node_modules/base64-js/package.json +0 -47
  882. package/node_modules/bindings/LICENSE.md +0 -22
  883. package/node_modules/bindings/README.md +0 -98
  884. package/node_modules/bindings/bindings.js +0 -221
  885. package/node_modules/bindings/package.json +0 -28
  886. package/node_modules/bl/.travis.yml +0 -17
  887. package/node_modules/bl/BufferList.js +0 -396
  888. package/node_modules/bl/LICENSE.md +0 -13
  889. package/node_modules/bl/README.md +0 -247
  890. package/node_modules/bl/bl.js +0 -84
  891. package/node_modules/bl/package.json +0 -37
  892. package/node_modules/bl/test/convert.js +0 -21
  893. package/node_modules/bl/test/indexOf.js +0 -492
  894. package/node_modules/bl/test/isBufferList.js +0 -32
  895. package/node_modules/bl/test/test.js +0 -869
  896. package/node_modules/buffer/AUTHORS.md +0 -70
  897. package/node_modules/buffer/LICENSE +0 -21
  898. package/node_modules/buffer/README.md +0 -410
  899. package/node_modules/buffer/index.d.ts +0 -186
  900. package/node_modules/buffer/index.js +0 -1817
  901. package/node_modules/buffer/package.json +0 -96
  902. package/node_modules/chownr/LICENSE.md +0 -63
  903. package/node_modules/chownr/README.md +0 -3
  904. package/node_modules/chownr/dist/commonjs/index.d.ts +0 -3
  905. package/node_modules/chownr/dist/commonjs/index.d.ts.map +0 -1
  906. package/node_modules/chownr/dist/commonjs/index.js +0 -93
  907. package/node_modules/chownr/dist/commonjs/index.js.map +0 -1
  908. package/node_modules/chownr/dist/commonjs/package.json +0 -3
  909. package/node_modules/chownr/dist/esm/index.d.ts +0 -3
  910. package/node_modules/chownr/dist/esm/index.d.ts.map +0 -1
  911. package/node_modules/chownr/dist/esm/index.js +0 -85
  912. package/node_modules/chownr/dist/esm/index.js.map +0 -1
  913. package/node_modules/chownr/dist/esm/package.json +0 -3
  914. package/node_modules/chownr/package.json +0 -69
  915. package/node_modules/decompress-response/index.d.ts +0 -22
  916. package/node_modules/decompress-response/index.js +0 -58
  917. package/node_modules/decompress-response/license +0 -9
  918. package/node_modules/decompress-response/package.json +0 -56
  919. package/node_modules/decompress-response/readme.md +0 -48
  920. package/node_modules/deep-extend/CHANGELOG.md +0 -46
  921. package/node_modules/deep-extend/LICENSE +0 -20
  922. package/node_modules/deep-extend/README.md +0 -91
  923. package/node_modules/deep-extend/index.js +0 -1
  924. package/node_modules/deep-extend/lib/deep-extend.js +0 -150
  925. package/node_modules/deep-extend/package.json +0 -62
  926. package/node_modules/detect-libc/LICENSE +0 -201
  927. package/node_modules/detect-libc/README.md +0 -163
  928. package/node_modules/detect-libc/index.d.ts +0 -14
  929. package/node_modules/detect-libc/lib/detect-libc.js +0 -313
  930. package/node_modules/detect-libc/lib/elf.js +0 -39
  931. package/node_modules/detect-libc/lib/filesystem.js +0 -51
  932. package/node_modules/detect-libc/lib/process.js +0 -24
  933. package/node_modules/detect-libc/package.json +0 -44
  934. package/node_modules/end-of-stream/LICENSE +0 -21
  935. package/node_modules/end-of-stream/README.md +0 -54
  936. package/node_modules/end-of-stream/index.js +0 -96
  937. package/node_modules/end-of-stream/package.json +0 -37
  938. package/node_modules/env-paths/index.d.ts +0 -101
  939. package/node_modules/env-paths/index.js +0 -74
  940. package/node_modules/env-paths/license +0 -9
  941. package/node_modules/env-paths/package.json +0 -45
  942. package/node_modules/env-paths/readme.md +0 -115
  943. package/node_modules/expand-template/.travis.yml +0 -6
  944. package/node_modules/expand-template/LICENSE +0 -21
  945. package/node_modules/expand-template/README.md +0 -43
  946. package/node_modules/expand-template/index.js +0 -26
  947. package/node_modules/expand-template/package.json +0 -29
  948. package/node_modules/expand-template/test.js +0 -67
  949. package/node_modules/exponential-backoff/LICENSE +0 -202
  950. package/node_modules/exponential-backoff/README.md +0 -89
  951. package/node_modules/exponential-backoff/dist/backoff.d.ts +0 -9
  952. package/node_modules/exponential-backoff/dist/backoff.js +0 -124
  953. package/node_modules/exponential-backoff/dist/backoff.js.map +0 -1
  954. package/node_modules/exponential-backoff/dist/delay/always/always.delay.d.ts +0 -3
  955. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js +0 -25
  956. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js.map +0 -1
  957. package/node_modules/exponential-backoff/dist/delay/delay.base.d.ts +0 -12
  958. package/node_modules/exponential-backoff/dist/delay/delay.base.js +0 -45
  959. package/node_modules/exponential-backoff/dist/delay/delay.base.js.map +0 -1
  960. package/node_modules/exponential-backoff/dist/delay/delay.factory.d.ts +0 -3
  961. package/node_modules/exponential-backoff/dist/delay/delay.factory.js +0 -17
  962. package/node_modules/exponential-backoff/dist/delay/delay.factory.js.map +0 -1
  963. package/node_modules/exponential-backoff/dist/delay/delay.interface.d.ts +0 -4
  964. package/node_modules/exponential-backoff/dist/delay/delay.interface.js +0 -3
  965. package/node_modules/exponential-backoff/dist/delay/delay.interface.js.map +0 -1
  966. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.d.ts +0 -6
  967. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +0 -82
  968. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js.map +0 -1
  969. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.d.ts +0 -1
  970. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +0 -8
  971. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js.map +0 -1
  972. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.d.ts +0 -3
  973. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +0 -15
  974. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js.map +0 -1
  975. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.d.ts +0 -1
  976. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +0 -7
  977. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js.map +0 -1
  978. package/node_modules/exponential-backoff/dist/options.d.ts +0 -55
  979. package/node_modules/exponential-backoff/dist/options.js +0 -31
  980. package/node_modules/exponential-backoff/dist/options.js.map +0 -1
  981. package/node_modules/exponential-backoff/package.json +0 -62
  982. package/node_modules/exponential-backoff/src/backoff.spec.ts +0 -194
  983. package/node_modules/exponential-backoff/src/backoff.ts +0 -60
  984. package/node_modules/exponential-backoff/src/delay/always/always.delay.spec.ts +0 -65
  985. package/node_modules/exponential-backoff/src/delay/always/always.delay.ts +0 -3
  986. package/node_modules/exponential-backoff/src/delay/delay.base.ts +0 -34
  987. package/node_modules/exponential-backoff/src/delay/delay.factory.ts +0 -18
  988. package/node_modules/exponential-backoff/src/delay/delay.interface.ts +0 -4
  989. package/node_modules/exponential-backoff/src/delay/skip-first/skip-first.delay.ts +0 -15
  990. package/node_modules/exponential-backoff/src/jitter/full/full.jitter.spec.ts +0 -31
  991. package/node_modules/exponential-backoff/src/jitter/full/full.jitter.ts +0 -4
  992. package/node_modules/exponential-backoff/src/jitter/jitter.factory.ts +0 -16
  993. package/node_modules/exponential-backoff/src/jitter/no/no.jitter.spec.ts +0 -9
  994. package/node_modules/exponential-backoff/src/jitter/no/no.jitter.ts +0 -3
  995. package/node_modules/exponential-backoff/src/options.ts +0 -76
  996. package/node_modules/fdir/LICENSE +0 -7
  997. package/node_modules/fdir/README.md +0 -91
  998. package/node_modules/fdir/dist/index.cjs +0 -588
  999. package/node_modules/fdir/dist/index.d.cts +0 -155
  1000. package/node_modules/fdir/dist/index.d.mts +0 -155
  1001. package/node_modules/fdir/dist/index.mjs +0 -570
  1002. package/node_modules/fdir/package.json +0 -103
  1003. package/node_modules/file-uri-to-path/.npmignore +0 -1
  1004. package/node_modules/file-uri-to-path/.travis.yml +0 -30
  1005. package/node_modules/file-uri-to-path/History.md +0 -21
  1006. package/node_modules/file-uri-to-path/LICENSE +0 -20
  1007. package/node_modules/file-uri-to-path/README.md +0 -74
  1008. package/node_modules/file-uri-to-path/index.d.ts +0 -2
  1009. package/node_modules/file-uri-to-path/index.js +0 -66
  1010. package/node_modules/file-uri-to-path/package.json +0 -32
  1011. package/node_modules/file-uri-to-path/test/test.js +0 -24
  1012. package/node_modules/file-uri-to-path/test/tests.json +0 -13
  1013. package/node_modules/fs-constants/LICENSE +0 -21
  1014. package/node_modules/fs-constants/README.md +0 -26
  1015. package/node_modules/fs-constants/browser.js +0 -1
  1016. package/node_modules/fs-constants/index.js +0 -1
  1017. package/node_modules/fs-constants/package.json +0 -19
  1018. package/node_modules/github-from-package/.travis.yml +0 -4
  1019. package/node_modules/github-from-package/LICENSE +0 -18
  1020. package/node_modules/github-from-package/example/package.json +0 -8
  1021. package/node_modules/github-from-package/example/url.js +0 -3
  1022. package/node_modules/github-from-package/index.js +0 -17
  1023. package/node_modules/github-from-package/package.json +0 -30
  1024. package/node_modules/github-from-package/readme.markdown +0 -53
  1025. package/node_modules/github-from-package/test/a.json +0 -8
  1026. package/node_modules/github-from-package/test/b.json +0 -5
  1027. package/node_modules/github-from-package/test/c.json +0 -5
  1028. package/node_modules/github-from-package/test/d.json +0 -7
  1029. package/node_modules/github-from-package/test/e.json +0 -5
  1030. package/node_modules/github-from-package/test/url.js +0 -19
  1031. package/node_modules/graceful-fs/LICENSE +0 -15
  1032. package/node_modules/graceful-fs/README.md +0 -143
  1033. package/node_modules/graceful-fs/clone.js +0 -23
  1034. package/node_modules/graceful-fs/graceful-fs.js +0 -448
  1035. package/node_modules/graceful-fs/legacy-streams.js +0 -118
  1036. package/node_modules/graceful-fs/package.json +0 -53
  1037. package/node_modules/graceful-fs/polyfills.js +0 -355
  1038. package/node_modules/ieee754/LICENSE +0 -11
  1039. package/node_modules/ieee754/README.md +0 -51
  1040. package/node_modules/ieee754/index.d.ts +0 -10
  1041. package/node_modules/ieee754/index.js +0 -85
  1042. package/node_modules/ieee754/package.json +0 -52
  1043. package/node_modules/inherits/LICENSE +0 -16
  1044. package/node_modules/inherits/README.md +0 -42
  1045. package/node_modules/inherits/inherits.js +0 -9
  1046. package/node_modules/inherits/inherits_browser.js +0 -27
  1047. package/node_modules/inherits/package.json +0 -29
  1048. package/node_modules/ini/LICENSE +0 -15
  1049. package/node_modules/ini/README.md +0 -102
  1050. package/node_modules/ini/ini.js +0 -206
  1051. package/node_modules/ini/package.json +0 -33
  1052. package/node_modules/isexe/LICENSE.md +0 -55
  1053. package/node_modules/isexe/README.md +0 -80
  1054. package/node_modules/isexe/dist/commonjs/index.d.ts +0 -14
  1055. package/node_modules/isexe/dist/commonjs/index.d.ts.map +0 -1
  1056. package/node_modules/isexe/dist/commonjs/index.js +0 -56
  1057. package/node_modules/isexe/dist/commonjs/index.js.map +0 -1
  1058. package/node_modules/isexe/dist/commonjs/index.min.js +0 -2
  1059. package/node_modules/isexe/dist/commonjs/index.min.js.map +0 -7
  1060. package/node_modules/isexe/dist/commonjs/options.d.ts +0 -32
  1061. package/node_modules/isexe/dist/commonjs/options.d.ts.map +0 -1
  1062. package/node_modules/isexe/dist/commonjs/options.js +0 -3
  1063. package/node_modules/isexe/dist/commonjs/options.js.map +0 -1
  1064. package/node_modules/isexe/dist/commonjs/package.json +0 -3
  1065. package/node_modules/isexe/dist/commonjs/posix.d.ts +0 -18
  1066. package/node_modules/isexe/dist/commonjs/posix.d.ts.map +0 -1
  1067. package/node_modules/isexe/dist/commonjs/posix.js +0 -67
  1068. package/node_modules/isexe/dist/commonjs/posix.js.map +0 -1
  1069. package/node_modules/isexe/dist/commonjs/win32.d.ts +0 -18
  1070. package/node_modules/isexe/dist/commonjs/win32.d.ts.map +0 -1
  1071. package/node_modules/isexe/dist/commonjs/win32.js +0 -63
  1072. package/node_modules/isexe/dist/commonjs/win32.js.map +0 -1
  1073. package/node_modules/isexe/dist/esm/index.d.ts +0 -14
  1074. package/node_modules/isexe/dist/esm/index.d.ts.map +0 -1
  1075. package/node_modules/isexe/dist/esm/index.js +0 -16
  1076. package/node_modules/isexe/dist/esm/index.js.map +0 -1
  1077. package/node_modules/isexe/dist/esm/index.min.js +0 -2
  1078. package/node_modules/isexe/dist/esm/index.min.js.map +0 -7
  1079. package/node_modules/isexe/dist/esm/options.d.ts +0 -32
  1080. package/node_modules/isexe/dist/esm/options.d.ts.map +0 -1
  1081. package/node_modules/isexe/dist/esm/options.js +0 -2
  1082. package/node_modules/isexe/dist/esm/options.js.map +0 -1
  1083. package/node_modules/isexe/dist/esm/package.json +0 -3
  1084. package/node_modules/isexe/dist/esm/posix.d.ts +0 -18
  1085. package/node_modules/isexe/dist/esm/posix.d.ts.map +0 -1
  1086. package/node_modules/isexe/dist/esm/posix.js +0 -62
  1087. package/node_modules/isexe/dist/esm/posix.js.map +0 -1
  1088. package/node_modules/isexe/dist/esm/win32.d.ts +0 -18
  1089. package/node_modules/isexe/dist/esm/win32.d.ts.map +0 -1
  1090. package/node_modules/isexe/dist/esm/win32.js +0 -58
  1091. package/node_modules/isexe/dist/esm/win32.js.map +0 -1
  1092. package/node_modules/isexe/package.json +0 -78
  1093. package/node_modules/mimic-response/index.d.ts +0 -17
  1094. package/node_modules/mimic-response/index.js +0 -77
  1095. package/node_modules/mimic-response/license +0 -9
  1096. package/node_modules/mimic-response/package.json +0 -42
  1097. package/node_modules/mimic-response/readme.md +0 -78
  1098. package/node_modules/minimist/.eslintrc +0 -29
  1099. package/node_modules/minimist/.github/FUNDING.yml +0 -12
  1100. package/node_modules/minimist/.nycrc +0 -14
  1101. package/node_modules/minimist/CHANGELOG.md +0 -298
  1102. package/node_modules/minimist/LICENSE +0 -18
  1103. package/node_modules/minimist/README.md +0 -121
  1104. package/node_modules/minimist/example/parse.js +0 -4
  1105. package/node_modules/minimist/index.js +0 -263
  1106. package/node_modules/minimist/package.json +0 -75
  1107. package/node_modules/minimist/test/all_bool.js +0 -34
  1108. package/node_modules/minimist/test/bool.js +0 -177
  1109. package/node_modules/minimist/test/dash.js +0 -43
  1110. package/node_modules/minimist/test/default_bool.js +0 -37
  1111. package/node_modules/minimist/test/dotted.js +0 -24
  1112. package/node_modules/minimist/test/kv_short.js +0 -32
  1113. package/node_modules/minimist/test/long.js +0 -33
  1114. package/node_modules/minimist/test/num.js +0 -38
  1115. package/node_modules/minimist/test/parse.js +0 -209
  1116. package/node_modules/minimist/test/parse_modified.js +0 -11
  1117. package/node_modules/minimist/test/proto.js +0 -64
  1118. package/node_modules/minimist/test/short.js +0 -69
  1119. package/node_modules/minimist/test/stop_early.js +0 -17
  1120. package/node_modules/minimist/test/unknown.js +0 -104
  1121. package/node_modules/minimist/test/whitespace.js +0 -10
  1122. package/node_modules/minipass/LICENSE.md +0 -55
  1123. package/node_modules/minipass/README.md +0 -825
  1124. package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  1125. package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  1126. package/node_modules/minipass/dist/commonjs/index.js +0 -1038
  1127. package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  1128. package/node_modules/minipass/dist/commonjs/package.json +0 -3
  1129. package/node_modules/minipass/dist/esm/index.d.ts +0 -545
  1130. package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  1131. package/node_modules/minipass/dist/esm/index.js +0 -1020
  1132. package/node_modules/minipass/dist/esm/index.js.map +0 -1
  1133. package/node_modules/minipass/dist/esm/package.json +0 -3
  1134. package/node_modules/minipass/package.json +0 -77
  1135. package/node_modules/minizlib/LICENSE +0 -26
  1136. package/node_modules/minizlib/README.md +0 -64
  1137. package/node_modules/minizlib/dist/commonjs/constants.d.ts +0 -2
  1138. package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +0 -1
  1139. package/node_modules/minizlib/dist/commonjs/constants.js +0 -123
  1140. package/node_modules/minizlib/dist/commonjs/constants.js.map +0 -1
  1141. package/node_modules/minizlib/dist/commonjs/index.d.ts +0 -99
  1142. package/node_modules/minizlib/dist/commonjs/index.d.ts.map +0 -1
  1143. package/node_modules/minizlib/dist/commonjs/index.js +0 -416
  1144. package/node_modules/minizlib/dist/commonjs/index.js.map +0 -1
  1145. package/node_modules/minizlib/dist/commonjs/package.json +0 -3
  1146. package/node_modules/minizlib/dist/esm/constants.d.ts +0 -2
  1147. package/node_modules/minizlib/dist/esm/constants.d.ts.map +0 -1
  1148. package/node_modules/minizlib/dist/esm/constants.js +0 -117
  1149. package/node_modules/minizlib/dist/esm/constants.js.map +0 -1
  1150. package/node_modules/minizlib/dist/esm/index.d.ts +0 -99
  1151. package/node_modules/minizlib/dist/esm/index.d.ts.map +0 -1
  1152. package/node_modules/minizlib/dist/esm/index.js +0 -363
  1153. package/node_modules/minizlib/dist/esm/index.js.map +0 -1
  1154. package/node_modules/minizlib/dist/esm/package.json +0 -3
  1155. package/node_modules/minizlib/package.json +0 -80
  1156. package/node_modules/mkdirp-classic/LICENSE +0 -21
  1157. package/node_modules/mkdirp-classic/README.md +0 -18
  1158. package/node_modules/mkdirp-classic/index.js +0 -98
  1159. package/node_modules/mkdirp-classic/package.json +0 -18
  1160. package/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +0 -31
  1161. package/node_modules/napi-build-utils/LICENSE +0 -21
  1162. package/node_modules/napi-build-utils/README.md +0 -52
  1163. package/node_modules/napi-build-utils/index.js +0 -214
  1164. package/node_modules/napi-build-utils/index.md +0 -0
  1165. package/node_modules/napi-build-utils/package.json +0 -42
  1166. package/node_modules/node-abi/LICENSE +0 -21
  1167. package/node_modules/node-abi/README.md +0 -54
  1168. package/node_modules/node-abi/abi_registry.json +0 -439
  1169. package/node_modules/node-abi/index.js +0 -179
  1170. package/node_modules/node-abi/package.json +0 -45
  1171. package/node_modules/node-addon-api/LICENSE.md +0 -9
  1172. package/node_modules/node-addon-api/README.md +0 -95
  1173. package/node_modules/node-addon-api/common.gypi +0 -21
  1174. package/node_modules/node-addon-api/except.gypi +0 -25
  1175. package/node_modules/node-addon-api/index.js +0 -14
  1176. package/node_modules/node-addon-api/napi-inl.deprecated.h +0 -186
  1177. package/node_modules/node-addon-api/napi-inl.h +0 -7165
  1178. package/node_modules/node-addon-api/napi.h +0 -3364
  1179. package/node_modules/node-addon-api/node_addon_api.gyp +0 -42
  1180. package/node_modules/node-addon-api/node_api.gyp +0 -9
  1181. package/node_modules/node-addon-api/noexcept.gypi +0 -26
  1182. package/node_modules/node-addon-api/nothing.c +0 -0
  1183. package/node_modules/node-addon-api/package-support.json +0 -21
  1184. package/node_modules/node-addon-api/package.json +0 -480
  1185. package/node_modules/node-addon-api/tools/README.md +0 -73
  1186. package/node_modules/node-addon-api/tools/check-napi.js +0 -99
  1187. package/node_modules/node-addon-api/tools/clang-format.js +0 -71
  1188. package/node_modules/node-addon-api/tools/conversion.js +0 -301
  1189. package/node_modules/node-gyp/.release-please-manifest.json +0 -3
  1190. package/node_modules/node-gyp/CHANGELOG.md +0 -1221
  1191. package/node_modules/node-gyp/CODE_OF_CONDUCT.md +0 -4
  1192. package/node_modules/node-gyp/CONTRIBUTING.md +0 -44
  1193. package/node_modules/node-gyp/LICENSE +0 -24
  1194. package/node_modules/node-gyp/README.md +0 -290
  1195. package/node_modules/node-gyp/SECURITY.md +0 -2
  1196. package/node_modules/node-gyp/addon.gypi +0 -204
  1197. package/node_modules/node-gyp/bin/node-gyp.js +0 -145
  1198. package/node_modules/node-gyp/eslint.config.js +0 -3
  1199. package/node_modules/node-gyp/gyp/.release-please-manifest.json +0 -3
  1200. package/node_modules/node-gyp/gyp/LICENSE +0 -28
  1201. package/node_modules/node-gyp/gyp/data/ninja/build.ninja +0 -4
  1202. package/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  1203. package/node_modules/node-gyp/gyp/docs/GypVsCMake.md +0 -116
  1204. package/node_modules/node-gyp/gyp/docs/Hacking.md +0 -46
  1205. package/node_modules/node-gyp/gyp/docs/InputFormatReference.md +0 -1083
  1206. package/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +0 -430
  1207. package/node_modules/node-gyp/gyp/docs/README.md +0 -27
  1208. package/node_modules/node-gyp/gyp/docs/Testing.md +0 -450
  1209. package/node_modules/node-gyp/gyp/docs/UserDocumentation.md +0 -965
  1210. package/node_modules/node-gyp/gyp/gyp +0 -8
  1211. package/node_modules/node-gyp/gyp/gyp.bat +0 -5
  1212. package/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  1213. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  1214. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  1215. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1283
  1216. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1545
  1217. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  1218. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  1219. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  1220. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -607
  1221. package/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -706
  1222. package/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -725
  1223. package/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -186
  1224. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -170
  1225. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  1226. package/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  1227. package/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  1228. package/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  1229. package/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1169
  1230. package/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1316
  1231. package/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  1232. package/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  1233. package/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -461
  1234. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -88
  1235. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -55
  1236. package/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2755
  1237. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3970
  1238. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  1239. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2957
  1240. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -77
  1241. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1389
  1242. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  1243. package/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3097
  1244. package/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  1245. package/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -765
  1246. package/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1255
  1247. package/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  1248. package/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  1249. package/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -371
  1250. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1936
  1251. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  1252. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -301
  1253. package/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3180
  1254. package/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -64
  1255. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  1256. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  1257. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  1258. package/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  1259. package/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -107
  1260. package/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  1261. package/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  1262. package/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  1263. package/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  1264. package/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  1265. package/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -251
  1266. package/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -807
  1267. package/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  1268. package/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  1269. package/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  1270. package/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -541
  1271. package/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  1272. package/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  1273. package/node_modules/node-gyp/gyp/pyproject.toml +0 -116
  1274. package/node_modules/node-gyp/gyp/release-please-config.json +0 -11
  1275. package/node_modules/node-gyp/gyp/test_gyp.py +0 -260
  1276. package/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  1277. package/node_modules/node-gyp/lib/build.js +0 -230
  1278. package/node_modules/node-gyp/lib/clean.js +0 -15
  1279. package/node_modules/node-gyp/lib/configure.js +0 -328
  1280. package/node_modules/node-gyp/lib/create-config-gypi.js +0 -153
  1281. package/node_modules/node-gyp/lib/download.js +0 -86
  1282. package/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  1283. package/node_modules/node-gyp/lib/find-python.js +0 -304
  1284. package/node_modules/node-gyp/lib/find-visualstudio.js +0 -606
  1285. package/node_modules/node-gyp/lib/install.js +0 -411
  1286. package/node_modules/node-gyp/lib/list.js +0 -26
  1287. package/node_modules/node-gyp/lib/log.js +0 -168
  1288. package/node_modules/node-gyp/lib/node-gyp.js +0 -199
  1289. package/node_modules/node-gyp/lib/process-release.js +0 -144
  1290. package/node_modules/node-gyp/lib/rebuild.js +0 -12
  1291. package/node_modules/node-gyp/lib/remove.js +0 -43
  1292. package/node_modules/node-gyp/lib/util.js +0 -81
  1293. package/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  1294. package/node_modules/node-gyp/package.json +0 -52
  1295. package/node_modules/node-gyp/release-please-config.json +0 -40
  1296. package/node_modules/node-gyp/src/win_delay_load_hook.cc +0 -41
  1297. package/node_modules/nopt/LICENSE +0 -15
  1298. package/node_modules/nopt/README.md +0 -214
  1299. package/node_modules/nopt/bin/nopt.js +0 -29
  1300. package/node_modules/nopt/lib/debug.js +0 -5
  1301. package/node_modules/nopt/lib/nopt-lib.js +0 -514
  1302. package/node_modules/nopt/lib/nopt.js +0 -34
  1303. package/node_modules/nopt/lib/type-defs.js +0 -91
  1304. package/node_modules/nopt/package.json +0 -52
  1305. package/node_modules/once/LICENSE +0 -15
  1306. package/node_modules/once/README.md +0 -79
  1307. package/node_modules/once/once.js +0 -42
  1308. package/node_modules/once/package.json +0 -33
  1309. package/node_modules/picomatch/LICENSE +0 -21
  1310. package/node_modules/picomatch/README.md +0 -749
  1311. package/node_modules/picomatch/index.js +0 -17
  1312. package/node_modules/picomatch/lib/constants.js +0 -184
  1313. package/node_modules/picomatch/lib/parse.js +0 -1386
  1314. package/node_modules/picomatch/lib/picomatch.js +0 -349
  1315. package/node_modules/picomatch/lib/scan.js +0 -391
  1316. package/node_modules/picomatch/lib/utils.js +0 -72
  1317. package/node_modules/picomatch/package.json +0 -82
  1318. package/node_modules/picomatch/posix.js +0 -3
  1319. package/node_modules/prebuild-install/CHANGELOG.md +0 -131
  1320. package/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
  1321. package/node_modules/prebuild-install/LICENSE +0 -21
  1322. package/node_modules/prebuild-install/README.md +0 -163
  1323. package/node_modules/prebuild-install/asset.js +0 -44
  1324. package/node_modules/prebuild-install/bin.js +0 -78
  1325. package/node_modules/prebuild-install/download.js +0 -142
  1326. package/node_modules/prebuild-install/error.js +0 -14
  1327. package/node_modules/prebuild-install/help.txt +0 -16
  1328. package/node_modules/prebuild-install/index.js +0 -1
  1329. package/node_modules/prebuild-install/log.js +0 -33
  1330. package/node_modules/prebuild-install/package.json +0 -67
  1331. package/node_modules/prebuild-install/proxy.js +0 -35
  1332. package/node_modules/prebuild-install/rc.js +0 -64
  1333. package/node_modules/prebuild-install/util.js +0 -143
  1334. package/node_modules/proc-log/LICENSE +0 -15
  1335. package/node_modules/proc-log/README.md +0 -226
  1336. package/node_modules/proc-log/lib/index.js +0 -158
  1337. package/node_modules/proc-log/package.json +0 -46
  1338. package/node_modules/pump/.github/FUNDING.yml +0 -2
  1339. package/node_modules/pump/.travis.yml +0 -5
  1340. package/node_modules/pump/LICENSE +0 -21
  1341. package/node_modules/pump/README.md +0 -74
  1342. package/node_modules/pump/SECURITY.md +0 -5
  1343. package/node_modules/pump/empty.js +0 -1
  1344. package/node_modules/pump/index.js +0 -86
  1345. package/node_modules/pump/package.json +0 -30
  1346. package/node_modules/pump/test-browser.js +0 -66
  1347. package/node_modules/pump/test-node.js +0 -53
  1348. package/node_modules/rc/LICENSE.APACHE2 +0 -15
  1349. package/node_modules/rc/LICENSE.BSD +0 -26
  1350. package/node_modules/rc/LICENSE.MIT +0 -24
  1351. package/node_modules/rc/README.md +0 -227
  1352. package/node_modules/rc/browser.js +0 -7
  1353. package/node_modules/rc/cli.js +0 -4
  1354. package/node_modules/rc/index.js +0 -53
  1355. package/node_modules/rc/lib/utils.js +0 -104
  1356. package/node_modules/rc/package.json +0 -29
  1357. package/node_modules/rc/test/ini.js +0 -16
  1358. package/node_modules/rc/test/nested-env-vars.js +0 -50
  1359. package/node_modules/rc/test/test.js +0 -59
  1360. package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  1361. package/node_modules/readable-stream/GOVERNANCE.md +0 -136
  1362. package/node_modules/readable-stream/LICENSE +0 -47
  1363. package/node_modules/readable-stream/README.md +0 -106
  1364. package/node_modules/readable-stream/errors-browser.js +0 -127
  1365. package/node_modules/readable-stream/errors.js +0 -116
  1366. package/node_modules/readable-stream/experimentalWarning.js +0 -17
  1367. package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  1368. package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  1369. package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  1370. package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  1371. package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  1372. package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  1373. package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  1374. package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  1375. package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  1376. package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  1377. package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  1378. package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  1379. package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  1380. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  1381. package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  1382. package/node_modules/readable-stream/package.json +0 -68
  1383. package/node_modules/readable-stream/readable-browser.js +0 -9
  1384. package/node_modules/readable-stream/readable.js +0 -16
  1385. package/node_modules/safe-buffer/LICENSE +0 -21
  1386. package/node_modules/safe-buffer/README.md +0 -584
  1387. package/node_modules/safe-buffer/index.d.ts +0 -187
  1388. package/node_modules/safe-buffer/index.js +0 -65
  1389. package/node_modules/safe-buffer/package.json +0 -51
  1390. package/node_modules/semver/LICENSE +0 -15
  1391. package/node_modules/semver/README.md +0 -665
  1392. package/node_modules/semver/bin/semver.js +0 -191
  1393. package/node_modules/semver/classes/comparator.js +0 -143
  1394. package/node_modules/semver/classes/index.js +0 -7
  1395. package/node_modules/semver/classes/range.js +0 -557
  1396. package/node_modules/semver/classes/semver.js +0 -333
  1397. package/node_modules/semver/functions/clean.js +0 -8
  1398. package/node_modules/semver/functions/cmp.js +0 -54
  1399. package/node_modules/semver/functions/coerce.js +0 -62
  1400. package/node_modules/semver/functions/compare-build.js +0 -9
  1401. package/node_modules/semver/functions/compare-loose.js +0 -5
  1402. package/node_modules/semver/functions/compare.js +0 -7
  1403. package/node_modules/semver/functions/diff.js +0 -60
  1404. package/node_modules/semver/functions/eq.js +0 -5
  1405. package/node_modules/semver/functions/gt.js +0 -5
  1406. package/node_modules/semver/functions/gte.js +0 -5
  1407. package/node_modules/semver/functions/inc.js +0 -21
  1408. package/node_modules/semver/functions/lt.js +0 -5
  1409. package/node_modules/semver/functions/lte.js +0 -5
  1410. package/node_modules/semver/functions/major.js +0 -5
  1411. package/node_modules/semver/functions/minor.js +0 -5
  1412. package/node_modules/semver/functions/neq.js +0 -5
  1413. package/node_modules/semver/functions/parse.js +0 -18
  1414. package/node_modules/semver/functions/patch.js +0 -5
  1415. package/node_modules/semver/functions/prerelease.js +0 -8
  1416. package/node_modules/semver/functions/rcompare.js +0 -5
  1417. package/node_modules/semver/functions/rsort.js +0 -5
  1418. package/node_modules/semver/functions/satisfies.js +0 -12
  1419. package/node_modules/semver/functions/sort.js +0 -5
  1420. package/node_modules/semver/functions/valid.js +0 -8
  1421. package/node_modules/semver/index.js +0 -91
  1422. package/node_modules/semver/internal/constants.js +0 -37
  1423. package/node_modules/semver/internal/debug.js +0 -11
  1424. package/node_modules/semver/internal/identifiers.js +0 -29
  1425. package/node_modules/semver/internal/lrucache.js +0 -42
  1426. package/node_modules/semver/internal/parse-options.js +0 -17
  1427. package/node_modules/semver/internal/re.js +0 -223
  1428. package/node_modules/semver/package.json +0 -78
  1429. package/node_modules/semver/preload.js +0 -4
  1430. package/node_modules/semver/range.bnf +0 -16
  1431. package/node_modules/semver/ranges/gtr.js +0 -6
  1432. package/node_modules/semver/ranges/intersects.js +0 -9
  1433. package/node_modules/semver/ranges/ltr.js +0 -6
  1434. package/node_modules/semver/ranges/max-satisfying.js +0 -27
  1435. package/node_modules/semver/ranges/min-satisfying.js +0 -26
  1436. package/node_modules/semver/ranges/min-version.js +0 -63
  1437. package/node_modules/semver/ranges/outside.js +0 -82
  1438. package/node_modules/semver/ranges/simplify.js +0 -49
  1439. package/node_modules/semver/ranges/subset.js +0 -249
  1440. package/node_modules/semver/ranges/to-comparators.js +0 -10
  1441. package/node_modules/semver/ranges/valid.js +0 -13
  1442. package/node_modules/simple-concat/.travis.yml +0 -3
  1443. package/node_modules/simple-concat/LICENSE +0 -20
  1444. package/node_modules/simple-concat/README.md +0 -44
  1445. package/node_modules/simple-concat/index.js +0 -15
  1446. package/node_modules/simple-concat/package.json +0 -47
  1447. package/node_modules/simple-concat/test/basic.js +0 -41
  1448. package/node_modules/simple-get/.github/dependabot.yml +0 -15
  1449. package/node_modules/simple-get/.github/workflows/ci.yml +0 -23
  1450. package/node_modules/simple-get/LICENSE +0 -20
  1451. package/node_modules/simple-get/README.md +0 -333
  1452. package/node_modules/simple-get/index.js +0 -108
  1453. package/node_modules/simple-get/package.json +0 -67
  1454. package/node_modules/sqlite3/LICENSE +0 -25
  1455. package/node_modules/sqlite3/README.md +0 -253
  1456. package/node_modules/sqlite3/binding.gyp +0 -58
  1457. package/node_modules/sqlite3/build/Release/node_sqlite3.node +0 -0
  1458. package/node_modules/sqlite3/deps/common-sqlite.gypi +0 -60
  1459. package/node_modules/sqlite3/deps/extract.js +0 -19
  1460. package/node_modules/sqlite3/deps/sqlite-autoconf-3520000.tar.gz +0 -0
  1461. package/node_modules/sqlite3/deps/sqlite3.gyp +0 -121
  1462. package/node_modules/sqlite3/lib/sqlite3-binding.js +0 -1
  1463. package/node_modules/sqlite3/lib/sqlite3.d.ts +0 -205
  1464. package/node_modules/sqlite3/lib/sqlite3.js +0 -207
  1465. package/node_modules/sqlite3/lib/trace.js +0 -38
  1466. package/node_modules/sqlite3/package.json +0 -92
  1467. package/node_modules/sqlite3/src/async.h +0 -76
  1468. package/node_modules/sqlite3/src/backup.cc +0 -418
  1469. package/node_modules/sqlite3/src/backup.h +0 -209
  1470. package/node_modules/sqlite3/src/database.cc +0 -751
  1471. package/node_modules/sqlite3/src/database.h +0 -188
  1472. package/node_modules/sqlite3/src/gcc-preinclude.h +0 -31
  1473. package/node_modules/sqlite3/src/macros.h +0 -207
  1474. package/node_modules/sqlite3/src/node_sqlite3.cc +0 -128
  1475. package/node_modules/sqlite3/src/statement.cc +0 -939
  1476. package/node_modules/sqlite3/src/statement.h +0 -244
  1477. package/node_modules/sqlite3/src/threading.h +0 -10
  1478. package/node_modules/string_decoder/LICENSE +0 -48
  1479. package/node_modules/string_decoder/README.md +0 -47
  1480. package/node_modules/string_decoder/lib/string_decoder.js +0 -296
  1481. package/node_modules/string_decoder/package.json +0 -34
  1482. package/node_modules/strip-json-comments/index.js +0 -70
  1483. package/node_modules/strip-json-comments/license +0 -21
  1484. package/node_modules/strip-json-comments/package.json +0 -42
  1485. package/node_modules/strip-json-comments/readme.md +0 -64
  1486. package/node_modules/tar/LICENSE.md +0 -55
  1487. package/node_modules/tar/README.md +0 -1224
  1488. package/node_modules/tar/dist/commonjs/create.d.ts +0 -3
  1489. package/node_modules/tar/dist/commonjs/create.d.ts.map +0 -1
  1490. package/node_modules/tar/dist/commonjs/create.js +0 -82
  1491. package/node_modules/tar/dist/commonjs/create.js.map +0 -1
  1492. package/node_modules/tar/dist/commonjs/cwd-error.d.ts +0 -8
  1493. package/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +0 -1
  1494. package/node_modules/tar/dist/commonjs/cwd-error.js +0 -18
  1495. package/node_modules/tar/dist/commonjs/cwd-error.js.map +0 -1
  1496. package/node_modules/tar/dist/commonjs/extract.d.ts +0 -3
  1497. package/node_modules/tar/dist/commonjs/extract.d.ts.map +0 -1
  1498. package/node_modules/tar/dist/commonjs/extract.js +0 -88
  1499. package/node_modules/tar/dist/commonjs/extract.js.map +0 -1
  1500. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +0 -2
  1501. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +0 -1
  1502. package/node_modules/tar/dist/commonjs/get-write-flag.js +0 -32
  1503. package/node_modules/tar/dist/commonjs/get-write-flag.js.map +0 -1
  1504. package/node_modules/tar/dist/commonjs/header.d.ts +0 -53
  1505. package/node_modules/tar/dist/commonjs/header.d.ts.map +0 -1
  1506. package/node_modules/tar/dist/commonjs/header.js +0 -312
  1507. package/node_modules/tar/dist/commonjs/header.js.map +0 -1
  1508. package/node_modules/tar/dist/commonjs/index.d.ts +0 -20
  1509. package/node_modules/tar/dist/commonjs/index.d.ts.map +0 -1
  1510. package/node_modules/tar/dist/commonjs/index.js +0 -64
  1511. package/node_modules/tar/dist/commonjs/index.js.map +0 -1
  1512. package/node_modules/tar/dist/commonjs/index.min.js +0 -4
  1513. package/node_modules/tar/dist/commonjs/index.min.js.map +0 -7
  1514. package/node_modules/tar/dist/commonjs/large-numbers.d.ts +0 -3
  1515. package/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +0 -1
  1516. package/node_modules/tar/dist/commonjs/large-numbers.js +0 -99
  1517. package/node_modules/tar/dist/commonjs/large-numbers.js.map +0 -1
  1518. package/node_modules/tar/dist/commonjs/list.d.ts +0 -7
  1519. package/node_modules/tar/dist/commonjs/list.d.ts.map +0 -1
  1520. package/node_modules/tar/dist/commonjs/list.js +0 -145
  1521. package/node_modules/tar/dist/commonjs/list.js.map +0 -1
  1522. package/node_modules/tar/dist/commonjs/make-command.d.ts +0 -49
  1523. package/node_modules/tar/dist/commonjs/make-command.d.ts.map +0 -1
  1524. package/node_modules/tar/dist/commonjs/make-command.js +0 -52
  1525. package/node_modules/tar/dist/commonjs/make-command.js.map +0 -1
  1526. package/node_modules/tar/dist/commonjs/mkdir.d.ts +0 -25
  1527. package/node_modules/tar/dist/commonjs/mkdir.d.ts.map +0 -1
  1528. package/node_modules/tar/dist/commonjs/mkdir.js +0 -187
  1529. package/node_modules/tar/dist/commonjs/mkdir.js.map +0 -1
  1530. package/node_modules/tar/dist/commonjs/mode-fix.d.ts +0 -2
  1531. package/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +0 -1
  1532. package/node_modules/tar/dist/commonjs/mode-fix.js +0 -29
  1533. package/node_modules/tar/dist/commonjs/mode-fix.js.map +0 -1
  1534. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +0 -2
  1535. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +0 -1
  1536. package/node_modules/tar/dist/commonjs/normalize-unicode.js +0 -38
  1537. package/node_modules/tar/dist/commonjs/normalize-unicode.js.map +0 -1
  1538. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +0 -2
  1539. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +0 -1
  1540. package/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
  1541. package/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +0 -1
  1542. package/node_modules/tar/dist/commonjs/options.d.ts +0 -596
  1543. package/node_modules/tar/dist/commonjs/options.d.ts.map +0 -1
  1544. package/node_modules/tar/dist/commonjs/options.js +0 -66
  1545. package/node_modules/tar/dist/commonjs/options.js.map +0 -1
  1546. package/node_modules/tar/dist/commonjs/pack.d.ts +0 -105
  1547. package/node_modules/tar/dist/commonjs/pack.d.ts.map +0 -1
  1548. package/node_modules/tar/dist/commonjs/pack.js +0 -545
  1549. package/node_modules/tar/dist/commonjs/pack.js.map +0 -1
  1550. package/node_modules/tar/dist/commonjs/package.json +0 -3
  1551. package/node_modules/tar/dist/commonjs/parse.d.ts +0 -85
  1552. package/node_modules/tar/dist/commonjs/parse.d.ts.map +0 -1
  1553. package/node_modules/tar/dist/commonjs/parse.js +0 -610
  1554. package/node_modules/tar/dist/commonjs/parse.js.map +0 -1
  1555. package/node_modules/tar/dist/commonjs/path-reservations.d.ts +0 -11
  1556. package/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +0 -1
  1557. package/node_modules/tar/dist/commonjs/path-reservations.js +0 -170
  1558. package/node_modules/tar/dist/commonjs/path-reservations.js.map +0 -1
  1559. package/node_modules/tar/dist/commonjs/pax.d.ts +0 -26
  1560. package/node_modules/tar/dist/commonjs/pax.d.ts.map +0 -1
  1561. package/node_modules/tar/dist/commonjs/pax.js +0 -158
  1562. package/node_modules/tar/dist/commonjs/pax.js.map +0 -1
  1563. package/node_modules/tar/dist/commonjs/process-umask.d.ts +0 -2
  1564. package/node_modules/tar/dist/commonjs/process-umask.d.ts.map +0 -1
  1565. package/node_modules/tar/dist/commonjs/process-umask.js +0 -7
  1566. package/node_modules/tar/dist/commonjs/process-umask.js.map +0 -1
  1567. package/node_modules/tar/dist/commonjs/read-entry.d.ts +0 -36
  1568. package/node_modules/tar/dist/commonjs/read-entry.d.ts.map +0 -1
  1569. package/node_modules/tar/dist/commonjs/read-entry.js +0 -136
  1570. package/node_modules/tar/dist/commonjs/read-entry.js.map +0 -1
  1571. package/node_modules/tar/dist/commonjs/replace.d.ts +0 -2
  1572. package/node_modules/tar/dist/commonjs/replace.d.ts.map +0 -1
  1573. package/node_modules/tar/dist/commonjs/replace.js +0 -227
  1574. package/node_modules/tar/dist/commonjs/replace.js.map +0 -1
  1575. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +0 -2
  1576. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +0 -1
  1577. package/node_modules/tar/dist/commonjs/strip-absolute-path.js +0 -29
  1578. package/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +0 -1
  1579. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +0 -2
  1580. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +0 -1
  1581. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +0 -18
  1582. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +0 -1
  1583. package/node_modules/tar/dist/commonjs/symlink-error.d.ts +0 -9
  1584. package/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +0 -1
  1585. package/node_modules/tar/dist/commonjs/symlink-error.js +0 -19
  1586. package/node_modules/tar/dist/commonjs/symlink-error.js.map +0 -1
  1587. package/node_modules/tar/dist/commonjs/types.d.ts +0 -7
  1588. package/node_modules/tar/dist/commonjs/types.d.ts.map +0 -1
  1589. package/node_modules/tar/dist/commonjs/types.js +0 -50
  1590. package/node_modules/tar/dist/commonjs/types.js.map +0 -1
  1591. package/node_modules/tar/dist/commonjs/unpack.d.ts +0 -101
  1592. package/node_modules/tar/dist/commonjs/unpack.d.ts.map +0 -1
  1593. package/node_modules/tar/dist/commonjs/unpack.js +0 -932
  1594. package/node_modules/tar/dist/commonjs/unpack.js.map +0 -1
  1595. package/node_modules/tar/dist/commonjs/update.d.ts +0 -2
  1596. package/node_modules/tar/dist/commonjs/update.d.ts.map +0 -1
  1597. package/node_modules/tar/dist/commonjs/update.js +0 -33
  1598. package/node_modules/tar/dist/commonjs/update.js.map +0 -1
  1599. package/node_modules/tar/dist/commonjs/warn-method.d.ts +0 -24
  1600. package/node_modules/tar/dist/commonjs/warn-method.d.ts.map +0 -1
  1601. package/node_modules/tar/dist/commonjs/warn-method.js +0 -31
  1602. package/node_modules/tar/dist/commonjs/warn-method.js.map +0 -1
  1603. package/node_modules/tar/dist/commonjs/winchars.d.ts +0 -3
  1604. package/node_modules/tar/dist/commonjs/winchars.d.ts.map +0 -1
  1605. package/node_modules/tar/dist/commonjs/winchars.js +0 -14
  1606. package/node_modules/tar/dist/commonjs/winchars.js.map +0 -1
  1607. package/node_modules/tar/dist/commonjs/write-entry.d.ts +0 -129
  1608. package/node_modules/tar/dist/commonjs/write-entry.d.ts.map +0 -1
  1609. package/node_modules/tar/dist/commonjs/write-entry.js +0 -698
  1610. package/node_modules/tar/dist/commonjs/write-entry.js.map +0 -1
  1611. package/node_modules/tar/dist/esm/create.d.ts +0 -3
  1612. package/node_modules/tar/dist/esm/create.d.ts.map +0 -1
  1613. package/node_modules/tar/dist/esm/create.js +0 -76
  1614. package/node_modules/tar/dist/esm/create.js.map +0 -1
  1615. package/node_modules/tar/dist/esm/cwd-error.d.ts +0 -8
  1616. package/node_modules/tar/dist/esm/cwd-error.d.ts.map +0 -1
  1617. package/node_modules/tar/dist/esm/cwd-error.js +0 -14
  1618. package/node_modules/tar/dist/esm/cwd-error.js.map +0 -1
  1619. package/node_modules/tar/dist/esm/extract.d.ts +0 -3
  1620. package/node_modules/tar/dist/esm/extract.d.ts.map +0 -1
  1621. package/node_modules/tar/dist/esm/extract.js +0 -49
  1622. package/node_modules/tar/dist/esm/extract.js.map +0 -1
  1623. package/node_modules/tar/dist/esm/get-write-flag.d.ts +0 -2
  1624. package/node_modules/tar/dist/esm/get-write-flag.d.ts.map +0 -1
  1625. package/node_modules/tar/dist/esm/get-write-flag.js +0 -26
  1626. package/node_modules/tar/dist/esm/get-write-flag.js.map +0 -1
  1627. package/node_modules/tar/dist/esm/header.d.ts +0 -53
  1628. package/node_modules/tar/dist/esm/header.d.ts.map +0 -1
  1629. package/node_modules/tar/dist/esm/header.js +0 -275
  1630. package/node_modules/tar/dist/esm/header.js.map +0 -1
  1631. package/node_modules/tar/dist/esm/index.d.ts +0 -20
  1632. package/node_modules/tar/dist/esm/index.d.ts.map +0 -1
  1633. package/node_modules/tar/dist/esm/index.js +0 -20
  1634. package/node_modules/tar/dist/esm/index.js.map +0 -1
  1635. package/node_modules/tar/dist/esm/index.min.js +0 -4
  1636. package/node_modules/tar/dist/esm/index.min.js.map +0 -7
  1637. package/node_modules/tar/dist/esm/large-numbers.d.ts +0 -3
  1638. package/node_modules/tar/dist/esm/large-numbers.d.ts.map +0 -1
  1639. package/node_modules/tar/dist/esm/large-numbers.js +0 -94
  1640. package/node_modules/tar/dist/esm/large-numbers.js.map +0 -1
  1641. package/node_modules/tar/dist/esm/list.d.ts +0 -7
  1642. package/node_modules/tar/dist/esm/list.d.ts.map +0 -1
  1643. package/node_modules/tar/dist/esm/list.js +0 -105
  1644. package/node_modules/tar/dist/esm/list.js.map +0 -1
  1645. package/node_modules/tar/dist/esm/make-command.d.ts +0 -49
  1646. package/node_modules/tar/dist/esm/make-command.d.ts.map +0 -1
  1647. package/node_modules/tar/dist/esm/make-command.js +0 -48
  1648. package/node_modules/tar/dist/esm/make-command.js.map +0 -1
  1649. package/node_modules/tar/dist/esm/mkdir.d.ts +0 -25
  1650. package/node_modules/tar/dist/esm/mkdir.d.ts.map +0 -1
  1651. package/node_modules/tar/dist/esm/mkdir.js +0 -179
  1652. package/node_modules/tar/dist/esm/mkdir.js.map +0 -1
  1653. package/node_modules/tar/dist/esm/mode-fix.d.ts +0 -2
  1654. package/node_modules/tar/dist/esm/mode-fix.d.ts.map +0 -1
  1655. package/node_modules/tar/dist/esm/mode-fix.js +0 -25
  1656. package/node_modules/tar/dist/esm/mode-fix.js.map +0 -1
  1657. package/node_modules/tar/dist/esm/normalize-unicode.d.ts +0 -2
  1658. package/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +0 -1
  1659. package/node_modules/tar/dist/esm/normalize-unicode.js +0 -34
  1660. package/node_modules/tar/dist/esm/normalize-unicode.js.map +0 -1
  1661. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +0 -2
  1662. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +0 -1
  1663. package/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
  1664. package/node_modules/tar/dist/esm/normalize-windows-path.js.map +0 -1
  1665. package/node_modules/tar/dist/esm/options.d.ts +0 -596
  1666. package/node_modules/tar/dist/esm/options.d.ts.map +0 -1
  1667. package/node_modules/tar/dist/esm/options.js +0 -54
  1668. package/node_modules/tar/dist/esm/options.js.map +0 -1
  1669. package/node_modules/tar/dist/esm/pack.d.ts +0 -105
  1670. package/node_modules/tar/dist/esm/pack.d.ts.map +0 -1
  1671. package/node_modules/tar/dist/esm/pack.js +0 -503
  1672. package/node_modules/tar/dist/esm/pack.js.map +0 -1
  1673. package/node_modules/tar/dist/esm/package.json +0 -3
  1674. package/node_modules/tar/dist/esm/parse.d.ts +0 -85
  1675. package/node_modules/tar/dist/esm/parse.d.ts.map +0 -1
  1676. package/node_modules/tar/dist/esm/parse.js +0 -606
  1677. package/node_modules/tar/dist/esm/parse.js.map +0 -1
  1678. package/node_modules/tar/dist/esm/path-reservations.d.ts +0 -11
  1679. package/node_modules/tar/dist/esm/path-reservations.d.ts.map +0 -1
  1680. package/node_modules/tar/dist/esm/path-reservations.js +0 -166
  1681. package/node_modules/tar/dist/esm/path-reservations.js.map +0 -1
  1682. package/node_modules/tar/dist/esm/pax.d.ts +0 -26
  1683. package/node_modules/tar/dist/esm/pax.d.ts.map +0 -1
  1684. package/node_modules/tar/dist/esm/pax.js +0 -154
  1685. package/node_modules/tar/dist/esm/pax.js.map +0 -1
  1686. package/node_modules/tar/dist/esm/process-umask.d.ts +0 -2
  1687. package/node_modules/tar/dist/esm/process-umask.d.ts.map +0 -1
  1688. package/node_modules/tar/dist/esm/process-umask.js +0 -3
  1689. package/node_modules/tar/dist/esm/process-umask.js.map +0 -1
  1690. package/node_modules/tar/dist/esm/read-entry.d.ts +0 -36
  1691. package/node_modules/tar/dist/esm/read-entry.d.ts.map +0 -1
  1692. package/node_modules/tar/dist/esm/read-entry.js +0 -132
  1693. package/node_modules/tar/dist/esm/read-entry.js.map +0 -1
  1694. package/node_modules/tar/dist/esm/replace.d.ts +0 -2
  1695. package/node_modules/tar/dist/esm/replace.d.ts.map +0 -1
  1696. package/node_modules/tar/dist/esm/replace.js +0 -221
  1697. package/node_modules/tar/dist/esm/replace.js.map +0 -1
  1698. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +0 -2
  1699. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +0 -1
  1700. package/node_modules/tar/dist/esm/strip-absolute-path.js +0 -25
  1701. package/node_modules/tar/dist/esm/strip-absolute-path.js.map +0 -1
  1702. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +0 -2
  1703. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +0 -1
  1704. package/node_modules/tar/dist/esm/strip-trailing-slashes.js +0 -14
  1705. package/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +0 -1
  1706. package/node_modules/tar/dist/esm/symlink-error.d.ts +0 -9
  1707. package/node_modules/tar/dist/esm/symlink-error.d.ts.map +0 -1
  1708. package/node_modules/tar/dist/esm/symlink-error.js +0 -15
  1709. package/node_modules/tar/dist/esm/symlink-error.js.map +0 -1
  1710. package/node_modules/tar/dist/esm/types.d.ts +0 -7
  1711. package/node_modules/tar/dist/esm/types.d.ts.map +0 -1
  1712. package/node_modules/tar/dist/esm/types.js +0 -45
  1713. package/node_modules/tar/dist/esm/types.js.map +0 -1
  1714. package/node_modules/tar/dist/esm/unpack.d.ts +0 -101
  1715. package/node_modules/tar/dist/esm/unpack.d.ts.map +0 -1
  1716. package/node_modules/tar/dist/esm/unpack.js +0 -891
  1717. package/node_modules/tar/dist/esm/unpack.js.map +0 -1
  1718. package/node_modules/tar/dist/esm/update.d.ts +0 -2
  1719. package/node_modules/tar/dist/esm/update.d.ts.map +0 -1
  1720. package/node_modules/tar/dist/esm/update.js +0 -30
  1721. package/node_modules/tar/dist/esm/update.js.map +0 -1
  1722. package/node_modules/tar/dist/esm/warn-method.d.ts +0 -24
  1723. package/node_modules/tar/dist/esm/warn-method.d.ts.map +0 -1
  1724. package/node_modules/tar/dist/esm/warn-method.js +0 -27
  1725. package/node_modules/tar/dist/esm/warn-method.js.map +0 -1
  1726. package/node_modules/tar/dist/esm/winchars.d.ts +0 -3
  1727. package/node_modules/tar/dist/esm/winchars.d.ts.map +0 -1
  1728. package/node_modules/tar/dist/esm/winchars.js +0 -9
  1729. package/node_modules/tar/dist/esm/winchars.js.map +0 -1
  1730. package/node_modules/tar/dist/esm/write-entry.d.ts +0 -129
  1731. package/node_modules/tar/dist/esm/write-entry.d.ts.map +0 -1
  1732. package/node_modules/tar/dist/esm/write-entry.js +0 -656
  1733. package/node_modules/tar/dist/esm/write-entry.js.map +0 -1
  1734. package/node_modules/tar/package.json +0 -297
  1735. package/node_modules/tar-fs/.travis.yml +0 -6
  1736. package/node_modules/tar-fs/LICENSE +0 -21
  1737. package/node_modules/tar-fs/README.md +0 -165
  1738. package/node_modules/tar-fs/index.js +0 -363
  1739. package/node_modules/tar-fs/node_modules/chownr/LICENSE +0 -15
  1740. package/node_modules/tar-fs/node_modules/chownr/README.md +0 -3
  1741. package/node_modules/tar-fs/node_modules/chownr/chownr.js +0 -167
  1742. package/node_modules/tar-fs/node_modules/chownr/package.json +0 -29
  1743. package/node_modules/tar-fs/package.json +0 -41
  1744. package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
  1745. package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
  1746. package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
  1747. package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
  1748. package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
  1749. package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
  1750. package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
  1751. package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
  1752. package/node_modules/tar-fs/test/fixtures/e/file +0 -0
  1753. package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
  1754. package/node_modules/tar-fs/test/index.js +0 -346
  1755. package/node_modules/tar-stream/LICENSE +0 -21
  1756. package/node_modules/tar-stream/README.md +0 -168
  1757. package/node_modules/tar-stream/extract.js +0 -257
  1758. package/node_modules/tar-stream/headers.js +0 -295
  1759. package/node_modules/tar-stream/index.js +0 -2
  1760. package/node_modules/tar-stream/pack.js +0 -255
  1761. package/node_modules/tar-stream/package.json +0 -58
  1762. package/node_modules/tar-stream/sandbox.js +0 -11
  1763. package/node_modules/tinyglobby/LICENSE +0 -21
  1764. package/node_modules/tinyglobby/README.md +0 -25
  1765. package/node_modules/tinyglobby/dist/index.cjs +0 -334
  1766. package/node_modules/tinyglobby/dist/index.d.cts +0 -148
  1767. package/node_modules/tinyglobby/dist/index.d.mts +0 -148
  1768. package/node_modules/tinyglobby/dist/index.mjs +0 -306
  1769. package/node_modules/tinyglobby/package.json +0 -73
  1770. package/node_modules/tunnel-agent/LICENSE +0 -55
  1771. package/node_modules/tunnel-agent/README.md +0 -4
  1772. package/node_modules/tunnel-agent/index.js +0 -244
  1773. package/node_modules/tunnel-agent/package.json +0 -22
  1774. package/node_modules/undici/LICENSE +0 -21
  1775. package/node_modules/undici/README.md +0 -741
  1776. package/node_modules/undici/docs/docs/api/Agent.md +0 -84
  1777. package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  1778. package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  1779. package/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
  1780. package/node_modules/undici/docs/docs/api/Client.md +0 -285
  1781. package/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
  1782. package/node_modules/undici/docs/docs/api/Connector.md +0 -115
  1783. package/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  1784. package/node_modules/undici/docs/docs/api/Cookies.md +0 -101
  1785. package/node_modules/undici/docs/docs/api/Debug.md +0 -62
  1786. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
  1787. package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
  1788. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
  1789. package/node_modules/undici/docs/docs/api/Errors.md +0 -49
  1790. package/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  1791. package/node_modules/undici/docs/docs/api/Fetch.md +0 -60
  1792. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
  1793. package/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
  1794. package/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
  1795. package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
  1796. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
  1797. package/node_modules/undici/docs/docs/api/MockClient.md +0 -81
  1798. package/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  1799. package/node_modules/undici/docs/docs/api/MockPool.md +0 -555
  1800. package/node_modules/undici/docs/docs/api/Pool.md +0 -84
  1801. package/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  1802. package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
  1803. package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
  1804. package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
  1805. package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
  1806. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
  1807. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
  1808. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -274
  1809. package/node_modules/undici/docs/docs/api/Util.md +0 -25
  1810. package/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
  1811. package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  1812. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  1813. package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
  1814. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
  1815. package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  1816. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
  1817. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
  1818. package/node_modules/undici/index-fetch.js +0 -65
  1819. package/node_modules/undici/index.d.ts +0 -3
  1820. package/node_modules/undici/index.js +0 -234
  1821. package/node_modules/undici/lib/api/abort-signal.js +0 -59
  1822. package/node_modules/undici/lib/api/api-connect.js +0 -110
  1823. package/node_modules/undici/lib/api/api-pipeline.js +0 -252
  1824. package/node_modules/undici/lib/api/api-request.js +0 -214
  1825. package/node_modules/undici/lib/api/api-stream.js +0 -209
  1826. package/node_modules/undici/lib/api/api-upgrade.js +0 -111
  1827. package/node_modules/undici/lib/api/index.js +0 -7
  1828. package/node_modules/undici/lib/api/readable.js +0 -580
  1829. package/node_modules/undici/lib/cache/memory-cache-store.js +0 -234
  1830. package/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -461
  1831. package/node_modules/undici/lib/core/connect.js +0 -137
  1832. package/node_modules/undici/lib/core/constants.js +0 -143
  1833. package/node_modules/undici/lib/core/diagnostics.js +0 -227
  1834. package/node_modules/undici/lib/core/errors.js +0 -477
  1835. package/node_modules/undici/lib/core/request.js +0 -438
  1836. package/node_modules/undici/lib/core/socks5-client.js +0 -407
  1837. package/node_modules/undici/lib/core/socks5-utils.js +0 -203
  1838. package/node_modules/undici/lib/core/symbols.js +0 -75
  1839. package/node_modules/undici/lib/core/tree.js +0 -160
  1840. package/node_modules/undici/lib/core/util.js +0 -992
  1841. package/node_modules/undici/lib/dispatcher/agent.js +0 -158
  1842. package/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
  1843. package/node_modules/undici/lib/dispatcher/client-h1.js +0 -1610
  1844. package/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
  1845. package/node_modules/undici/lib/dispatcher/client.js +0 -659
  1846. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -165
  1847. package/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
  1848. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
  1849. package/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  1850. package/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  1851. package/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
  1852. package/node_modules/undici/lib/dispatcher/pool.js +0 -118
  1853. package/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -318
  1854. package/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  1855. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
  1856. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -249
  1857. package/node_modules/undici/lib/encoding/index.js +0 -33
  1858. package/node_modules/undici/lib/global.js +0 -50
  1859. package/node_modules/undici/lib/handler/cache-handler.js +0 -578
  1860. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
  1861. package/node_modules/undici/lib/handler/decorator-handler.js +0 -67
  1862. package/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
  1863. package/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  1864. package/node_modules/undici/lib/handler/retry-handler.js +0 -394
  1865. package/node_modules/undici/lib/handler/unwrap-handler.js +0 -100
  1866. package/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  1867. package/node_modules/undici/lib/interceptor/cache.js +0 -495
  1868. package/node_modules/undici/lib/interceptor/decompress.js +0 -259
  1869. package/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
  1870. package/node_modules/undici/lib/interceptor/dns.js +0 -571
  1871. package/node_modules/undici/lib/interceptor/dump.js +0 -112
  1872. package/node_modules/undici/lib/interceptor/redirect.js +0 -21
  1873. package/node_modules/undici/lib/interceptor/response-error.js +0 -95
  1874. package/node_modules/undici/lib/interceptor/retry.js +0 -19
  1875. package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  1876. package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
  1877. package/node_modules/undici/lib/llhttp/constants.js +0 -531
  1878. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  1879. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  1880. package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
  1881. package/node_modules/undici/lib/llhttp/utils.js +0 -12
  1882. package/node_modules/undici/lib/mock/mock-agent.js +0 -232
  1883. package/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  1884. package/node_modules/undici/lib/mock/mock-client.js +0 -68
  1885. package/node_modules/undici/lib/mock/mock-errors.js +0 -29
  1886. package/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
  1887. package/node_modules/undici/lib/mock/mock-pool.js +0 -68
  1888. package/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  1889. package/node_modules/undici/lib/mock/mock-utils.js +0 -486
  1890. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  1891. package/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
  1892. package/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
  1893. package/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  1894. package/node_modules/undici/lib/util/cache.js +0 -407
  1895. package/node_modules/undici/lib/util/date.js +0 -653
  1896. package/node_modules/undici/lib/util/promise.js +0 -28
  1897. package/node_modules/undici/lib/util/runtime-features.js +0 -124
  1898. package/node_modules/undici/lib/util/stats.js +0 -32
  1899. package/node_modules/undici/lib/util/timers.js +0 -425
  1900. package/node_modules/undici/lib/web/cache/cache.js +0 -864
  1901. package/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  1902. package/node_modules/undici/lib/web/cache/util.js +0 -45
  1903. package/node_modules/undici/lib/web/cookies/constants.js +0 -12
  1904. package/node_modules/undici/lib/web/cookies/index.js +0 -199
  1905. package/node_modules/undici/lib/web/cookies/parse.js +0 -322
  1906. package/node_modules/undici/lib/web/cookies/util.js +0 -282
  1907. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
  1908. package/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
  1909. package/node_modules/undici/lib/web/eventsource/util.js +0 -29
  1910. package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  1911. package/node_modules/undici/lib/web/fetch/body.js +0 -509
  1912. package/node_modules/undici/lib/web/fetch/constants.js +0 -131
  1913. package/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  1914. package/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -575
  1915. package/node_modules/undici/lib/web/fetch/formdata.js +0 -259
  1916. package/node_modules/undici/lib/web/fetch/global.js +0 -40
  1917. package/node_modules/undici/lib/web/fetch/headers.js +0 -719
  1918. package/node_modules/undici/lib/web/fetch/index.js +0 -2410
  1919. package/node_modules/undici/lib/web/fetch/request.js +0 -1115
  1920. package/node_modules/undici/lib/web/fetch/response.js +0 -641
  1921. package/node_modules/undici/lib/web/fetch/util.js +0 -1522
  1922. package/node_modules/undici/lib/web/infra/index.js +0 -229
  1923. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  1924. package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  1925. package/node_modules/undici/lib/web/webidl/index.js +0 -1006
  1926. package/node_modules/undici/lib/web/websocket/connection.js +0 -329
  1927. package/node_modules/undici/lib/web/websocket/constants.js +0 -126
  1928. package/node_modules/undici/lib/web/websocket/events.js +0 -331
  1929. package/node_modules/undici/lib/web/websocket/frame.js +0 -133
  1930. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -118
  1931. package/node_modules/undici/lib/web/websocket/receiver.js +0 -450
  1932. package/node_modules/undici/lib/web/websocket/sender.js +0 -109
  1933. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  1934. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -497
  1935. package/node_modules/undici/lib/web/websocket/util.js +0 -347
  1936. package/node_modules/undici/lib/web/websocket/websocket.js +0 -751
  1937. package/node_modules/undici/package.json +0 -152
  1938. package/node_modules/undici/scripts/strip-comments.js +0 -10
  1939. package/node_modules/undici/types/README.md +0 -6
  1940. package/node_modules/undici/types/agent.d.ts +0 -32
  1941. package/node_modules/undici/types/api.d.ts +0 -43
  1942. package/node_modules/undici/types/balanced-pool.d.ts +0 -30
  1943. package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
  1944. package/node_modules/undici/types/cache.d.ts +0 -36
  1945. package/node_modules/undici/types/client-stats.d.ts +0 -15
  1946. package/node_modules/undici/types/client.d.ts +0 -123
  1947. package/node_modules/undici/types/connector.d.ts +0 -36
  1948. package/node_modules/undici/types/content-type.d.ts +0 -21
  1949. package/node_modules/undici/types/cookies.d.ts +0 -30
  1950. package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
  1951. package/node_modules/undici/types/dispatcher.d.ts +0 -273
  1952. package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
  1953. package/node_modules/undici/types/errors.d.ts +0 -177
  1954. package/node_modules/undici/types/eventsource.d.ts +0 -66
  1955. package/node_modules/undici/types/fetch.d.ts +0 -231
  1956. package/node_modules/undici/types/formdata.d.ts +0 -114
  1957. package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  1958. package/node_modules/undici/types/global-origin.d.ts +0 -7
  1959. package/node_modules/undici/types/h2c-client.d.ts +0 -73
  1960. package/node_modules/undici/types/handlers.d.ts +0 -14
  1961. package/node_modules/undici/types/header.d.ts +0 -160
  1962. package/node_modules/undici/types/index.d.ts +0 -91
  1963. package/node_modules/undici/types/interceptors.d.ts +0 -80
  1964. package/node_modules/undici/types/mock-agent.d.ts +0 -68
  1965. package/node_modules/undici/types/mock-call-history.d.ts +0 -111
  1966. package/node_modules/undici/types/mock-client.d.ts +0 -27
  1967. package/node_modules/undici/types/mock-errors.d.ts +0 -12
  1968. package/node_modules/undici/types/mock-interceptor.d.ts +0 -94
  1969. package/node_modules/undici/types/mock-pool.d.ts +0 -27
  1970. package/node_modules/undici/types/patch.d.ts +0 -29
  1971. package/node_modules/undici/types/pool-stats.d.ts +0 -19
  1972. package/node_modules/undici/types/pool.d.ts +0 -41
  1973. package/node_modules/undici/types/proxy-agent.d.ts +0 -29
  1974. package/node_modules/undici/types/readable.d.ts +0 -68
  1975. package/node_modules/undici/types/retry-agent.d.ts +0 -8
  1976. package/node_modules/undici/types/retry-handler.d.ts +0 -125
  1977. package/node_modules/undici/types/round-robin-pool.d.ts +0 -41
  1978. package/node_modules/undici/types/snapshot-agent.d.ts +0 -109
  1979. package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -25
  1980. package/node_modules/undici/types/util.d.ts +0 -18
  1981. package/node_modules/undici/types/utility.d.ts +0 -7
  1982. package/node_modules/undici/types/webidl.d.ts +0 -347
  1983. package/node_modules/undici/types/websocket.d.ts +0 -188
  1984. package/node_modules/util-deprecate/History.md +0 -16
  1985. package/node_modules/util-deprecate/LICENSE +0 -24
  1986. package/node_modules/util-deprecate/README.md +0 -53
  1987. package/node_modules/util-deprecate/browser.js +0 -67
  1988. package/node_modules/util-deprecate/node.js +0 -6
  1989. package/node_modules/util-deprecate/package.json +0 -27
  1990. package/node_modules/which/LICENSE +0 -15
  1991. package/node_modules/which/README.md +0 -51
  1992. package/node_modules/which/bin/which.js +0 -52
  1993. package/node_modules/which/lib/index.js +0 -111
  1994. package/node_modules/which/package.json +0 -52
  1995. package/node_modules/wrappy/LICENSE +0 -15
  1996. package/node_modules/wrappy/README.md +0 -36
  1997. package/node_modules/wrappy/package.json +0 -29
  1998. package/node_modules/wrappy/wrappy.js +0 -33
  1999. package/node_modules/yallist/LICENSE.md +0 -63
  2000. package/node_modules/yallist/README.md +0 -205
  2001. package/node_modules/yallist/dist/commonjs/index.d.ts +0 -39
  2002. package/node_modules/yallist/dist/commonjs/index.d.ts.map +0 -1
  2003. package/node_modules/yallist/dist/commonjs/index.js +0 -384
  2004. package/node_modules/yallist/dist/commonjs/index.js.map +0 -1
  2005. package/node_modules/yallist/dist/commonjs/package.json +0 -3
  2006. package/node_modules/yallist/dist/esm/index.d.ts +0 -39
  2007. package/node_modules/yallist/dist/esm/index.d.ts.map +0 -1
  2008. package/node_modules/yallist/dist/esm/index.js +0 -379
  2009. package/node_modules/yallist/dist/esm/index.js.map +0 -1
  2010. package/node_modules/yallist/dist/esm/package.json +0 -3
  2011. package/node_modules/yallist/package.json +0 -68
  2012. package/node_modules/zod/LICENSE +0 -21
  2013. package/node_modules/zod/README.md +0 -208
  2014. package/node_modules/zod/index.cjs +0 -33
  2015. package/node_modules/zod/index.d.cts +0 -4
  2016. package/node_modules/zod/index.d.ts +0 -4
  2017. package/node_modules/zod/index.js +0 -4
  2018. package/node_modules/zod/package.json +0 -118
  2019. package/node_modules/zod/src/index.ts +0 -4
  2020. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  2021. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  2022. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  2023. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  2024. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  2025. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  2026. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  2027. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  2028. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  2029. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  2030. package/node_modules/zod/src/v3/errors.ts +0 -13
  2031. package/node_modules/zod/src/v3/external.ts +0 -6
  2032. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  2033. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  2034. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  2035. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  2036. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  2037. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  2038. package/node_modules/zod/src/v3/index.ts +0 -4
  2039. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  2040. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  2041. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  2042. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  2043. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  2044. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  2045. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  2046. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  2047. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  2048. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  2049. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  2050. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  2051. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  2052. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  2053. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  2054. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  2055. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  2056. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  2057. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  2058. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  2059. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  2060. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  2061. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  2062. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  2063. package/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  2064. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  2065. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  2066. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  2067. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  2068. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  2069. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  2070. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  2071. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  2072. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  2073. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  2074. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  2075. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  2076. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  2077. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  2078. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  2079. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  2080. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  2081. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  2082. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  2083. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  2084. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  2085. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  2086. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  2087. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  2088. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  2089. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  2090. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  2091. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  2092. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  2093. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  2094. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  2095. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  2096. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  2097. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  2098. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  2099. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  2100. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  2101. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  2102. package/node_modules/zod/src/v3/types.ts +0 -5136
  2103. package/node_modules/zod/src/v4/classic/checks.ts +0 -30
  2104. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  2105. package/node_modules/zod/src/v4/classic/compat.ts +0 -66
  2106. package/node_modules/zod/src/v4/classic/errors.ts +0 -75
  2107. package/node_modules/zod/src/v4/classic/external.ts +0 -50
  2108. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  2109. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  2110. package/node_modules/zod/src/v4/classic/parse.ts +0 -33
  2111. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  2112. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  2113. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  2114. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  2115. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  2116. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  2117. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  2118. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  2119. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  2120. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  2121. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  2122. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  2123. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  2124. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  2125. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  2126. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  2127. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  2128. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  2129. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  2130. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  2131. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  2132. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  2133. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  2134. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  2135. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  2136. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  2137. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  2138. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  2139. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  2140. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  2141. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  2142. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  2143. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  2144. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  2145. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  2146. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  2147. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  2148. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  2149. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  2150. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  2151. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  2152. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  2153. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  2154. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  2155. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  2156. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  2157. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  2158. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  2159. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  2160. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  2161. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  2162. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  2163. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  2164. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  2165. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  2166. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  2167. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  2168. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  2169. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  2170. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  2171. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  2172. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  2173. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  2174. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  2175. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  2176. package/node_modules/zod/src/v4/core/api.ts +0 -1594
  2177. package/node_modules/zod/src/v4/core/checks.ts +0 -1283
  2178. package/node_modules/zod/src/v4/core/config.ts +0 -15
  2179. package/node_modules/zod/src/v4/core/core.ts +0 -134
  2180. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  2181. package/node_modules/zod/src/v4/core/errors.ts +0 -424
  2182. package/node_modules/zod/src/v4/core/function.ts +0 -176
  2183. package/node_modules/zod/src/v4/core/index.ts +0 -15
  2184. package/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  2185. package/node_modules/zod/src/v4/core/parse.ts +0 -94
  2186. package/node_modules/zod/src/v4/core/regexes.ts +0 -135
  2187. package/node_modules/zod/src/v4/core/registries.ts +0 -96
  2188. package/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  2189. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  2190. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  2191. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  2192. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  2193. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  2194. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  2195. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  2196. package/node_modules/zod/src/v4/core/util.ts +0 -775
  2197. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  2198. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  2199. package/node_modules/zod/src/v4/index.ts +0 -4
  2200. package/node_modules/zod/src/v4/locales/ar.ts +0 -125
  2201. package/node_modules/zod/src/v4/locales/az.ts +0 -121
  2202. package/node_modules/zod/src/v4/locales/be.ts +0 -184
  2203. package/node_modules/zod/src/v4/locales/ca.ts +0 -127
  2204. package/node_modules/zod/src/v4/locales/cs.ts +0 -142
  2205. package/node_modules/zod/src/v4/locales/de.ts +0 -124
  2206. package/node_modules/zod/src/v4/locales/en.ts +0 -127
  2207. package/node_modules/zod/src/v4/locales/eo.ts +0 -125
  2208. package/node_modules/zod/src/v4/locales/es.ts +0 -125
  2209. package/node_modules/zod/src/v4/locales/fa.ts +0 -134
  2210. package/node_modules/zod/src/v4/locales/fi.ts +0 -131
  2211. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  2212. package/node_modules/zod/src/v4/locales/fr.ts +0 -124
  2213. package/node_modules/zod/src/v4/locales/he.ts +0 -125
  2214. package/node_modules/zod/src/v4/locales/hu.ts +0 -126
  2215. package/node_modules/zod/src/v4/locales/id.ts +0 -125
  2216. package/node_modules/zod/src/v4/locales/index.ts +0 -39
  2217. package/node_modules/zod/src/v4/locales/it.ts +0 -125
  2218. package/node_modules/zod/src/v4/locales/ja.ts +0 -122
  2219. package/node_modules/zod/src/v4/locales/kh.ts +0 -126
  2220. package/node_modules/zod/src/v4/locales/ko.ts +0 -131
  2221. package/node_modules/zod/src/v4/locales/mk.ts +0 -127
  2222. package/node_modules/zod/src/v4/locales/ms.ts +0 -124
  2223. package/node_modules/zod/src/v4/locales/nl.ts +0 -126
  2224. package/node_modules/zod/src/v4/locales/no.ts +0 -124
  2225. package/node_modules/zod/src/v4/locales/ota.ts +0 -125
  2226. package/node_modules/zod/src/v4/locales/pl.ts +0 -126
  2227. package/node_modules/zod/src/v4/locales/ps.ts +0 -133
  2228. package/node_modules/zod/src/v4/locales/pt.ts +0 -123
  2229. package/node_modules/zod/src/v4/locales/ru.ts +0 -184
  2230. package/node_modules/zod/src/v4/locales/sl.ts +0 -126
  2231. package/node_modules/zod/src/v4/locales/sv.ts +0 -127
  2232. package/node_modules/zod/src/v4/locales/ta.ts +0 -125
  2233. package/node_modules/zod/src/v4/locales/th.ts +0 -126
  2234. package/node_modules/zod/src/v4/locales/tr.ts +0 -121
  2235. package/node_modules/zod/src/v4/locales/ua.ts +0 -126
  2236. package/node_modules/zod/src/v4/locales/ur.ts +0 -126
  2237. package/node_modules/zod/src/v4/locales/vi.ts +0 -125
  2238. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  2239. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  2240. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  2241. package/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  2242. package/node_modules/zod/src/v4/mini/external.ts +0 -40
  2243. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  2244. package/node_modules/zod/src/v4/mini/iso.ts +0 -62
  2245. package/node_modules/zod/src/v4/mini/parse.ts +0 -1
  2246. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  2247. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  2248. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  2249. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  2250. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  2251. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  2252. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  2253. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  2254. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  2255. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  2256. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  2257. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  2258. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  2259. package/node_modules/zod/src/v4-mini/index.ts +0 -1
  2260. package/node_modules/zod/v3/ZodError.cjs +0 -138
  2261. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  2262. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  2263. package/node_modules/zod/v3/ZodError.js +0 -133
  2264. package/node_modules/zod/v3/errors.cjs +0 -17
  2265. package/node_modules/zod/v3/errors.d.cts +0 -5
  2266. package/node_modules/zod/v3/errors.d.ts +0 -5
  2267. package/node_modules/zod/v3/errors.js +0 -9
  2268. package/node_modules/zod/v3/external.cjs +0 -22
  2269. package/node_modules/zod/v3/external.d.cts +0 -6
  2270. package/node_modules/zod/v3/external.d.ts +0 -6
  2271. package/node_modules/zod/v3/external.js +0 -6
  2272. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  2273. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  2274. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  2275. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  2276. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  2277. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  2278. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  2279. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  2280. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  2281. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  2282. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  2283. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  2284. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  2285. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  2286. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  2287. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  2288. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  2289. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  2290. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  2291. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  2292. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  2293. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  2294. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  2295. package/node_modules/zod/v3/helpers/util.js +0 -133
  2296. package/node_modules/zod/v3/index.cjs +0 -33
  2297. package/node_modules/zod/v3/index.d.cts +0 -4
  2298. package/node_modules/zod/v3/index.d.ts +0 -4
  2299. package/node_modules/zod/v3/index.js +0 -4
  2300. package/node_modules/zod/v3/locales/en.cjs +0 -111
  2301. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  2302. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  2303. package/node_modules/zod/v3/locales/en.js +0 -109
  2304. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  2305. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  2306. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  2307. package/node_modules/zod/v3/standard-schema.js +0 -1
  2308. package/node_modules/zod/v3/types.cjs +0 -3775
  2309. package/node_modules/zod/v3/types.d.cts +0 -1031
  2310. package/node_modules/zod/v3/types.d.ts +0 -1031
  2311. package/node_modules/zod/v3/types.js +0 -3693
  2312. package/node_modules/zod/v4/classic/checks.cjs +0 -32
  2313. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  2314. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  2315. package/node_modules/zod/v4/classic/checks.js +0 -1
  2316. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  2317. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  2318. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  2319. package/node_modules/zod/v4/classic/coerce.js +0 -17
  2320. package/node_modules/zod/v4/classic/compat.cjs +0 -57
  2321. package/node_modules/zod/v4/classic/compat.d.cts +0 -46
  2322. package/node_modules/zod/v4/classic/compat.d.ts +0 -46
  2323. package/node_modules/zod/v4/classic/compat.js +0 -27
  2324. package/node_modules/zod/v4/classic/errors.cjs +0 -67
  2325. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  2326. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  2327. package/node_modules/zod/v4/classic/errors.js +0 -41
  2328. package/node_modules/zod/v4/classic/external.cjs +0 -70
  2329. package/node_modules/zod/v4/classic/external.d.cts +0 -13
  2330. package/node_modules/zod/v4/classic/external.d.ts +0 -13
  2331. package/node_modules/zod/v4/classic/external.js +0 -18
  2332. package/node_modules/zod/v4/classic/index.cjs +0 -33
  2333. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  2334. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  2335. package/node_modules/zod/v4/classic/index.js +0 -4
  2336. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  2337. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  2338. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  2339. package/node_modules/zod/v4/classic/iso.js +0 -30
  2340. package/node_modules/zod/v4/classic/parse.cjs +0 -32
  2341. package/node_modules/zod/v4/classic/parse.d.cts +0 -23
  2342. package/node_modules/zod/v4/classic/parse.d.ts +0 -23
  2343. package/node_modules/zod/v4/classic/parse.js +0 -6
  2344. package/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  2345. package/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  2346. package/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  2347. package/node_modules/zod/v4/classic/schemas.js +0 -1006
  2348. package/node_modules/zod/v4/core/api.cjs +0 -1039
  2349. package/node_modules/zod/v4/core/api.d.cts +0 -284
  2350. package/node_modules/zod/v4/core/api.d.ts +0 -284
  2351. package/node_modules/zod/v4/core/api.js +0 -906
  2352. package/node_modules/zod/v4/core/checks.cjs +0 -591
  2353. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  2354. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  2355. package/node_modules/zod/v4/core/checks.js +0 -565
  2356. package/node_modules/zod/v4/core/core.cjs +0 -67
  2357. package/node_modules/zod/v4/core/core.d.cts +0 -49
  2358. package/node_modules/zod/v4/core/core.d.ts +0 -49
  2359. package/node_modules/zod/v4/core/core.js +0 -61
  2360. package/node_modules/zod/v4/core/doc.cjs +0 -39
  2361. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  2362. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  2363. package/node_modules/zod/v4/core/doc.js +0 -35
  2364. package/node_modules/zod/v4/core/errors.cjs +0 -226
  2365. package/node_modules/zod/v4/core/errors.d.cts +0 -208
  2366. package/node_modules/zod/v4/core/errors.d.ts +0 -208
  2367. package/node_modules/zod/v4/core/errors.js +0 -195
  2368. package/node_modules/zod/v4/core/function.cjs +0 -102
  2369. package/node_modules/zod/v4/core/function.d.cts +0 -52
  2370. package/node_modules/zod/v4/core/function.d.ts +0 -52
  2371. package/node_modules/zod/v4/core/function.js +0 -75
  2372. package/node_modules/zod/v4/core/index.cjs +0 -44
  2373. package/node_modules/zod/v4/core/index.d.cts +0 -15
  2374. package/node_modules/zod/v4/core/index.d.ts +0 -15
  2375. package/node_modules/zod/v4/core/index.js +0 -15
  2376. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  2377. package/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  2378. package/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  2379. package/node_modules/zod/v4/core/json-schema.js +0 -1
  2380. package/node_modules/zod/v4/core/parse.cjs +0 -87
  2381. package/node_modules/zod/v4/core/parse.d.cts +0 -25
  2382. package/node_modules/zod/v4/core/parse.d.ts +0 -25
  2383. package/node_modules/zod/v4/core/parse.js +0 -57
  2384. package/node_modules/zod/v4/core/regexes.cjs +0 -103
  2385. package/node_modules/zod/v4/core/regexes.d.cts +0 -62
  2386. package/node_modules/zod/v4/core/regexes.d.ts +0 -62
  2387. package/node_modules/zod/v4/core/regexes.js +0 -95
  2388. package/node_modules/zod/v4/core/registries.cjs +0 -56
  2389. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  2390. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  2391. package/node_modules/zod/v4/core/registries.js +0 -51
  2392. package/node_modules/zod/v4/core/schemas.cjs +0 -1748
  2393. package/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  2394. package/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  2395. package/node_modules/zod/v4/core/schemas.js +0 -1717
  2396. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  2397. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  2398. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  2399. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  2400. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  2401. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  2402. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  2403. package/node_modules/zod/v4/core/to-json-schema.js +0 -849
  2404. package/node_modules/zod/v4/core/util.cjs +0 -539
  2405. package/node_modules/zod/v4/core/util.d.cts +0 -183
  2406. package/node_modules/zod/v4/core/util.d.ts +0 -183
  2407. package/node_modules/zod/v4/core/util.js +0 -493
  2408. package/node_modules/zod/v4/core/versions.cjs +0 -8
  2409. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  2410. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  2411. package/node_modules/zod/v4/core/versions.js +0 -5
  2412. package/node_modules/zod/v4/index.cjs +0 -22
  2413. package/node_modules/zod/v4/index.d.cts +0 -3
  2414. package/node_modules/zod/v4/index.d.ts +0 -3
  2415. package/node_modules/zod/v4/index.js +0 -3
  2416. package/node_modules/zod/v4/locales/ar.cjs +0 -142
  2417. package/node_modules/zod/v4/locales/ar.d.cts +0 -4
  2418. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  2419. package/node_modules/zod/v4/locales/ar.js +0 -116
  2420. package/node_modules/zod/v4/locales/az.cjs +0 -141
  2421. package/node_modules/zod/v4/locales/az.d.cts +0 -4
  2422. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  2423. package/node_modules/zod/v4/locales/az.js +0 -115
  2424. package/node_modules/zod/v4/locales/be.cjs +0 -190
  2425. package/node_modules/zod/v4/locales/be.d.cts +0 -4
  2426. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  2427. package/node_modules/zod/v4/locales/be.js +0 -164
  2428. package/node_modules/zod/v4/locales/ca.cjs +0 -144
  2429. package/node_modules/zod/v4/locales/ca.d.cts +0 -4
  2430. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  2431. package/node_modules/zod/v4/locales/ca.js +0 -118
  2432. package/node_modules/zod/v4/locales/cs.cjs +0 -161
  2433. package/node_modules/zod/v4/locales/cs.d.cts +0 -4
  2434. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  2435. package/node_modules/zod/v4/locales/cs.js +0 -135
  2436. package/node_modules/zod/v4/locales/de.cjs +0 -142
  2437. package/node_modules/zod/v4/locales/de.d.cts +0 -4
  2438. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  2439. package/node_modules/zod/v4/locales/de.js +0 -116
  2440. package/node_modules/zod/v4/locales/en.cjs +0 -145
  2441. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  2442. package/node_modules/zod/v4/locales/en.d.ts +0 -5
  2443. package/node_modules/zod/v4/locales/en.js +0 -117
  2444. package/node_modules/zod/v4/locales/eo.cjs +0 -144
  2445. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  2446. package/node_modules/zod/v4/locales/eo.d.ts +0 -5
  2447. package/node_modules/zod/v4/locales/eo.js +0 -116
  2448. package/node_modules/zod/v4/locales/es.cjs +0 -143
  2449. package/node_modules/zod/v4/locales/es.d.cts +0 -4
  2450. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  2451. package/node_modules/zod/v4/locales/es.js +0 -117
  2452. package/node_modules/zod/v4/locales/fa.cjs +0 -148
  2453. package/node_modules/zod/v4/locales/fa.d.cts +0 -4
  2454. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  2455. package/node_modules/zod/v4/locales/fa.js +0 -122
  2456. package/node_modules/zod/v4/locales/fi.cjs +0 -148
  2457. package/node_modules/zod/v4/locales/fi.d.cts +0 -4
  2458. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  2459. package/node_modules/zod/v4/locales/fi.js +0 -122
  2460. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  2461. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  2462. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  2463. package/node_modules/zod/v4/locales/fr-CA.js +0 -117
  2464. package/node_modules/zod/v4/locales/fr.cjs +0 -142
  2465. package/node_modules/zod/v4/locales/fr.d.cts +0 -4
  2466. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  2467. package/node_modules/zod/v4/locales/fr.js +0 -116
  2468. package/node_modules/zod/v4/locales/he.cjs +0 -143
  2469. package/node_modules/zod/v4/locales/he.d.cts +0 -4
  2470. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  2471. package/node_modules/zod/v4/locales/he.js +0 -117
  2472. package/node_modules/zod/v4/locales/hu.cjs +0 -143
  2473. package/node_modules/zod/v4/locales/hu.d.cts +0 -4
  2474. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  2475. package/node_modules/zod/v4/locales/hu.js +0 -117
  2476. package/node_modules/zod/v4/locales/id.cjs +0 -142
  2477. package/node_modules/zod/v4/locales/id.d.cts +0 -4
  2478. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  2479. package/node_modules/zod/v4/locales/id.js +0 -116
  2480. package/node_modules/zod/v4/locales/index.cjs +0 -84
  2481. package/node_modules/zod/v4/locales/index.d.cts +0 -39
  2482. package/node_modules/zod/v4/locales/index.d.ts +0 -39
  2483. package/node_modules/zod/v4/locales/index.js +0 -39
  2484. package/node_modules/zod/v4/locales/it.cjs +0 -143
  2485. package/node_modules/zod/v4/locales/it.d.cts +0 -4
  2486. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  2487. package/node_modules/zod/v4/locales/it.js +0 -117
  2488. package/node_modules/zod/v4/locales/ja.cjs +0 -141
  2489. package/node_modules/zod/v4/locales/ja.d.cts +0 -4
  2490. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  2491. package/node_modules/zod/v4/locales/ja.js +0 -115
  2492. package/node_modules/zod/v4/locales/kh.cjs +0 -143
  2493. package/node_modules/zod/v4/locales/kh.d.cts +0 -4
  2494. package/node_modules/zod/v4/locales/kh.d.ts +0 -4
  2495. package/node_modules/zod/v4/locales/kh.js +0 -117
  2496. package/node_modules/zod/v4/locales/ko.cjs +0 -147
  2497. package/node_modules/zod/v4/locales/ko.d.cts +0 -4
  2498. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  2499. package/node_modules/zod/v4/locales/ko.js +0 -121
  2500. package/node_modules/zod/v4/locales/mk.cjs +0 -144
  2501. package/node_modules/zod/v4/locales/mk.d.cts +0 -4
  2502. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  2503. package/node_modules/zod/v4/locales/mk.js +0 -118
  2504. package/node_modules/zod/v4/locales/ms.cjs +0 -142
  2505. package/node_modules/zod/v4/locales/ms.d.cts +0 -4
  2506. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  2507. package/node_modules/zod/v4/locales/ms.js +0 -116
  2508. package/node_modules/zod/v4/locales/nl.cjs +0 -143
  2509. package/node_modules/zod/v4/locales/nl.d.cts +0 -4
  2510. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  2511. package/node_modules/zod/v4/locales/nl.js +0 -117
  2512. package/node_modules/zod/v4/locales/no.cjs +0 -142
  2513. package/node_modules/zod/v4/locales/no.d.cts +0 -4
  2514. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  2515. package/node_modules/zod/v4/locales/no.js +0 -116
  2516. package/node_modules/zod/v4/locales/ota.cjs +0 -143
  2517. package/node_modules/zod/v4/locales/ota.d.cts +0 -4
  2518. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  2519. package/node_modules/zod/v4/locales/ota.js +0 -117
  2520. package/node_modules/zod/v4/locales/pl.cjs +0 -143
  2521. package/node_modules/zod/v4/locales/pl.d.cts +0 -4
  2522. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  2523. package/node_modules/zod/v4/locales/pl.js +0 -117
  2524. package/node_modules/zod/v4/locales/ps.cjs +0 -148
  2525. package/node_modules/zod/v4/locales/ps.d.cts +0 -4
  2526. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  2527. package/node_modules/zod/v4/locales/ps.js +0 -122
  2528. package/node_modules/zod/v4/locales/pt.cjs +0 -142
  2529. package/node_modules/zod/v4/locales/pt.d.cts +0 -4
  2530. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  2531. package/node_modules/zod/v4/locales/pt.js +0 -116
  2532. package/node_modules/zod/v4/locales/ru.cjs +0 -190
  2533. package/node_modules/zod/v4/locales/ru.d.cts +0 -4
  2534. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  2535. package/node_modules/zod/v4/locales/ru.js +0 -164
  2536. package/node_modules/zod/v4/locales/sl.cjs +0 -143
  2537. package/node_modules/zod/v4/locales/sl.d.cts +0 -4
  2538. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  2539. package/node_modules/zod/v4/locales/sl.js +0 -117
  2540. package/node_modules/zod/v4/locales/sv.cjs +0 -144
  2541. package/node_modules/zod/v4/locales/sv.d.cts +0 -4
  2542. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  2543. package/node_modules/zod/v4/locales/sv.js +0 -118
  2544. package/node_modules/zod/v4/locales/ta.cjs +0 -143
  2545. package/node_modules/zod/v4/locales/ta.d.cts +0 -4
  2546. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  2547. package/node_modules/zod/v4/locales/ta.js +0 -117
  2548. package/node_modules/zod/v4/locales/th.cjs +0 -143
  2549. package/node_modules/zod/v4/locales/th.d.cts +0 -4
  2550. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  2551. package/node_modules/zod/v4/locales/th.js +0 -117
  2552. package/node_modules/zod/v4/locales/tr.cjs +0 -143
  2553. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  2554. package/node_modules/zod/v4/locales/tr.d.ts +0 -5
  2555. package/node_modules/zod/v4/locales/tr.js +0 -115
  2556. package/node_modules/zod/v4/locales/ua.cjs +0 -143
  2557. package/node_modules/zod/v4/locales/ua.d.cts +0 -4
  2558. package/node_modules/zod/v4/locales/ua.d.ts +0 -4
  2559. package/node_modules/zod/v4/locales/ua.js +0 -117
  2560. package/node_modules/zod/v4/locales/ur.cjs +0 -143
  2561. package/node_modules/zod/v4/locales/ur.d.cts +0 -4
  2562. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  2563. package/node_modules/zod/v4/locales/ur.js +0 -117
  2564. package/node_modules/zod/v4/locales/vi.cjs +0 -142
  2565. package/node_modules/zod/v4/locales/vi.d.cts +0 -4
  2566. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  2567. package/node_modules/zod/v4/locales/vi.js +0 -116
  2568. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  2569. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  2570. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  2571. package/node_modules/zod/v4/locales/zh-CN.js +0 -116
  2572. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  2573. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  2574. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  2575. package/node_modules/zod/v4/locales/zh-TW.js +0 -117
  2576. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  2577. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  2578. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  2579. package/node_modules/zod/v4/mini/checks.js +0 -1
  2580. package/node_modules/zod/v4/mini/coerce.cjs +0 -47
  2581. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  2582. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  2583. package/node_modules/zod/v4/mini/coerce.js +0 -17
  2584. package/node_modules/zod/v4/mini/external.cjs +0 -62
  2585. package/node_modules/zod/v4/mini/external.d.cts +0 -11
  2586. package/node_modules/zod/v4/mini/external.d.ts +0 -11
  2587. package/node_modules/zod/v4/mini/external.js +0 -13
  2588. package/node_modules/zod/v4/mini/index.cjs +0 -32
  2589. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  2590. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  2591. package/node_modules/zod/v4/mini/index.js +0 -3
  2592. package/node_modules/zod/v4/mini/iso.cjs +0 -60
  2593. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  2594. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  2595. package/node_modules/zod/v4/mini/iso.js +0 -30
  2596. package/node_modules/zod/v4/mini/parse.cjs +0 -8
  2597. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  2598. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  2599. package/node_modules/zod/v4/mini/parse.js +0 -1
  2600. package/node_modules/zod/v4/mini/schemas.cjs +0 -839
  2601. package/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  2602. package/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  2603. package/node_modules/zod/v4/mini/schemas.js +0 -732
  2604. package/node_modules/zod/v4-mini/index.cjs +0 -17
  2605. package/node_modules/zod/v4-mini/index.d.cts +0 -1
  2606. package/node_modules/zod/v4-mini/index.d.ts +0 -1
  2607. package/node_modules/zod/v4-mini/index.js +0 -1
@@ -1,3180 +0,0 @@
1
- # Copyright (c) 2012 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- """Xcode project file generator.
6
-
7
- This module is both an Xcode project file generator and a documentation of the
8
- Xcode project file format. Knowledge of the project file format was gained
9
- based on extensive experience with Xcode, and by making changes to projects in
10
- Xcode.app and observing the resultant changes in the associated project files.
11
-
12
- XCODE PROJECT FILES
13
-
14
- The generator targets the file format as written by Xcode 3.2 (specifically,
15
- 3.2.6), but past experience has taught that the format has not changed
16
- significantly in the past several years, and future versions of Xcode are able
17
- to read older project files.
18
-
19
- Xcode project files are "bundled": the project "file" from an end-user's
20
- perspective is actually a directory with an ".xcodeproj" extension. The
21
- project file from this module's perspective is actually a file inside this
22
- directory, always named "project.pbxproj". This file contains a complete
23
- description of the project and is all that is needed to use the xcodeproj.
24
- Other files contained in the xcodeproj directory are simply used to store
25
- per-user settings, such as the state of various UI elements in the Xcode
26
- application.
27
-
28
- The project.pbxproj file is a property list, stored in a format almost
29
- identical to the NeXTstep property list format. The file is able to carry
30
- Unicode data, and is encoded in UTF-8. The root element in the property list
31
- is a dictionary that contains several properties of minimal interest, and two
32
- properties of immense interest. The most important property is a dictionary
33
- named "objects". The entire structure of the project is represented by the
34
- children of this property. The objects dictionary is keyed by unique 96-bit
35
- values represented by 24 uppercase hexadecimal characters. Each value in the
36
- objects dictionary is itself a dictionary, describing an individual object.
37
-
38
- Each object in the dictionary is a member of a class, which is identified by
39
- the "isa" property of each object. A variety of classes are represented in a
40
- project file. Objects can refer to other objects by ID, using the 24-character
41
- hexadecimal object key. A project's objects form a tree, with a root object
42
- of class PBXProject at the root. As an example, the PBXProject object serves
43
- as parent to an XCConfigurationList object defining the build configurations
44
- used in the project, a PBXGroup object serving as a container for all files
45
- referenced in the project, and a list of target objects, each of which defines
46
- a target in the project. There are several different types of target object,
47
- such as PBXNativeTarget and PBXAggregateTarget. In this module, this
48
- relationship is expressed by having each target type derive from an abstract
49
- base named XCTarget.
50
-
51
- The project.pbxproj file's root dictionary also contains a property, sibling to
52
- the "objects" dictionary, named "rootObject". The value of rootObject is a
53
- 24-character object key referring to the root PBXProject object in the
54
- objects dictionary.
55
-
56
- In Xcode, every file used as input to a target or produced as a final product
57
- of a target must appear somewhere in the hierarchy rooted at the PBXGroup
58
- object referenced by the PBXProject's mainGroup property. A PBXGroup is
59
- generally represented as a folder in the Xcode application. PBXGroups can
60
- contain other PBXGroups as well as PBXFileReferences, which are pointers to
61
- actual files.
62
-
63
- Each XCTarget contains a list of build phases, represented in this module by
64
- the abstract base XCBuildPhase. Examples of concrete XCBuildPhase derivations
65
- are PBXSourcesBuildPhase and PBXFrameworksBuildPhase, which correspond to the
66
- "Compile Sources" and "Link Binary With Libraries" phases displayed in the
67
- Xcode application. Files used as input to these phases (for example, source
68
- files in the former case and libraries and frameworks in the latter) are
69
- represented by PBXBuildFile objects, referenced by elements of "files" lists
70
- in XCTarget objects. Each PBXBuildFile object refers to a PBXBuildFile
71
- object as a "weak" reference: it does not "own" the PBXBuildFile, which is
72
- owned by the root object's mainGroup or a descendant group. In most cases, the
73
- layer of indirection between an XCBuildPhase and a PBXFileReference via a
74
- PBXBuildFile appears extraneous, but there's actually one reason for this:
75
- file-specific compiler flags are added to the PBXBuildFile object so as to
76
- allow a single file to be a member of multiple targets while having distinct
77
- compiler flags for each. These flags can be modified in the Xcode application
78
- in the "Build" tab of a File Info window.
79
-
80
- When a project is open in the Xcode application, Xcode will rewrite it. As
81
- such, this module is careful to adhere to the formatting used by Xcode, to
82
- avoid insignificant changes appearing in the file when it is used in the
83
- Xcode application. This will keep version control repositories happy, and
84
- makes it possible to compare a project file used in Xcode to one generated by
85
- this module to determine if any significant changes were made in the
86
- application.
87
-
88
- Xcode has its own way of assigning 24-character identifiers to each object,
89
- which is not duplicated here. Because the identifier only is only generated
90
- once, when an object is created, and is then left unchanged, there is no need
91
- to attempt to duplicate Xcode's behavior in this area. The generator is free
92
- to select any identifier, even at random, to refer to the objects it creates,
93
- and Xcode will retain those identifiers and use them when subsequently
94
- rewriting the project file. However, the generator would choose new random
95
- identifiers each time the project files are generated, leading to difficulties
96
- comparing "used" project files to "pristine" ones produced by this module,
97
- and causing the appearance of changes as every object identifier is changed
98
- when updated projects are checked in to a version control repository. To
99
- mitigate this problem, this module chooses identifiers in a more deterministic
100
- way, by hashing a description of each object as well as its parent and ancestor
101
- objects. This strategy should result in minimal "shift" in IDs as successive
102
- generations of project files are produced.
103
-
104
- THIS MODULE
105
-
106
- This module introduces several classes, all derived from the XCObject class.
107
- Nearly all of the "brains" are built into the XCObject class, which understands
108
- how to create and modify objects, maintain the proper tree structure, compute
109
- identifiers, and print objects. For the most part, classes derived from
110
- XCObject need only provide a _schema class object, a dictionary that
111
- expresses what properties objects of the class may contain.
112
-
113
- Given this structure, it's possible to build a minimal project file by creating
114
- objects of the appropriate types and making the proper connections:
115
-
116
- config_list = XCConfigurationList()
117
- group = PBXGroup()
118
- project = PBXProject({'buildConfigurationList': config_list,
119
- 'mainGroup': group})
120
-
121
- With the project object set up, it can be added to an XCProjectFile object.
122
- XCProjectFile is a pseudo-class in the sense that it is a concrete XCObject
123
- subclass that does not actually correspond to a class type found in a project
124
- file. Rather, it is used to represent the project file's root dictionary.
125
- Printing an XCProjectFile will print the entire project file, including the
126
- full "objects" dictionary.
127
-
128
- project_file = XCProjectFile({'rootObject': project})
129
- project_file.ComputeIDs()
130
- project_file.Print()
131
-
132
- Xcode project files are always encoded in UTF-8. This module will accept
133
- strings of either the str class or the unicode class. Strings of class str
134
- are assumed to already be encoded in UTF-8. Obviously, if you're just using
135
- ASCII, you won't encounter difficulties because ASCII is a UTF-8 subset.
136
- Strings of class unicode are handled properly and encoded in UTF-8 when
137
- a project file is output.
138
- """
139
-
140
- import hashlib
141
- import posixpath
142
- import re
143
- import struct
144
- import sys
145
- from functools import cmp_to_key
146
- from operator import attrgetter
147
-
148
- import gyp.common
149
-
150
-
151
- def cmp(x, y):
152
- return (x > y) - (x < y)
153
-
154
-
155
- # See XCObject._EncodeString. This pattern is used to determine when a string
156
- # can be printed unquoted. Strings that match this pattern may be printed
157
- # unquoted. Strings that do not match must be quoted and may be further
158
- # transformed to be properly encoded. Note that this expression matches the
159
- # characters listed with "+", for 1 or more occurrences: if a string is empty,
160
- # it must not match this pattern, because it needs to be encoded as "".
161
- _unquoted = re.compile("^[A-Za-z0-9$./_]+$")
162
-
163
- # Strings that match this pattern are quoted regardless of what _unquoted says.
164
- # Oddly, Xcode will quote any string with a run of three or more underscores.
165
- _quoted = re.compile("___")
166
-
167
- # This pattern should match any character that needs to be escaped by
168
- # XCObject._EncodeString. See that function.
169
- _escaped = re.compile('[\\\\"]|[\x00-\x1f]')
170
-
171
-
172
- # Used by SourceTreeAndPathFromPath
173
- _path_leading_variable = re.compile(r"^\$\((.*?)\)(/(.*))?$")
174
-
175
-
176
- def SourceTreeAndPathFromPath(input_path):
177
- """Given input_path, returns a tuple with sourceTree and path values.
178
-
179
- Examples:
180
- input_path (source_tree, output_path)
181
- '$(VAR)/path' ('VAR', 'path')
182
- '$(VAR)' ('VAR', None)
183
- 'path' (None, 'path')
184
- """
185
-
186
- if source_group_match := _path_leading_variable.match(input_path):
187
- source_tree = source_group_match.group(1)
188
- output_path = source_group_match.group(3) # This may be None.
189
- else:
190
- source_tree = None
191
- output_path = input_path
192
-
193
- return (source_tree, output_path)
194
-
195
-
196
- def ConvertVariablesToShellSyntax(input_string):
197
- return re.sub(r"\$\((.*?)\)", "${\\1}", input_string)
198
-
199
-
200
- class XCObject:
201
- """The abstract base of all class types used in Xcode project files.
202
-
203
- Class variables:
204
- _schema: A dictionary defining the properties of this class. The keys to
205
- _schema are string property keys as used in project files. Values
206
- are a list of four or five elements:
207
- [ is_list, property_type, is_strong, is_required, default ]
208
- is_list: True if the property described is a list, as opposed
209
- to a single element.
210
- property_type: The type to use as the value of the property,
211
- or if is_list is True, the type to use for each
212
- element of the value's list. property_type must
213
- be an XCObject subclass, or one of the built-in
214
- types str, int, or dict.
215
- is_strong: If property_type is an XCObject subclass, is_strong
216
- is True to assert that this class "owns," or serves
217
- as parent, to the property value (or, if is_list is
218
- True, values). is_strong must be False if
219
- property_type is not an XCObject subclass.
220
- is_required: True if the property is required for the class.
221
- Note that is_required being True does not preclude
222
- an empty string ("", in the case of property_type
223
- str) or list ([], in the case of is_list True) from
224
- being set for the property.
225
- default: Optional. If is_required is True, default may be set
226
- to provide a default value for objects that do not supply
227
- their own value. If is_required is True and default
228
- is not provided, users of the class must supply their own
229
- value for the property.
230
- Note that although the values of the array are expressed in
231
- boolean terms, subclasses provide values as integers to conserve
232
- horizontal space.
233
- _should_print_single_line: False in XCObject. Subclasses whose objects
234
- should be written to the project file in the
235
- alternate single-line format, such as
236
- PBXFileReference and PBXBuildFile, should
237
- set this to True.
238
- _encode_transforms: Used by _EncodeString to encode unprintable characters.
239
- The index into this list is the ordinal of the
240
- character to transform; each value is a string
241
- used to represent the character in the output. XCObject
242
- provides an _encode_transforms list suitable for most
243
- XCObject subclasses.
244
- _alternate_encode_transforms: Provided for subclasses that wish to use
245
- the alternate encoding rules. Xcode seems
246
- to use these rules when printing objects in
247
- single-line format. Subclasses that desire
248
- this behavior should set _encode_transforms
249
- to _alternate_encode_transforms.
250
- _hashables: A list of XCObject subclasses that can be hashed by ComputeIDs
251
- to construct this object's ID. Most classes that need custom
252
- hashing behavior should do it by overriding Hashables,
253
- but in some cases an object's parent may wish to push a
254
- hashable value into its child, and it can do so by appending
255
- to _hashables.
256
- Attributes:
257
- id: The object's identifier, a 24-character uppercase hexadecimal string.
258
- Usually, objects being created should not set id until the entire
259
- project file structure is built. At that point, UpdateIDs() should
260
- be called on the root object to assign deterministic values for id to
261
- each object in the tree.
262
- parent: The object's parent. This is set by a parent XCObject when a child
263
- object is added to it.
264
- _properties: The object's property dictionary. An object's properties are
265
- described by its class' _schema variable.
266
- """
267
-
268
- _schema = {}
269
- _should_print_single_line = False
270
-
271
- # See _EncodeString.
272
- _encode_transforms = []
273
- i = 0
274
- while i < ord(" "):
275
- _encode_transforms.append("\\U%04x" % i)
276
- i = i + 1
277
- _encode_transforms[7] = "\\a"
278
- _encode_transforms[8] = "\\b"
279
- _encode_transforms[9] = "\\t"
280
- _encode_transforms[10] = "\\n"
281
- _encode_transforms[11] = "\\v"
282
- _encode_transforms[12] = "\\f"
283
- _encode_transforms[13] = "\\n"
284
-
285
- _alternate_encode_transforms = list(_encode_transforms)
286
- _alternate_encode_transforms[9] = chr(9)
287
- _alternate_encode_transforms[10] = chr(10)
288
- _alternate_encode_transforms[11] = chr(11)
289
-
290
- def __init__(self, properties=None, id=None, parent=None):
291
- self.id = id
292
- self.parent = parent
293
- self._properties = {}
294
- self._hashables = []
295
- self._SetDefaultsFromSchema()
296
- self.UpdateProperties(properties)
297
-
298
- def __repr__(self):
299
- try:
300
- name = self.Name()
301
- except NotImplementedError:
302
- return f"<{self.__class__.__name__} at 0x{id(self):x}>"
303
- return f"<{self.__class__.__name__} {name!r} at 0x{id(self):x}>"
304
-
305
- def Copy(self):
306
- """Make a copy of this object.
307
-
308
- The new object will have its own copy of lists and dicts. Any XCObject
309
- objects owned by this object (marked "strong") will be copied in the
310
- new object, even those found in lists. If this object has any weak
311
- references to other XCObjects, the same references are added to the new
312
- object without making a copy.
313
- """
314
-
315
- that = self.__class__(id=self.id, parent=self.parent)
316
- for key, value in self._properties.items():
317
- is_strong = self._schema[key][2]
318
-
319
- if isinstance(value, XCObject):
320
- if is_strong:
321
- new_value = value.Copy()
322
- new_value.parent = that
323
- that._properties[key] = new_value
324
- else:
325
- that._properties[key] = value
326
- elif isinstance(value, (str, int)):
327
- that._properties[key] = value
328
- elif isinstance(value, list):
329
- if is_strong:
330
- # If is_strong is True, each element is an XCObject, so it's safe to
331
- # call Copy.
332
- that._properties[key] = []
333
- for item in value:
334
- new_item = item.Copy()
335
- new_item.parent = that
336
- that._properties[key].append(new_item)
337
- else:
338
- that._properties[key] = value[:]
339
- elif isinstance(value, dict):
340
- # dicts are never strong.
341
- if is_strong:
342
- raise TypeError(
343
- "Strong dict for key " + key + " in " + self.__class__.__name__
344
- )
345
- else:
346
- that._properties[key] = value.copy()
347
- else:
348
- raise TypeError(
349
- "Unexpected type "
350
- + value.__class__.__name__
351
- + " for key "
352
- + key
353
- + " in "
354
- + self.__class__.__name__
355
- )
356
-
357
- return that
358
-
359
- def Name(self):
360
- """Return the name corresponding to an object.
361
-
362
- Not all objects necessarily need to be nameable, and not all that do have
363
- a "name" property. Override as needed.
364
- """
365
-
366
- # If the schema indicates that "name" is required, try to access the
367
- # property even if it doesn't exist. This will result in a KeyError
368
- # being raised for the property that should be present, which seems more
369
- # appropriate than NotImplementedError in this case.
370
- if "name" in self._properties or (
371
- "name" in self._schema and self._schema["name"][3]
372
- ):
373
- return self._properties["name"]
374
-
375
- raise NotImplementedError(self.__class__.__name__ + " must implement Name")
376
-
377
- def Comment(self):
378
- """Return a comment string for the object.
379
-
380
- Most objects just use their name as the comment, but PBXProject uses
381
- different values.
382
-
383
- The returned comment is not escaped and does not have any comment marker
384
- strings applied to it.
385
- """
386
-
387
- return self.Name()
388
-
389
- def Hashables(self):
390
- hashables = [self.__class__.__name__]
391
-
392
- if (name := self.Name()) is not None:
393
- hashables.append(name)
394
-
395
- hashables.extend(self._hashables)
396
-
397
- return hashables
398
-
399
- def HashablesForChild(self):
400
- return None
401
-
402
- def ComputeIDs(self, recursive=True, overwrite=True, seed_hash=None):
403
- """Set "id" properties deterministically.
404
-
405
- An object's "id" property is set based on a hash of its class type and
406
- name, as well as the class type and name of all ancestor objects. As
407
- such, it is only advisable to call ComputeIDs once an entire project file
408
- tree is built.
409
-
410
- If recursive is True, recurse into all descendant objects and update their
411
- hashes.
412
-
413
- If overwrite is True, any existing value set in the "id" property will be
414
- replaced.
415
- """
416
-
417
- def _HashUpdate(hash, data):
418
- """Update hash with data's length and contents.
419
-
420
- If the hash were updated only with the value of data, it would be
421
- possible for clowns to induce collisions by manipulating the names of
422
- their objects. By adding the length, it's exceedingly less likely that
423
- ID collisions will be encountered, intentionally or not.
424
- """
425
-
426
- hash.update(struct.pack(">i", len(data)))
427
- if isinstance(data, str):
428
- data = data.encode("utf-8")
429
- hash.update(data)
430
-
431
- if seed_hash is None:
432
- seed_hash = hashlib.sha256()
433
-
434
- hash = seed_hash.copy()
435
-
436
- hashables = self.Hashables()
437
- assert len(hashables) > 0
438
- for hashable in hashables:
439
- _HashUpdate(hash, hashable)
440
-
441
- if recursive:
442
- hashables_for_child = self.HashablesForChild()
443
- if hashables_for_child is None:
444
- child_hash = hash
445
- else:
446
- assert len(hashables_for_child) > 0
447
- child_hash = seed_hash.copy()
448
- for hashable in hashables_for_child:
449
- _HashUpdate(child_hash, hashable)
450
-
451
- for child in self.Children():
452
- child.ComputeIDs(recursive, overwrite, child_hash)
453
-
454
- if overwrite or self.id is None:
455
- # Xcode IDs are only 96 bits (24 hex characters), but a SHA-1 digest is
456
- # is 160 bits. Instead of throwing out 64 bits of the digest, xor them
457
- # into the portion that gets used.
458
- assert hash.digest_size % 4 == 0
459
- digest_int_count = hash.digest_size // 4
460
- digest_ints = struct.unpack(">" + "I" * digest_int_count, hash.digest())
461
- id_ints = [0, 0, 0]
462
- for index in range(digest_int_count):
463
- id_ints[index % 3] ^= digest_ints[index]
464
- self.id = "%08X%08X%08X" % tuple(id_ints)
465
-
466
- def EnsureNoIDCollisions(self):
467
- """Verifies that no two objects have the same ID. Checks all descendants."""
468
-
469
- ids = {}
470
- descendants = self.Descendants()
471
- for descendant in descendants:
472
- if descendant.id in ids:
473
- other = ids[descendant.id]
474
- raise KeyError(
475
- 'Duplicate ID %s, objects "%s" and "%s" in "%s"'
476
- % (
477
- descendant.id,
478
- str(descendant._properties),
479
- str(other._properties),
480
- self._properties["rootObject"].Name(),
481
- )
482
- )
483
- ids[descendant.id] = descendant
484
-
485
- def Children(self):
486
- """Returns a list of all of this object's owned (strong) children."""
487
-
488
- children = []
489
- for property, attributes in self._schema.items():
490
- (is_list, _property_type, is_strong) = attributes[0:3]
491
- if is_strong and property in self._properties:
492
- if not is_list:
493
- children.append(self._properties[property])
494
- else:
495
- children.extend(self._properties[property])
496
- return children
497
-
498
- def Descendants(self):
499
- """Returns a list of all of this object's descendants, including this
500
- object.
501
- """
502
-
503
- children = self.Children()
504
- descendants = [self]
505
- for child in children:
506
- descendants.extend(child.Descendants())
507
- return descendants
508
-
509
- def PBXProjectAncestor(self):
510
- # The base case for recursion is defined at PBXProject.PBXProjectAncestor.
511
- if self.parent:
512
- return self.parent.PBXProjectAncestor()
513
- return None
514
-
515
- def _EncodeComment(self, comment):
516
- """Encodes a comment to be placed in the project file output, mimicking
517
- Xcode behavior.
518
- """
519
-
520
- # This mimics Xcode behavior by wrapping the comment in "/*" and "*/". If
521
- # the string already contains a "*/", it is turned into "(*)/". This keeps
522
- # the file writer from outputting something that would be treated as the
523
- # end of a comment in the middle of something intended to be entirely a
524
- # comment.
525
-
526
- return "/* " + comment.replace("*/", "(*)/") + " */"
527
-
528
- def _EncodeTransform(self, match):
529
- # This function works closely with _EncodeString. It will only be called
530
- # by re.sub with match.group(0) containing a character matched by the
531
- # the _escaped expression.
532
- char = match.group(0)
533
-
534
- # Backslashes (\) and quotation marks (") are always replaced with a
535
- # backslash-escaped version of the same. Everything else gets its
536
- # replacement from the class' _encode_transforms array.
537
- if char == "\\":
538
- return "\\\\"
539
- if char == '"':
540
- return '\\"'
541
- return self._encode_transforms[ord(char)]
542
-
543
- def _EncodeString(self, value):
544
- """Encodes a string to be placed in the project file output, mimicking
545
- Xcode behavior.
546
- """
547
-
548
- # Use quotation marks when any character outside of the range A-Z, a-z, 0-9,
549
- # $ (dollar sign), . (period), and _ (underscore) is present. Also use
550
- # quotation marks to represent empty strings.
551
- #
552
- # Escape " (double-quote) and \ (backslash) by preceding them with a
553
- # backslash.
554
- #
555
- # Some characters below the printable ASCII range are encoded specially:
556
- # 7 ^G BEL is encoded as "\a"
557
- # 8 ^H BS is encoded as "\b"
558
- # 11 ^K VT is encoded as "\v"
559
- # 12 ^L NP is encoded as "\f"
560
- # 127 ^? DEL is passed through as-is without escaping
561
- # - In PBXFileReference and PBXBuildFile objects:
562
- # 9 ^I HT is passed through as-is without escaping
563
- # 10 ^J NL is passed through as-is without escaping
564
- # 13 ^M CR is passed through as-is without escaping
565
- # - In other objects:
566
- # 9 ^I HT is encoded as "\t"
567
- # 10 ^J NL is encoded as "\n"
568
- # 13 ^M CR is encoded as "\n" rendering it indistinguishable from
569
- # 10 ^J NL
570
- # All other characters within the ASCII control character range (0 through
571
- # 31 inclusive) are encoded as "\U001f" referring to the Unicode code point
572
- # in hexadecimal. For example, character 14 (^N SO) is encoded as "\U000e".
573
- # Characters above the ASCII range are passed through to the output encoded
574
- # as UTF-8 without any escaping. These mappings are contained in the
575
- # class' _encode_transforms list.
576
-
577
- if _unquoted.search(value) and not _quoted.search(value):
578
- return value
579
-
580
- return '"' + _escaped.sub(self._EncodeTransform, value) + '"'
581
-
582
- def _XCPrint(self, file, tabs, line):
583
- file.write("\t" * tabs + line)
584
-
585
- def _XCPrintableValue(self, tabs, value, flatten_list=False):
586
- """Returns a representation of value that may be printed in a project file,
587
- mimicking Xcode's behavior.
588
-
589
- _XCPrintableValue can handle str and int values, XCObjects (which are
590
- made printable by returning their id property), and list and dict objects
591
- composed of any of the above types. When printing a list or dict, and
592
- _should_print_single_line is False, the tabs parameter is used to determine
593
- how much to indent the lines corresponding to the items in the list or
594
- dict.
595
-
596
- If flatten_list is True, single-element lists will be transformed into
597
- strings.
598
- """
599
-
600
- printable = ""
601
- comment = None
602
-
603
- if self._should_print_single_line:
604
- sep = " "
605
- element_tabs = ""
606
- end_tabs = ""
607
- else:
608
- sep = "\n"
609
- element_tabs = "\t" * (tabs + 1)
610
- end_tabs = "\t" * tabs
611
-
612
- if isinstance(value, XCObject):
613
- printable += value.id
614
- comment = value.Comment()
615
- elif isinstance(value, str):
616
- printable += self._EncodeString(value)
617
- elif isinstance(value, str):
618
- printable += self._EncodeString(value.encode("utf-8"))
619
- elif isinstance(value, int):
620
- printable += str(value)
621
- elif isinstance(value, list):
622
- if flatten_list and len(value) <= 1:
623
- if len(value) == 0:
624
- printable += self._EncodeString("")
625
- else:
626
- printable += self._EncodeString(value[0])
627
- else:
628
- printable = "(" + sep
629
- for item in value:
630
- printable += (
631
- element_tabs
632
- + self._XCPrintableValue(tabs + 1, item, flatten_list)
633
- + ","
634
- + sep
635
- )
636
- printable += end_tabs + ")"
637
- elif isinstance(value, dict):
638
- printable = "{" + sep
639
- for item_key, item_value in sorted(value.items()):
640
- printable += (
641
- element_tabs
642
- + self._XCPrintableValue(tabs + 1, item_key, flatten_list)
643
- + " = "
644
- + self._XCPrintableValue(tabs + 1, item_value, flatten_list)
645
- + ";"
646
- + sep
647
- )
648
- printable += end_tabs + "}"
649
- else:
650
- raise TypeError("Can't make " + value.__class__.__name__ + " printable")
651
-
652
- if comment:
653
- printable += " " + self._EncodeComment(comment)
654
-
655
- return printable
656
-
657
- def _XCKVPrint(self, file, tabs, key, value):
658
- """Prints a key and value, members of an XCObject's _properties dictionary,
659
- to file.
660
-
661
- tabs is an int identifying the indentation level. If the class'
662
- _should_print_single_line variable is True, tabs is ignored and the
663
- key-value pair will be followed by a space instead of a newline.
664
- """
665
-
666
- if self._should_print_single_line:
667
- printable = ""
668
- after_kv = " "
669
- else:
670
- printable = "\t" * tabs
671
- after_kv = "\n"
672
-
673
- # Xcode usually prints remoteGlobalIDString values in PBXContainerItemProxy
674
- # objects without comments. Sometimes it prints them with comments, but
675
- # the majority of the time, it doesn't. To avoid unnecessary changes to
676
- # the project file after Xcode opens it, don't write comments for
677
- # remoteGlobalIDString. This is a sucky hack and it would certainly be
678
- # cleaner to extend the schema to indicate whether or not a comment should
679
- # be printed, but since this is the only case where the problem occurs and
680
- # Xcode itself can't seem to make up its mind, the hack will suffice.
681
- #
682
- # Also see PBXContainerItemProxy._schema['remoteGlobalIDString'].
683
- if key == "remoteGlobalIDString" and isinstance(self, PBXContainerItemProxy):
684
- value_to_print = value.id
685
- else:
686
- value_to_print = value
687
-
688
- # PBXBuildFile's settings property is represented in the output as a dict,
689
- # but a hack here has it represented as a string. Arrange to strip off the
690
- # quotes so that it shows up in the output as expected.
691
- if key == "settings" and isinstance(self, PBXBuildFile):
692
- strip_value_quotes = True
693
- else:
694
- strip_value_quotes = False
695
-
696
- # In another one-off, let's set flatten_list on buildSettings properties
697
- # of XCBuildConfiguration objects, because that's how Xcode treats them.
698
- if key == "buildSettings" and isinstance(self, XCBuildConfiguration):
699
- flatten_list = True
700
- else:
701
- flatten_list = False
702
-
703
- try:
704
- printable_key = self._XCPrintableValue(tabs, key, flatten_list)
705
- printable_value = self._XCPrintableValue(tabs, value_to_print, flatten_list)
706
- if (
707
- strip_value_quotes
708
- and len(printable_value) > 1
709
- and printable_value[0] == '"'
710
- and printable_value[-1] == '"'
711
- ):
712
- printable_value = printable_value[1:-1]
713
- printable += printable_key + " = " + printable_value + ";" + after_kv
714
- except TypeError as e:
715
- gyp.common.ExceptionAppend(e, 'while printing key "%s"' % key)
716
- raise
717
-
718
- self._XCPrint(file, 0, printable)
719
-
720
- def Print(self, file=sys.stdout):
721
- """Prints a reprentation of this object to file, adhering to Xcode output
722
- formatting.
723
- """
724
-
725
- self.VerifyHasRequiredProperties()
726
-
727
- if self._should_print_single_line:
728
- # When printing an object in a single line, Xcode doesn't put any space
729
- # between the beginning of a dictionary (or presumably a list) and the
730
- # first contained item, so you wind up with snippets like
731
- # ...CDEF = {isa = PBXFileReference; fileRef = 0123...
732
- # If it were me, I would have put a space in there after the opening
733
- # curly, but I guess this is just another one of those inconsistencies
734
- # between how Xcode prints PBXFileReference and PBXBuildFile objects as
735
- # compared to other objects. Mimic Xcode's behavior here by using an
736
- # empty string for sep.
737
- sep = ""
738
- end_tabs = 0
739
- else:
740
- sep = "\n"
741
- end_tabs = 2
742
-
743
- # Start the object. For example, '\t\tPBXProject = {\n'.
744
- self._XCPrint(file, 2, self._XCPrintableValue(2, self) + " = {" + sep)
745
-
746
- # "isa" isn't in the _properties dictionary, it's an intrinsic property
747
- # of the class which the object belongs to. Xcode always outputs "isa"
748
- # as the first element of an object dictionary.
749
- self._XCKVPrint(file, 3, "isa", self.__class__.__name__)
750
-
751
- # The remaining elements of an object dictionary are sorted alphabetically.
752
- for property, value in sorted(self._properties.items()):
753
- self._XCKVPrint(file, 3, property, value)
754
-
755
- # End the object.
756
- self._XCPrint(file, end_tabs, "};\n")
757
-
758
- def UpdateProperties(self, properties, do_copy=False):
759
- """Merge the supplied properties into the _properties dictionary.
760
-
761
- The input properties must adhere to the class schema or a KeyError or
762
- TypeError exception will be raised. If adding an object of an XCObject
763
- subclass and the schema indicates a strong relationship, the object's
764
- parent will be set to this object.
765
-
766
- If do_copy is True, then lists, dicts, strong-owned XCObjects, and
767
- strong-owned XCObjects in lists will be copied instead of having their
768
- references added.
769
- """
770
-
771
- if properties is None:
772
- return
773
-
774
- for property, value in properties.items():
775
- # Make sure the property is in the schema.
776
- if property not in self._schema:
777
- raise KeyError(property + " not in " + self.__class__.__name__)
778
-
779
- # Make sure the property conforms to the schema.
780
- (is_list, property_type, is_strong) = self._schema[property][0:3]
781
- if is_list:
782
- if not isinstance(value, list):
783
- raise TypeError(
784
- property
785
- + " of "
786
- + self.__class__.__name__
787
- + " must be list, not "
788
- + value.__class__.__name__
789
- )
790
- for item in value:
791
- if not isinstance(item, property_type) and not (
792
- isinstance(item, str) and isinstance(property_type, str)
793
- ):
794
- # Accept unicode where str is specified. str is treated as
795
- # UTF-8-encoded.
796
- raise TypeError(
797
- "item of "
798
- + property
799
- + " of "
800
- + self.__class__.__name__
801
- + " must be "
802
- + property_type.__name__
803
- + ", not "
804
- + item.__class__.__name__
805
- )
806
- elif not isinstance(value, property_type) and not (
807
- isinstance(value, str) and isinstance(property_type, str)
808
- ):
809
- # Accept unicode where str is specified. str is treated as
810
- # UTF-8-encoded.
811
- raise TypeError(
812
- property
813
- + " of "
814
- + self.__class__.__name__
815
- + " must be "
816
- + property_type.__name__
817
- + ", not "
818
- + value.__class__.__name__
819
- )
820
-
821
- # Checks passed, perform the assignment.
822
- if do_copy:
823
- if isinstance(value, XCObject):
824
- if is_strong:
825
- self._properties[property] = value.Copy()
826
- else:
827
- self._properties[property] = value
828
- elif isinstance(value, (str, int)):
829
- self._properties[property] = value
830
- elif isinstance(value, list):
831
- if is_strong:
832
- # If is_strong is True, each element is an XCObject,
833
- # so it's safe to call Copy.
834
- self._properties[property] = []
835
- for item in value:
836
- self._properties[property].append(item.Copy())
837
- else:
838
- self._properties[property] = value[:]
839
- elif isinstance(value, dict):
840
- self._properties[property] = value.copy()
841
- else:
842
- raise TypeError(
843
- "Don't know how to copy a "
844
- + value.__class__.__name__
845
- + " object for "
846
- + property
847
- + " in "
848
- + self.__class__.__name__
849
- )
850
- else:
851
- self._properties[property] = value
852
-
853
- # Set up the child's back-reference to this object. Don't use |value|
854
- # any more because it may not be right if do_copy is true.
855
- if is_strong:
856
- if not is_list:
857
- self._properties[property].parent = self
858
- else:
859
- for item in self._properties[property]:
860
- item.parent = self
861
-
862
- def HasProperty(self, key):
863
- return key in self._properties
864
-
865
- def GetProperty(self, key):
866
- return self._properties[key]
867
-
868
- def SetProperty(self, key, value):
869
- self.UpdateProperties({key: value})
870
-
871
- def DelProperty(self, key):
872
- if key in self._properties:
873
- del self._properties[key]
874
-
875
- def AppendProperty(self, key, value):
876
- # TODO(mark): Support ExtendProperty too (and make this call that)?
877
-
878
- # Schema validation.
879
- if key not in self._schema:
880
- raise KeyError(key + " not in " + self.__class__.__name__)
881
-
882
- (is_list, property_type, is_strong) = self._schema[key][0:3]
883
- if not is_list:
884
- raise TypeError(key + " of " + self.__class__.__name__ + " must be list")
885
- if not isinstance(value, property_type):
886
- raise TypeError(
887
- "item of "
888
- + key
889
- + " of "
890
- + self.__class__.__name__
891
- + " must be "
892
- + property_type.__name__
893
- + ", not "
894
- + value.__class__.__name__
895
- )
896
-
897
- # If the property doesn't exist yet, create a new empty list to receive the
898
- # item.
899
- self._properties[key] = self._properties.get(key, [])
900
-
901
- # Set up the ownership link.
902
- if is_strong:
903
- value.parent = self
904
-
905
- # Store the item.
906
- self._properties[key].append(value)
907
-
908
- def VerifyHasRequiredProperties(self):
909
- """Ensure that all properties identified as required by the schema are
910
- set.
911
- """
912
-
913
- # TODO(mark): A stronger verification mechanism is needed. Some
914
- # subclasses need to perform validation beyond what the schema can enforce.
915
- for property, attributes in self._schema.items():
916
- (_is_list, _property_type, _is_strong, is_required) = attributes[0:4]
917
- if is_required and property not in self._properties:
918
- raise KeyError(self.__class__.__name__ + " requires " + property)
919
-
920
- def _SetDefaultsFromSchema(self):
921
- """Assign object default values according to the schema. This will not
922
- overwrite properties that have already been set."""
923
-
924
- defaults = {}
925
- for property, attributes in self._schema.items():
926
- (_is_list, _property_type, _is_strong, is_required) = attributes[0:4]
927
- if (
928
- is_required
929
- and len(attributes) >= 5
930
- and property not in self._properties
931
- ):
932
- default = attributes[4]
933
-
934
- defaults[property] = default
935
-
936
- if len(defaults) > 0:
937
- # Use do_copy=True so that each new object gets its own copy of strong
938
- # objects, lists, and dicts.
939
- self.UpdateProperties(defaults, do_copy=True)
940
-
941
-
942
- class XCHierarchicalElement(XCObject):
943
- """Abstract base for PBXGroup and PBXFileReference. Not represented in a
944
- project file."""
945
-
946
- # TODO(mark): Do name and path belong here? Probably so.
947
- # If path is set and name is not, name may have a default value. Name will
948
- # be set to the basename of path, if the basename of path is different from
949
- # the full value of path. If path is already just a leaf name, name will
950
- # not be set.
951
- _schema = XCObject._schema.copy()
952
- _schema.update(
953
- {
954
- "comments": [0, str, 0, 0],
955
- "fileEncoding": [0, str, 0, 0],
956
- "includeInIndex": [0, int, 0, 0],
957
- "indentWidth": [0, int, 0, 0],
958
- "lineEnding": [0, int, 0, 0],
959
- "sourceTree": [0, str, 0, 1, "<group>"],
960
- "tabWidth": [0, int, 0, 0],
961
- "usesTabs": [0, int, 0, 0],
962
- "wrapsLines": [0, int, 0, 0],
963
- }
964
- )
965
-
966
- def __init__(self, properties=None, id=None, parent=None):
967
- # super
968
- XCObject.__init__(self, properties, id, parent)
969
- if "path" in self._properties and "name" not in self._properties:
970
- path = self._properties["path"]
971
- name = posixpath.basename(path)
972
- if name not in ("", path):
973
- self.SetProperty("name", name)
974
-
975
- if "path" in self._properties and (
976
- "sourceTree" not in self._properties
977
- or self._properties["sourceTree"] == "<group>"
978
- ):
979
- # If the pathname begins with an Xcode variable like "$(SDKROOT)/", take
980
- # the variable out and make the path be relative to that variable by
981
- # assigning the variable name as the sourceTree.
982
- (source_tree, path) = SourceTreeAndPathFromPath(self._properties["path"])
983
- if source_tree is not None:
984
- self._properties["sourceTree"] = source_tree
985
- if path is not None:
986
- self._properties["path"] = path
987
- if (
988
- source_tree is not None
989
- and path is None
990
- and "name" not in self._properties
991
- ):
992
- # The path was of the form "$(SDKROOT)" with no path following it.
993
- # This object is now relative to that variable, so it has no path
994
- # attribute of its own. It does, however, keep a name.
995
- del self._properties["path"]
996
- self._properties["name"] = source_tree
997
-
998
- def Name(self):
999
- if "name" in self._properties:
1000
- return self._properties["name"]
1001
- elif "path" in self._properties:
1002
- return self._properties["path"]
1003
- else:
1004
- # This happens in the case of the root PBXGroup.
1005
- return None
1006
-
1007
- def Hashables(self):
1008
- """Custom hashables for XCHierarchicalElements.
1009
-
1010
- XCHierarchicalElements are special. Generally, their hashes shouldn't
1011
- change if the paths don't change. The normal XCObject implementation of
1012
- Hashables adds a hashable for each object, which means that if
1013
- the hierarchical structure changes (possibly due to changes caused when
1014
- TakeOverOnlyChild runs and encounters slight changes in the hierarchy),
1015
- the hashes will change. For example, if a project file initially contains
1016
- a/b/f1 and a/b becomes collapsed into a/b, f1 will have a single parent
1017
- a/b. If someone later adds a/f2 to the project file, a/b can no longer be
1018
- collapsed, and f1 winds up with parent b and grandparent a. That would
1019
- be sufficient to change f1's hash.
1020
-
1021
- To counteract this problem, hashables for all XCHierarchicalElements except
1022
- for the main group (which has neither a name nor a path) are taken to be
1023
- just the set of path components. Because hashables are inherited from
1024
- parents, this provides assurance that a/b/f1 has the same set of hashables
1025
- whether its parent is b or a/b.
1026
-
1027
- The main group is a special case. As it is permitted to have no name or
1028
- path, it is permitted to use the standard XCObject hash mechanism. This
1029
- is not considered a problem because there can be only one main group.
1030
- """
1031
-
1032
- if self == self.PBXProjectAncestor()._properties["mainGroup"]:
1033
- # super
1034
- return XCObject.Hashables(self)
1035
-
1036
- hashables = []
1037
-
1038
- # Put the name in first, ensuring that if TakeOverOnlyChild collapses
1039
- # children into a top-level group like "Source", the name always goes
1040
- # into the list of hashables without interfering with path components.
1041
- if "name" in self._properties:
1042
- # Make it less likely for people to manipulate hashes by following the
1043
- # pattern of always pushing an object type value onto the list first.
1044
- hashables.append(self.__class__.__name__ + ".name")
1045
- hashables.append(self._properties["name"])
1046
-
1047
- # NOTE: This still has the problem that if an absolute path is encountered,
1048
- # including paths with a sourceTree, they'll still inherit their parents'
1049
- # hashables, even though the paths aren't relative to their parents. This
1050
- # is not expected to be much of a problem in practice.
1051
- if (path := self.PathFromSourceTreeAndPath()) is not None:
1052
- components = path.split(posixpath.sep)
1053
- for component in components:
1054
- hashables.append(self.__class__.__name__ + ".path")
1055
- hashables.append(component)
1056
-
1057
- hashables.extend(self._hashables)
1058
-
1059
- return hashables
1060
-
1061
- def Compare(self, other):
1062
- # Allow comparison of these types. PBXGroup has the highest sort rank;
1063
- # PBXVariantGroup is treated as equal to PBXFileReference.
1064
- valid_class_types = {
1065
- PBXFileReference: "file",
1066
- PBXGroup: "group",
1067
- PBXVariantGroup: "file",
1068
- }
1069
- self_type = valid_class_types[self.__class__]
1070
- other_type = valid_class_types[other.__class__]
1071
-
1072
- if self_type == other_type:
1073
- # If the two objects are of the same sort rank, compare their names.
1074
- return cmp(self.Name(), other.Name())
1075
-
1076
- # Otherwise, sort groups before everything else.
1077
- if self_type == "group":
1078
- return -1
1079
- return 1
1080
-
1081
- def CompareRootGroup(self, other):
1082
- # This function should be used only to compare direct children of the
1083
- # containing PBXProject's mainGroup. These groups should appear in the
1084
- # listed order.
1085
- # TODO(mark): "Build" is used by gyp.generator.xcode, perhaps the
1086
- # generator should have a way of influencing this list rather than having
1087
- # to hardcode for the generator here.
1088
- order = [
1089
- "Source",
1090
- "Intermediates",
1091
- "Projects",
1092
- "Frameworks",
1093
- "Products",
1094
- "Build",
1095
- ]
1096
-
1097
- # If the groups aren't in the listed order, do a name comparison.
1098
- # Otherwise, groups in the listed order should come before those that
1099
- # aren't.
1100
- self_name = self.Name()
1101
- other_name = other.Name()
1102
- self_in = isinstance(self, PBXGroup) and self_name in order
1103
- other_in = isinstance(self, PBXGroup) and other_name in order
1104
- if not self_in and not other_in:
1105
- return self.Compare(other)
1106
- if self_name in order and other_name not in order:
1107
- return -1
1108
- if other_name in order and self_name not in order:
1109
- return 1
1110
-
1111
- # If both groups are in the listed order, go by the defined order.
1112
- self_index = order.index(self_name)
1113
- other_index = order.index(other_name)
1114
- if self_index < other_index:
1115
- return -1
1116
- if self_index > other_index:
1117
- return 1
1118
- return 0
1119
-
1120
- def PathFromSourceTreeAndPath(self):
1121
- # Turn the object's sourceTree and path properties into a single flat
1122
- # string of a form comparable to the path parameter. If there's a
1123
- # sourceTree property other than "<group>", wrap it in $(...) for the
1124
- # comparison.
1125
- components = []
1126
- if self._properties["sourceTree"] != "<group>":
1127
- components.append("$(" + self._properties["sourceTree"] + ")")
1128
- if "path" in self._properties:
1129
- components.append(self._properties["path"])
1130
-
1131
- if len(components) > 0:
1132
- return posixpath.join(*components)
1133
-
1134
- return None
1135
-
1136
- def FullPath(self):
1137
- # Returns a full path to self relative to the project file, or relative
1138
- # to some other source tree. Start with self, and walk up the chain of
1139
- # parents prepending their paths, if any, until no more parents are
1140
- # available (project-relative path) or until a path relative to some
1141
- # source tree is found.
1142
- xche = self
1143
- path = None
1144
- while isinstance(xche, XCHierarchicalElement) and (
1145
- path is None or (not path.startswith("/") and not path.startswith("$"))
1146
- ):
1147
- this_path = xche.PathFromSourceTreeAndPath()
1148
- if this_path is not None and path is not None:
1149
- path = posixpath.join(this_path, path)
1150
- elif this_path is not None:
1151
- path = this_path
1152
- xche = xche.parent
1153
-
1154
- return path
1155
-
1156
-
1157
- class PBXGroup(XCHierarchicalElement):
1158
- """
1159
- Attributes:
1160
- _children_by_path: Maps pathnames of children of this PBXGroup to the
1161
- actual child XCHierarchicalElement objects.
1162
- _variant_children_by_name_and_path: Maps (name, path) tuples of
1163
- PBXVariantGroup children to the actual child PBXVariantGroup objects.
1164
- """
1165
-
1166
- _schema = XCHierarchicalElement._schema.copy()
1167
- _schema.update(
1168
- {
1169
- "children": [1, XCHierarchicalElement, 1, 1, []],
1170
- "name": [0, str, 0, 0],
1171
- "path": [0, str, 0, 0],
1172
- }
1173
- )
1174
-
1175
- def __init__(self, properties=None, id=None, parent=None):
1176
- # super
1177
- XCHierarchicalElement.__init__(self, properties, id, parent)
1178
- self._children_by_path = {}
1179
- self._variant_children_by_name_and_path = {}
1180
- for child in self._properties.get("children", []):
1181
- self._AddChildToDicts(child)
1182
-
1183
- def Hashables(self):
1184
- # super
1185
- hashables = XCHierarchicalElement.Hashables(self)
1186
-
1187
- # It is not sufficient to just rely on name and parent to build a unique
1188
- # hashable : a node could have two child PBXGroup sharing a common name.
1189
- # To add entropy the hashable is enhanced with the names of all its
1190
- # children.
1191
- for child in self._properties.get("children", []):
1192
- child_name = child.Name()
1193
- if child_name is not None:
1194
- hashables.append(child_name)
1195
-
1196
- return hashables
1197
-
1198
- def HashablesForChild(self):
1199
- # To avoid a circular reference the hashables used to compute a child id do
1200
- # not include the child names.
1201
- return XCHierarchicalElement.Hashables(self)
1202
-
1203
- def _AddChildToDicts(self, child):
1204
- # Sets up this PBXGroup object's dicts to reference the child properly.
1205
- child_path = child.PathFromSourceTreeAndPath()
1206
- if child_path:
1207
- if child_path in self._children_by_path:
1208
- raise ValueError("Found multiple children with path " + child_path)
1209
- self._children_by_path[child_path] = child
1210
-
1211
- if isinstance(child, PBXVariantGroup):
1212
- child_name = child._properties.get("name", None)
1213
- key = (child_name, child_path)
1214
- if key in self._variant_children_by_name_and_path:
1215
- raise ValueError(
1216
- "Found multiple PBXVariantGroup children with "
1217
- + "name "
1218
- + str(child_name)
1219
- + " and path "
1220
- + str(child_path)
1221
- )
1222
- self._variant_children_by_name_and_path[key] = child
1223
-
1224
- def AppendChild(self, child):
1225
- # Callers should use this instead of calling
1226
- # AppendProperty('children', child) directly because this function
1227
- # maintains the group's dicts.
1228
- self.AppendProperty("children", child)
1229
- self._AddChildToDicts(child)
1230
-
1231
- def GetChildByName(self, name):
1232
- # This is not currently optimized with a dict as GetChildByPath is because
1233
- # it has few callers. Most callers probably want GetChildByPath. This
1234
- # function is only useful to get children that have names but no paths,
1235
- # which is rare. The children of the main group ("Source", "Products",
1236
- # etc.) is pretty much the only case where this likely to come up.
1237
- #
1238
- # TODO(mark): Maybe this should raise an error if more than one child is
1239
- # present with the same name.
1240
- if "children" not in self._properties:
1241
- return None
1242
-
1243
- for child in self._properties["children"]:
1244
- if child.Name() == name:
1245
- return child
1246
-
1247
- return None
1248
-
1249
- def GetChildByPath(self, path):
1250
- if not path:
1251
- return None
1252
-
1253
- if path in self._children_by_path:
1254
- return self._children_by_path[path]
1255
-
1256
- return None
1257
-
1258
- def GetChildByRemoteObject(self, remote_object):
1259
- # This method is a little bit esoteric. Given a remote_object, which
1260
- # should be a PBXFileReference in another project file, this method will
1261
- # return this group's PBXReferenceProxy object serving as a local proxy
1262
- # for the remote PBXFileReference.
1263
- #
1264
- # This function might benefit from a dict optimization as GetChildByPath
1265
- # for some workloads, but profiling shows that it's not currently a
1266
- # problem.
1267
- if "children" not in self._properties:
1268
- return None
1269
-
1270
- for child in self._properties["children"]:
1271
- if not isinstance(child, PBXReferenceProxy):
1272
- continue
1273
-
1274
- container_proxy = child._properties["remoteRef"]
1275
- if container_proxy._properties["remoteGlobalIDString"] == remote_object:
1276
- return child
1277
-
1278
- return None
1279
-
1280
- def AddOrGetFileByPath(self, path, hierarchical):
1281
- """Returns an existing or new file reference corresponding to path.
1282
-
1283
- If hierarchical is True, this method will create or use the necessary
1284
- hierarchical group structure corresponding to path. Otherwise, it will
1285
- look in and create an item in the current group only.
1286
-
1287
- If an existing matching reference is found, it is returned, otherwise, a
1288
- new one will be created, added to the correct group, and returned.
1289
-
1290
- If path identifies a directory by virtue of carrying a trailing slash,
1291
- this method returns a PBXFileReference of "folder" type. If path
1292
- identifies a variant, by virtue of it identifying a file inside a directory
1293
- with an ".lproj" extension, this method returns a PBXVariantGroup
1294
- containing the variant named by path, and possibly other variants. For
1295
- all other paths, a "normal" PBXFileReference will be returned.
1296
- """
1297
-
1298
- # Adding or getting a directory? Directories end with a trailing slash.
1299
- is_dir = False
1300
- if path.endswith("/"):
1301
- is_dir = True
1302
- path = posixpath.normpath(path)
1303
- if is_dir:
1304
- path = path + "/"
1305
-
1306
- # Adding or getting a variant? Variants are files inside directories
1307
- # with an ".lproj" extension. Xcode uses variants for localization. For
1308
- # a variant path/to/Language.lproj/MainMenu.nib, put a variant group named
1309
- # MainMenu.nib inside path/to, and give it a variant named Language. In
1310
- # this example, grandparent would be set to path/to and parent_root would
1311
- # be set to Language.
1312
- variant_name = None
1313
- parent = posixpath.dirname(path)
1314
- grandparent = posixpath.dirname(parent)
1315
- parent_basename = posixpath.basename(parent)
1316
- (parent_root, parent_ext) = posixpath.splitext(parent_basename)
1317
- if parent_ext == ".lproj":
1318
- variant_name = parent_root
1319
- if grandparent == "":
1320
- grandparent = None
1321
-
1322
- # Putting a directory inside a variant group is not currently supported.
1323
- assert not is_dir or variant_name is None
1324
-
1325
- path_split = path.split(posixpath.sep)
1326
- if (
1327
- len(path_split) == 1
1328
- or ((is_dir or variant_name is not None) and len(path_split) == 2)
1329
- or not hierarchical
1330
- ):
1331
- # The PBXFileReference or PBXVariantGroup will be added to or gotten from
1332
- # this PBXGroup, no recursion necessary.
1333
- if variant_name is None:
1334
- # Add or get a PBXFileReference.
1335
- file_ref = self.GetChildByPath(path)
1336
- if file_ref is not None:
1337
- assert file_ref.__class__ == PBXFileReference
1338
- else:
1339
- file_ref = PBXFileReference({"path": path})
1340
- self.AppendChild(file_ref)
1341
- else:
1342
- # Add or get a PBXVariantGroup. The variant group name is the same
1343
- # as the basename (MainMenu.nib in the example above). grandparent
1344
- # specifies the path to the variant group itself, and path_split[-2:]
1345
- # is the path of the specific variant relative to its group.
1346
- variant_group_name = posixpath.basename(path)
1347
- variant_group_ref = self.AddOrGetVariantGroupByNameAndPath(
1348
- variant_group_name, grandparent
1349
- )
1350
- variant_path = posixpath.sep.join(path_split[-2:])
1351
- variant_ref = variant_group_ref.GetChildByPath(variant_path)
1352
- if variant_ref is not None:
1353
- assert variant_ref.__class__ == PBXFileReference
1354
- else:
1355
- variant_ref = PBXFileReference(
1356
- {"name": variant_name, "path": variant_path}
1357
- )
1358
- variant_group_ref.AppendChild(variant_ref)
1359
- # The caller is interested in the variant group, not the specific
1360
- # variant file.
1361
- file_ref = variant_group_ref
1362
- return file_ref
1363
- else:
1364
- # Hierarchical recursion. Add or get a PBXGroup corresponding to the
1365
- # outermost path component, and then recurse into it, chopping off that
1366
- # path component.
1367
- next_dir = path_split[0]
1368
- group_ref = self.GetChildByPath(next_dir)
1369
- if group_ref is not None:
1370
- assert group_ref.__class__ == PBXGroup
1371
- else:
1372
- group_ref = PBXGroup({"path": next_dir})
1373
- self.AppendChild(group_ref)
1374
- return group_ref.AddOrGetFileByPath(
1375
- posixpath.sep.join(path_split[1:]), hierarchical
1376
- )
1377
-
1378
- def AddOrGetVariantGroupByNameAndPath(self, name, path):
1379
- """Returns an existing or new PBXVariantGroup for name and path.
1380
-
1381
- If a PBXVariantGroup identified by the name and path arguments is already
1382
- present as a child of this object, it is returned. Otherwise, a new
1383
- PBXVariantGroup with the correct properties is created, added as a child,
1384
- and returned.
1385
-
1386
- This method will generally be called by AddOrGetFileByPath, which knows
1387
- when to create a variant group based on the structure of the pathnames
1388
- passed to it.
1389
- """
1390
-
1391
- key = (name, path)
1392
- if key in self._variant_children_by_name_and_path:
1393
- variant_group_ref = self._variant_children_by_name_and_path[key]
1394
- assert variant_group_ref.__class__ == PBXVariantGroup
1395
- return variant_group_ref
1396
-
1397
- variant_group_properties = {"name": name}
1398
- if path is not None:
1399
- variant_group_properties["path"] = path
1400
- variant_group_ref = PBXVariantGroup(variant_group_properties)
1401
- self.AppendChild(variant_group_ref)
1402
-
1403
- return variant_group_ref
1404
-
1405
- def TakeOverOnlyChild(self, recurse=False):
1406
- """If this PBXGroup has only one child and it's also a PBXGroup, take
1407
- it over by making all of its children this object's children.
1408
-
1409
- This function will continue to take over only children when those children
1410
- are groups. If there are three PBXGroups representing a, b, and c, with
1411
- c inside b and b inside a, and a and b have no other children, this will
1412
- result in a taking over both b and c, forming a PBXGroup for a/b/c.
1413
-
1414
- If recurse is True, this function will recurse into children and ask them
1415
- to collapse themselves by taking over only children as well. Assuming
1416
- an example hierarchy with files at a/b/c/d1, a/b/c/d2, and a/b/c/d3/e/f
1417
- (d1, d2, and f are files, the rest are groups), recursion will result in
1418
- a group for a/b/c containing a group for d3/e.
1419
- """
1420
-
1421
- # At this stage, check that child class types are PBXGroup exactly,
1422
- # instead of using isinstance. The only subclass of PBXGroup,
1423
- # PBXVariantGroup, should not participate in reparenting in the same way:
1424
- # reparenting by merging different object types would be wrong.
1425
- while (
1426
- len(self._properties["children"]) == 1
1427
- and self._properties["children"][0].__class__ == PBXGroup
1428
- ):
1429
- # Loop to take over the innermost only-child group possible.
1430
-
1431
- child = self._properties["children"][0]
1432
-
1433
- # Assume the child's properties, including its children. Save a copy
1434
- # of this object's old properties, because they'll still be needed.
1435
- # This object retains its existing id and parent attributes.
1436
- old_properties = self._properties
1437
- self._properties = child._properties
1438
- self._children_by_path = child._children_by_path
1439
-
1440
- if (
1441
- "sourceTree" not in self._properties
1442
- or self._properties["sourceTree"] == "<group>"
1443
- ):
1444
- # The child was relative to its parent. Fix up the path. Note that
1445
- # children with a sourceTree other than "<group>" are not relative to
1446
- # their parents, so no path fix-up is needed in that case.
1447
- if "path" in old_properties:
1448
- if "path" in self._properties:
1449
- # Both the original parent and child have paths set.
1450
- self._properties["path"] = posixpath.join(
1451
- old_properties["path"], self._properties["path"]
1452
- )
1453
- else:
1454
- # Only the original parent has a path, use it.
1455
- self._properties["path"] = old_properties["path"]
1456
- if "sourceTree" in old_properties:
1457
- # The original parent had a sourceTree set, use it.
1458
- self._properties["sourceTree"] = old_properties["sourceTree"]
1459
-
1460
- # If the original parent had a name set, keep using it. If the original
1461
- # parent didn't have a name but the child did, let the child's name
1462
- # live on. If the name attribute seems unnecessary now, get rid of it.
1463
- if "name" in old_properties and old_properties["name"] not in (
1464
- None,
1465
- self.Name(),
1466
- ):
1467
- self._properties["name"] = old_properties["name"]
1468
- if (
1469
- "name" in self._properties
1470
- and "path" in self._properties
1471
- and self._properties["name"] == self._properties["path"]
1472
- ):
1473
- del self._properties["name"]
1474
-
1475
- # Notify all children of their new parent.
1476
- for child in self._properties["children"]:
1477
- child.parent = self
1478
-
1479
- # If asked to recurse, recurse.
1480
- if recurse:
1481
- for child in self._properties["children"]:
1482
- if child.__class__ == PBXGroup:
1483
- child.TakeOverOnlyChild(recurse)
1484
-
1485
- def SortGroup(self):
1486
- self._properties["children"] = sorted(
1487
- self._properties["children"], key=cmp_to_key(lambda x, y: x.Compare(y))
1488
- )
1489
-
1490
- # Recurse.
1491
- for child in self._properties["children"]:
1492
- if isinstance(child, PBXGroup):
1493
- child.SortGroup()
1494
-
1495
-
1496
- class XCFileLikeElement(XCHierarchicalElement):
1497
- # Abstract base for objects that can be used as the fileRef property of
1498
- # PBXBuildFile.
1499
-
1500
- def PathHashables(self):
1501
- # A PBXBuildFile that refers to this object will call this method to
1502
- # obtain additional hashables specific to this XCFileLikeElement. Don't
1503
- # just use this object's hashables, they're not specific and unique enough
1504
- # on their own (without access to the parent hashables.) Instead, provide
1505
- # hashables that identify this object by path by getting its hashables as
1506
- # well as the hashables of ancestor XCHierarchicalElement objects.
1507
-
1508
- hashables = []
1509
- xche = self
1510
- while isinstance(xche, XCHierarchicalElement):
1511
- xche_hashables = xche.Hashables()
1512
- for index, xche_hashable in enumerate(xche_hashables):
1513
- hashables.insert(index, xche_hashable)
1514
- xche = xche.parent
1515
- return hashables
1516
-
1517
-
1518
- class XCContainerPortal(XCObject):
1519
- # Abstract base for objects that can be used as the containerPortal property
1520
- # of PBXContainerItemProxy.
1521
- pass
1522
-
1523
-
1524
- class XCRemoteObject(XCObject):
1525
- # Abstract base for objects that can be used as the remoteGlobalIDString
1526
- # property of PBXContainerItemProxy.
1527
- pass
1528
-
1529
-
1530
- class PBXFileReference(XCFileLikeElement, XCContainerPortal, XCRemoteObject):
1531
- _schema = XCFileLikeElement._schema.copy()
1532
- _schema.update(
1533
- {
1534
- "explicitFileType": [0, str, 0, 0],
1535
- "lastKnownFileType": [0, str, 0, 0],
1536
- "name": [0, str, 0, 0],
1537
- "path": [0, str, 0, 1],
1538
- }
1539
- )
1540
-
1541
- # Weird output rules for PBXFileReference.
1542
- _should_print_single_line = True
1543
- # super
1544
- _encode_transforms = XCFileLikeElement._alternate_encode_transforms
1545
-
1546
- def __init__(self, properties=None, id=None, parent=None):
1547
- # super
1548
- XCFileLikeElement.__init__(self, properties, id, parent)
1549
- if "path" in self._properties and self._properties["path"].endswith("/"):
1550
- self._properties["path"] = self._properties["path"][:-1]
1551
- is_dir = True
1552
- else:
1553
- is_dir = False
1554
-
1555
- if (
1556
- "path" in self._properties
1557
- and "lastKnownFileType" not in self._properties
1558
- and "explicitFileType" not in self._properties
1559
- ):
1560
- # TODO(mark): This is the replacement for a replacement for a quick hack.
1561
- # It is no longer incredibly sucky, but this list needs to be extended.
1562
- extension_map = {
1563
- "a": "archive.ar",
1564
- "app": "wrapper.application",
1565
- "bdic": "file",
1566
- "bundle": "wrapper.cfbundle",
1567
- "c": "sourcecode.c.c",
1568
- "cc": "sourcecode.cpp.cpp",
1569
- "cpp": "sourcecode.cpp.cpp",
1570
- "css": "text.css",
1571
- "cxx": "sourcecode.cpp.cpp",
1572
- "dart": "sourcecode",
1573
- "dylib": "compiled.mach-o.dylib",
1574
- "framework": "wrapper.framework",
1575
- "gyp": "sourcecode",
1576
- "gypi": "sourcecode",
1577
- "h": "sourcecode.c.h",
1578
- "hxx": "sourcecode.cpp.h",
1579
- "icns": "image.icns",
1580
- "java": "sourcecode.java",
1581
- "js": "sourcecode.javascript",
1582
- "kext": "wrapper.kext",
1583
- "m": "sourcecode.c.objc",
1584
- "mm": "sourcecode.cpp.objcpp",
1585
- "nib": "wrapper.nib",
1586
- "o": "compiled.mach-o.objfile",
1587
- "pdf": "image.pdf",
1588
- "pl": "text.script.perl",
1589
- "plist": "text.plist.xml",
1590
- "pm": "text.script.perl",
1591
- "png": "image.png",
1592
- "py": "text.script.python",
1593
- "r": "sourcecode.rez",
1594
- "rez": "sourcecode.rez",
1595
- "s": "sourcecode.asm",
1596
- "storyboard": "file.storyboard",
1597
- "strings": "text.plist.strings",
1598
- "swift": "sourcecode.swift",
1599
- "ttf": "file",
1600
- "xcassets": "folder.assetcatalog",
1601
- "xcconfig": "text.xcconfig",
1602
- "xcdatamodel": "wrapper.xcdatamodel",
1603
- "xcdatamodeld": "wrapper.xcdatamodeld",
1604
- "xib": "file.xib",
1605
- "y": "sourcecode.yacc",
1606
- }
1607
-
1608
- prop_map = {
1609
- "dart": "explicitFileType",
1610
- "gyp": "explicitFileType",
1611
- "gypi": "explicitFileType",
1612
- }
1613
-
1614
- if is_dir:
1615
- file_type = "folder"
1616
- prop_name = "lastKnownFileType"
1617
- else:
1618
- basename = posixpath.basename(self._properties["path"])
1619
- (_root, ext) = posixpath.splitext(basename)
1620
- # Check the map using a lowercase extension.
1621
- # TODO(mark): Maybe it should try with the original case first and fall
1622
- # back to lowercase, in case there are any instances where case
1623
- # matters. There currently aren't.
1624
- if ext != "":
1625
- ext = ext[1:].lower()
1626
-
1627
- # TODO(mark): "text" is the default value, but "file" is appropriate
1628
- # for unrecognized files not containing text. Xcode seems to choose
1629
- # based on content.
1630
- file_type = extension_map.get(ext, "text")
1631
- prop_name = prop_map.get(ext, "lastKnownFileType")
1632
-
1633
- self._properties[prop_name] = file_type
1634
-
1635
-
1636
- class PBXVariantGroup(PBXGroup, XCFileLikeElement):
1637
- """PBXVariantGroup is used by Xcode to represent localizations."""
1638
-
1639
- # No additions to the schema relative to PBXGroup.
1640
-
1641
-
1642
- # PBXReferenceProxy is also an XCFileLikeElement subclass. It is defined below
1643
- # because it uses PBXContainerItemProxy, defined below.
1644
-
1645
-
1646
- class XCBuildConfiguration(XCObject):
1647
- _schema = XCObject._schema.copy()
1648
- _schema.update(
1649
- {
1650
- "baseConfigurationReference": [0, PBXFileReference, 0, 0],
1651
- "buildSettings": [0, dict, 0, 1, {}],
1652
- "name": [0, str, 0, 1],
1653
- }
1654
- )
1655
-
1656
- def HasBuildSetting(self, key):
1657
- return key in self._properties["buildSettings"]
1658
-
1659
- def GetBuildSetting(self, key):
1660
- return self._properties["buildSettings"][key]
1661
-
1662
- def SetBuildSetting(self, key, value):
1663
- # TODO(mark): If a list, copy?
1664
- self._properties["buildSettings"][key] = value
1665
-
1666
- def AppendBuildSetting(self, key, value):
1667
- if key not in self._properties["buildSettings"]:
1668
- self._properties["buildSettings"][key] = []
1669
- self._properties["buildSettings"][key].append(value)
1670
-
1671
- def DelBuildSetting(self, key):
1672
- if key in self._properties["buildSettings"]:
1673
- del self._properties["buildSettings"][key]
1674
-
1675
- def SetBaseConfiguration(self, value):
1676
- self._properties["baseConfigurationReference"] = value
1677
-
1678
-
1679
- class XCConfigurationList(XCObject):
1680
- # _configs is the default list of configurations.
1681
- _configs = [
1682
- XCBuildConfiguration({"name": "Debug"}),
1683
- XCBuildConfiguration({"name": "Release"}),
1684
- ]
1685
-
1686
- _schema = XCObject._schema.copy()
1687
- _schema.update(
1688
- {
1689
- "buildConfigurations": [1, XCBuildConfiguration, 1, 1, _configs],
1690
- "defaultConfigurationIsVisible": [0, int, 0, 1, 1],
1691
- "defaultConfigurationName": [0, str, 0, 1, "Release"],
1692
- }
1693
- )
1694
-
1695
- def Name(self):
1696
- return (
1697
- "Build configuration list for "
1698
- + self.parent.__class__.__name__
1699
- + ' "'
1700
- + self.parent.Name()
1701
- + '"'
1702
- )
1703
-
1704
- def ConfigurationNamed(self, name):
1705
- """Convenience accessor to obtain an XCBuildConfiguration by name."""
1706
- for configuration in self._properties["buildConfigurations"]:
1707
- if configuration._properties["name"] == name:
1708
- return configuration
1709
-
1710
- raise KeyError(name)
1711
-
1712
- def DefaultConfiguration(self):
1713
- """Convenience accessor to obtain the default XCBuildConfiguration."""
1714
- return self.ConfigurationNamed(self._properties["defaultConfigurationName"])
1715
-
1716
- def HasBuildSetting(self, key):
1717
- """Determines the state of a build setting in all XCBuildConfiguration
1718
- child objects.
1719
-
1720
- If all child objects have key in their build settings, and the value is the
1721
- same in all child objects, returns 1.
1722
-
1723
- If no child objects have the key in their build settings, returns 0.
1724
-
1725
- If some, but not all, child objects have the key in their build settings,
1726
- or if any children have different values for the key, returns -1.
1727
- """
1728
-
1729
- has = None
1730
- value = None
1731
- for configuration in self._properties["buildConfigurations"]:
1732
- configuration_has = configuration.HasBuildSetting(key)
1733
- if has is None:
1734
- has = configuration_has
1735
- elif has != configuration_has:
1736
- return -1
1737
-
1738
- if configuration_has:
1739
- configuration_value = configuration.GetBuildSetting(key)
1740
- if value is None:
1741
- value = configuration_value
1742
- elif value != configuration_value:
1743
- return -1
1744
-
1745
- if not has:
1746
- return 0
1747
-
1748
- return 1
1749
-
1750
- def GetBuildSetting(self, key):
1751
- """Gets the build setting for key.
1752
-
1753
- All child XCConfiguration objects must have the same value set for the
1754
- setting, or a ValueError will be raised.
1755
- """
1756
-
1757
- # TODO(mark): This is wrong for build settings that are lists. The list
1758
- # contents should be compared (and a list copy returned?)
1759
-
1760
- value = None
1761
- for configuration in self._properties["buildConfigurations"]:
1762
- configuration_value = configuration.GetBuildSetting(key)
1763
- if value is None:
1764
- value = configuration_value
1765
- elif value != configuration_value:
1766
- raise ValueError("Variant values for " + key)
1767
-
1768
- return value
1769
-
1770
- def SetBuildSetting(self, key, value):
1771
- """Sets the build setting for key to value in all child
1772
- XCBuildConfiguration objects.
1773
- """
1774
-
1775
- for configuration in self._properties["buildConfigurations"]:
1776
- configuration.SetBuildSetting(key, value)
1777
-
1778
- def AppendBuildSetting(self, key, value):
1779
- """Appends value to the build setting for key, which is treated as a list,
1780
- in all child XCBuildConfiguration objects.
1781
- """
1782
-
1783
- for configuration in self._properties["buildConfigurations"]:
1784
- configuration.AppendBuildSetting(key, value)
1785
-
1786
- def DelBuildSetting(self, key):
1787
- """Deletes the build setting key from all child XCBuildConfiguration
1788
- objects.
1789
- """
1790
-
1791
- for configuration in self._properties["buildConfigurations"]:
1792
- configuration.DelBuildSetting(key)
1793
-
1794
- def SetBaseConfiguration(self, value):
1795
- """Sets the build configuration in all child XCBuildConfiguration objects."""
1796
-
1797
- for configuration in self._properties["buildConfigurations"]:
1798
- configuration.SetBaseConfiguration(value)
1799
-
1800
-
1801
- class PBXBuildFile(XCObject):
1802
- _schema = XCObject._schema.copy()
1803
- _schema.update(
1804
- {
1805
- "fileRef": [0, XCFileLikeElement, 0, 1],
1806
- "settings": [0, str, 0, 0], # hack, it's a dict
1807
- }
1808
- )
1809
-
1810
- # Weird output rules for PBXBuildFile.
1811
- _should_print_single_line = True
1812
- _encode_transforms = XCObject._alternate_encode_transforms
1813
-
1814
- def Name(self):
1815
- # Example: "main.cc in Sources"
1816
- return self._properties["fileRef"].Name() + " in " + self.parent.Name()
1817
-
1818
- def Hashables(self):
1819
- # super
1820
- hashables = XCObject.Hashables(self)
1821
-
1822
- # It is not sufficient to just rely on Name() to get the
1823
- # XCFileLikeElement's name, because that is not a complete pathname.
1824
- # PathHashables returns hashables unique enough that no two
1825
- # PBXBuildFiles should wind up with the same set of hashables, unless
1826
- # someone adds the same file multiple times to the same target. That
1827
- # would be considered invalid anyway.
1828
- hashables.extend(self._properties["fileRef"].PathHashables())
1829
-
1830
- return hashables
1831
-
1832
-
1833
- class XCBuildPhase(XCObject):
1834
- """Abstract base for build phase classes. Not represented in a project
1835
- file.
1836
-
1837
- Attributes:
1838
- _files_by_path: A dict mapping each path of a child in the files list by
1839
- path (keys) to the corresponding PBXBuildFile children (values).
1840
- _files_by_xcfilelikeelement: A dict mapping each XCFileLikeElement (keys)
1841
- to the corresponding PBXBuildFile children (values).
1842
- """
1843
-
1844
- # TODO(mark): Some build phase types, like PBXShellScriptBuildPhase, don't
1845
- # actually have a "files" list. XCBuildPhase should not have "files" but
1846
- # another abstract subclass of it should provide this, and concrete build
1847
- # phase types that do have "files" lists should be derived from that new
1848
- # abstract subclass. XCBuildPhase should only provide buildActionMask and
1849
- # runOnlyForDeploymentPostprocessing, and not files or the various
1850
- # file-related methods and attributes.
1851
-
1852
- _schema = XCObject._schema.copy()
1853
- _schema.update(
1854
- {
1855
- "buildActionMask": [0, int, 0, 1, 0x7FFFFFFF],
1856
- "files": [1, PBXBuildFile, 1, 1, []],
1857
- "runOnlyForDeploymentPostprocessing": [0, int, 0, 1, 0],
1858
- }
1859
- )
1860
-
1861
- def __init__(self, properties=None, id=None, parent=None):
1862
- # super
1863
- XCObject.__init__(self, properties, id, parent)
1864
-
1865
- self._files_by_path = {}
1866
- self._files_by_xcfilelikeelement = {}
1867
- for pbxbuildfile in self._properties.get("files", []):
1868
- self._AddBuildFileToDicts(pbxbuildfile)
1869
-
1870
- def FileGroup(self, path):
1871
- # Subclasses must override this by returning a two-element tuple. The
1872
- # first item in the tuple should be the PBXGroup to which "path" should be
1873
- # added, either as a child or deeper descendant. The second item should
1874
- # be a boolean indicating whether files should be added into hierarchical
1875
- # groups or one single flat group.
1876
- raise NotImplementedError(self.__class__.__name__ + " must implement FileGroup")
1877
-
1878
- def _AddPathToDict(self, pbxbuildfile, path):
1879
- """Adds path to the dict tracking paths belonging to this build phase.
1880
-
1881
- If the path is already a member of this build phase, raises an exception.
1882
- """
1883
-
1884
- if path in self._files_by_path:
1885
- raise ValueError("Found multiple build files with path " + path)
1886
- self._files_by_path[path] = pbxbuildfile
1887
-
1888
- def _AddBuildFileToDicts(self, pbxbuildfile, path=None):
1889
- """Maintains the _files_by_path and _files_by_xcfilelikeelement dicts.
1890
-
1891
- If path is specified, then it is the path that is being added to the
1892
- phase, and pbxbuildfile must contain either a PBXFileReference directly
1893
- referencing that path, or it must contain a PBXVariantGroup that itself
1894
- contains a PBXFileReference referencing the path.
1895
-
1896
- If path is not specified, either the PBXFileReference's path or the paths
1897
- of all children of the PBXVariantGroup are taken as being added to the
1898
- phase.
1899
-
1900
- If the path is already present in the phase, raises an exception.
1901
-
1902
- If the PBXFileReference or PBXVariantGroup referenced by pbxbuildfile
1903
- are already present in the phase, referenced by a different PBXBuildFile
1904
- object, raises an exception. This does not raise an exception when
1905
- a PBXFileReference or PBXVariantGroup reappear and are referenced by the
1906
- same PBXBuildFile that has already introduced them, because in the case
1907
- of PBXVariantGroup objects, they may correspond to multiple paths that are
1908
- not all added simultaneously. When this situation occurs, the path needs
1909
- to be added to _files_by_path, but nothing needs to change in
1910
- _files_by_xcfilelikeelement, and the caller should have avoided adding
1911
- the PBXBuildFile if it is already present in the list of children.
1912
- """
1913
-
1914
- xcfilelikeelement = pbxbuildfile._properties["fileRef"]
1915
-
1916
- paths = []
1917
- if path is not None:
1918
- # It's best when the caller provides the path.
1919
- if isinstance(xcfilelikeelement, PBXVariantGroup):
1920
- paths.append(path)
1921
- # If the caller didn't provide a path, there can be either multiple
1922
- # paths (PBXVariantGroup) or one.
1923
- elif isinstance(xcfilelikeelement, PBXVariantGroup):
1924
- for variant in xcfilelikeelement._properties["children"]:
1925
- paths.append(variant.FullPath())
1926
- else:
1927
- paths.append(xcfilelikeelement.FullPath())
1928
-
1929
- # Add the paths first, because if something's going to raise, the
1930
- # messages provided by _AddPathToDict are more useful owing to its
1931
- # having access to a real pathname and not just an object's Name().
1932
- for a_path in paths:
1933
- self._AddPathToDict(pbxbuildfile, a_path)
1934
-
1935
- # If another PBXBuildFile references this XCFileLikeElement, there's a
1936
- # problem.
1937
- if (
1938
- xcfilelikeelement in self._files_by_xcfilelikeelement
1939
- and self._files_by_xcfilelikeelement[xcfilelikeelement] != pbxbuildfile
1940
- ):
1941
- raise ValueError(
1942
- "Found multiple build files for " + xcfilelikeelement.Name()
1943
- )
1944
- self._files_by_xcfilelikeelement[xcfilelikeelement] = pbxbuildfile
1945
-
1946
- def AppendBuildFile(self, pbxbuildfile, path=None):
1947
- # Callers should use this instead of calling
1948
- # AppendProperty('files', pbxbuildfile) directly because this function
1949
- # maintains the object's dicts. Better yet, callers can just call AddFile
1950
- # with a pathname and not worry about building their own PBXBuildFile
1951
- # objects.
1952
- self.AppendProperty("files", pbxbuildfile)
1953
- self._AddBuildFileToDicts(pbxbuildfile, path)
1954
-
1955
- def AddFile(self, path, settings=None):
1956
- (file_group, hierarchical) = self.FileGroup(path)
1957
- file_ref = file_group.AddOrGetFileByPath(path, hierarchical)
1958
-
1959
- if file_ref in self._files_by_xcfilelikeelement and isinstance(
1960
- file_ref, PBXVariantGroup
1961
- ):
1962
- # There's already a PBXBuildFile in this phase corresponding to the
1963
- # PBXVariantGroup. path just provides a new variant that belongs to
1964
- # the group. Add the path to the dict.
1965
- pbxbuildfile = self._files_by_xcfilelikeelement[file_ref]
1966
- self._AddBuildFileToDicts(pbxbuildfile, path)
1967
- else:
1968
- # Add a new PBXBuildFile to get file_ref into the phase.
1969
- if settings is None:
1970
- pbxbuildfile = PBXBuildFile({"fileRef": file_ref})
1971
- else:
1972
- pbxbuildfile = PBXBuildFile({"fileRef": file_ref, "settings": settings})
1973
- self.AppendBuildFile(pbxbuildfile, path)
1974
-
1975
-
1976
- class PBXHeadersBuildPhase(XCBuildPhase):
1977
- # No additions to the schema relative to XCBuildPhase.
1978
-
1979
- def Name(self):
1980
- return "Headers"
1981
-
1982
- def FileGroup(self, path):
1983
- return self.PBXProjectAncestor().RootGroupForPath(path)
1984
-
1985
-
1986
- class PBXResourcesBuildPhase(XCBuildPhase):
1987
- # No additions to the schema relative to XCBuildPhase.
1988
-
1989
- def Name(self):
1990
- return "Resources"
1991
-
1992
- def FileGroup(self, path):
1993
- return self.PBXProjectAncestor().RootGroupForPath(path)
1994
-
1995
-
1996
- class PBXSourcesBuildPhase(XCBuildPhase):
1997
- # No additions to the schema relative to XCBuildPhase.
1998
-
1999
- def Name(self):
2000
- return "Sources"
2001
-
2002
- def FileGroup(self, path):
2003
- return self.PBXProjectAncestor().RootGroupForPath(path)
2004
-
2005
-
2006
- class PBXFrameworksBuildPhase(XCBuildPhase):
2007
- # No additions to the schema relative to XCBuildPhase.
2008
-
2009
- def Name(self):
2010
- return "Frameworks"
2011
-
2012
- def FileGroup(self, path):
2013
- (_root, ext) = posixpath.splitext(path)
2014
- if ext != "":
2015
- ext = ext[1:].lower()
2016
- if ext == "o":
2017
- # .o files are added to Xcode Frameworks phases, but conceptually aren't
2018
- # frameworks, they're more like sources or intermediates. Redirect them
2019
- # to show up in one of those other groups.
2020
- return self.PBXProjectAncestor().RootGroupForPath(path)
2021
- else:
2022
- return (self.PBXProjectAncestor().FrameworksGroup(), False)
2023
-
2024
-
2025
- class PBXShellScriptBuildPhase(XCBuildPhase):
2026
- _schema = XCBuildPhase._schema.copy()
2027
- _schema.update(
2028
- {
2029
- "inputPaths": [1, str, 0, 1, []],
2030
- "name": [0, str, 0, 0],
2031
- "outputPaths": [1, str, 0, 1, []],
2032
- "shellPath": [0, str, 0, 1, "/bin/sh"],
2033
- "shellScript": [0, str, 0, 1],
2034
- "showEnvVarsInLog": [0, int, 0, 0],
2035
- }
2036
- )
2037
-
2038
- def Name(self):
2039
- if "name" in self._properties:
2040
- return self._properties["name"]
2041
-
2042
- return "ShellScript"
2043
-
2044
-
2045
- class PBXCopyFilesBuildPhase(XCBuildPhase):
2046
- _schema = XCBuildPhase._schema.copy()
2047
- _schema.update(
2048
- {
2049
- "dstPath": [0, str, 0, 1],
2050
- "dstSubfolderSpec": [0, int, 0, 1],
2051
- "name": [0, str, 0, 0],
2052
- }
2053
- )
2054
-
2055
- # path_tree_re matches "$(DIR)/path", "$(DIR)/$(DIR2)/path" or just "$(DIR)".
2056
- # Match group 1 is "DIR", group 3 is "path" or "$(DIR2") or "$(DIR2)/path"
2057
- # or None. If group 3 is "path", group 4 will be None otherwise group 4 is
2058
- # "DIR2" and group 6 is "path".
2059
- path_tree_re = re.compile(r"^\$\((.*?)\)(/(\$\((.*?)\)(/(.*)|)|(.*)|)|)$")
2060
-
2061
- # path_tree_{first,second}_to_subfolder map names of Xcode variables to the
2062
- # associated dstSubfolderSpec property value used in a PBXCopyFilesBuildPhase
2063
- # object.
2064
- path_tree_first_to_subfolder = {
2065
- # Types that can be chosen via the Xcode UI.
2066
- "BUILT_PRODUCTS_DIR": 16, # Products Directory
2067
- "BUILT_FRAMEWORKS_DIR": 10, # Not an official Xcode macro.
2068
- # Existed before support for the
2069
- # names below was added. Maps to
2070
- # "Frameworks".
2071
- }
2072
-
2073
- path_tree_second_to_subfolder = {
2074
- "WRAPPER_NAME": 1, # Wrapper
2075
- # Although Xcode's friendly name is "Executables", the destination
2076
- # is demonstrably the value of the build setting
2077
- # EXECUTABLE_FOLDER_PATH not EXECUTABLES_FOLDER_PATH.
2078
- "EXECUTABLE_FOLDER_PATH": 6, # Executables.
2079
- "UNLOCALIZED_RESOURCES_FOLDER_PATH": 7, # Resources
2080
- "JAVA_FOLDER_PATH": 15, # Java Resources
2081
- "FRAMEWORKS_FOLDER_PATH": 10, # Frameworks
2082
- "SHARED_FRAMEWORKS_FOLDER_PATH": 11, # Shared Frameworks
2083
- "SHARED_SUPPORT_FOLDER_PATH": 12, # Shared Support
2084
- "PLUGINS_FOLDER_PATH": 13, # PlugIns
2085
- # For XPC Services, Xcode sets both dstPath and dstSubfolderSpec.
2086
- # Note that it re-uses the BUILT_PRODUCTS_DIR value for
2087
- # dstSubfolderSpec. dstPath is set below.
2088
- "XPCSERVICES_FOLDER_PATH": 16, # XPC Services.
2089
- }
2090
-
2091
- def Name(self):
2092
- if "name" in self._properties:
2093
- return self._properties["name"]
2094
-
2095
- return "CopyFiles"
2096
-
2097
- def FileGroup(self, path):
2098
- return self.PBXProjectAncestor().RootGroupForPath(path)
2099
-
2100
- def SetDestination(self, path):
2101
- """Set the dstSubfolderSpec and dstPath properties from path.
2102
-
2103
- path may be specified in the same notation used for XCHierarchicalElements,
2104
- specifically, "$(DIR)/path".
2105
- """
2106
-
2107
- if path_tree_match := self.path_tree_re.search(path):
2108
- path_tree = path_tree_match.group(1)
2109
- if path_tree in self.path_tree_first_to_subfolder:
2110
- subfolder = self.path_tree_first_to_subfolder[path_tree]
2111
- relative_path = path_tree_match.group(3)
2112
- if relative_path is None:
2113
- relative_path = ""
2114
-
2115
- if subfolder == 16 and path_tree_match.group(4) is not None:
2116
- # BUILT_PRODUCTS_DIR (16) is the first element in a path whose
2117
- # second element is possibly one of the variable names in
2118
- # path_tree_second_to_subfolder. Xcode sets the values of all these
2119
- # variables to relative paths so .gyp files must prefix them with
2120
- # BUILT_PRODUCTS_DIR, e.g.
2121
- # $(BUILT_PRODUCTS_DIR)/$(PLUGINS_FOLDER_PATH). Then
2122
- # xcode_emulation.py can export these variables with the same values
2123
- # as Xcode yet make & ninja files can determine the absolute path
2124
- # to the target. Xcode uses the dstSubfolderSpec value set here
2125
- # to determine the full path.
2126
- #
2127
- # An alternative of xcode_emulation.py setting the values to
2128
- # absolute paths when exporting these variables has been
2129
- # ruled out because then the values would be different
2130
- # depending on the build tool.
2131
- #
2132
- # Another alternative is to invent new names for the variables used
2133
- # to match to the subfolder indices in the second table. .gyp files
2134
- # then will not need to prepend $(BUILT_PRODUCTS_DIR) because
2135
- # xcode_emulation.py can set the values of those variables to
2136
- # the absolute paths when exporting. This is possibly the thinking
2137
- # behind BUILT_FRAMEWORKS_DIR which is used in exactly this manner.
2138
- #
2139
- # Requiring prepending BUILT_PRODUCTS_DIR has been chosen because
2140
- # this same way could be used to specify destinations in .gyp files
2141
- # that pre-date this addition to GYP. However they would only work
2142
- # with the Xcode generator.
2143
- # The previous version of xcode_emulation.py
2144
- # does not export these variables. Such files will get the benefit
2145
- # of the Xcode UI showing the proper destination name simply by
2146
- # regenerating the projects with this version of GYP.
2147
- path_tree = path_tree_match.group(4)
2148
- relative_path = path_tree_match.group(6)
2149
- separator = "/"
2150
-
2151
- if path_tree in self.path_tree_second_to_subfolder:
2152
- subfolder = self.path_tree_second_to_subfolder[path_tree]
2153
- if relative_path is None:
2154
- relative_path = ""
2155
- separator = ""
2156
- if path_tree == "XPCSERVICES_FOLDER_PATH":
2157
- relative_path = (
2158
- "$(CONTENTS_FOLDER_PATH)/XPCServices"
2159
- + separator
2160
- + relative_path
2161
- )
2162
- else:
2163
- # subfolder = 16 from above
2164
- # The second element of the path is an unrecognized variable.
2165
- # Include it and any remaining elements in relative_path.
2166
- relative_path = path_tree_match.group(3)
2167
-
2168
- else:
2169
- # The path starts with an unrecognized Xcode variable
2170
- # name like $(SRCROOT). Xcode will still handle this
2171
- # as an "absolute path" that starts with the variable.
2172
- subfolder = 0
2173
- relative_path = path
2174
- elif path.startswith("/"):
2175
- # Special case. Absolute paths are in dstSubfolderSpec 0.
2176
- subfolder = 0
2177
- relative_path = path[1:]
2178
- else:
2179
- raise ValueError(f"Can't use path {path} in a {self.__class__.__name__}")
2180
-
2181
- self._properties["dstPath"] = relative_path
2182
- self._properties["dstSubfolderSpec"] = subfolder
2183
-
2184
-
2185
- class PBXBuildRule(XCObject):
2186
- _schema = XCObject._schema.copy()
2187
- _schema.update(
2188
- {
2189
- "compilerSpec": [0, str, 0, 1],
2190
- "filePatterns": [0, str, 0, 0],
2191
- "fileType": [0, str, 0, 1],
2192
- "isEditable": [0, int, 0, 1, 1],
2193
- "outputFiles": [1, str, 0, 1, []],
2194
- "script": [0, str, 0, 0],
2195
- }
2196
- )
2197
-
2198
- def Name(self):
2199
- # Not very inspired, but it's what Xcode uses.
2200
- return self.__class__.__name__
2201
-
2202
- def Hashables(self):
2203
- # super
2204
- hashables = XCObject.Hashables(self)
2205
-
2206
- # Use the hashables of the weak objects that this object refers to.
2207
- hashables.append(self._properties["fileType"])
2208
- if "filePatterns" in self._properties:
2209
- hashables.append(self._properties["filePatterns"])
2210
- return hashables
2211
-
2212
-
2213
- class PBXContainerItemProxy(XCObject):
2214
- # When referencing an item in this project file, containerPortal is the
2215
- # PBXProject root object of this project file. When referencing an item in
2216
- # another project file, containerPortal is a PBXFileReference identifying
2217
- # the other project file.
2218
- #
2219
- # When serving as a proxy to an XCTarget (in this project file or another),
2220
- # proxyType is 1. When serving as a proxy to a PBXFileReference (in another
2221
- # project file), proxyType is 2. Type 2 is used for references to the
2222
- # producs of the other project file's targets.
2223
- #
2224
- # Xcode is weird about remoteGlobalIDString. Usually, it's printed without
2225
- # a comment, indicating that it's tracked internally simply as a string, but
2226
- # sometimes it's printed with a comment (usually when the object is initially
2227
- # created), indicating that it's tracked as a project file object at least
2228
- # sometimes. This module always tracks it as an object, but contains a hack
2229
- # to prevent it from printing the comment in the project file output. See
2230
- # _XCKVPrint.
2231
- _schema = XCObject._schema.copy()
2232
- _schema.update(
2233
- {
2234
- "containerPortal": [0, XCContainerPortal, 0, 1],
2235
- "proxyType": [0, int, 0, 1],
2236
- "remoteGlobalIDString": [0, XCRemoteObject, 0, 1],
2237
- "remoteInfo": [0, str, 0, 1],
2238
- }
2239
- )
2240
-
2241
- def __repr__(self):
2242
- props = self._properties
2243
- name = "{}.gyp:{}".format(props["containerPortal"].Name(), props["remoteInfo"])
2244
- return f"<{self.__class__.__name__} {name!r} at 0x{id(self):x}>"
2245
-
2246
- def Name(self):
2247
- # Admittedly not the best name, but it's what Xcode uses.
2248
- return self.__class__.__name__
2249
-
2250
- def Hashables(self):
2251
- # super
2252
- hashables = XCObject.Hashables(self)
2253
-
2254
- # Use the hashables of the weak objects that this object refers to.
2255
- hashables.extend(self._properties["containerPortal"].Hashables())
2256
- hashables.extend(self._properties["remoteGlobalIDString"].Hashables())
2257
- return hashables
2258
-
2259
-
2260
- class PBXTargetDependency(XCObject):
2261
- # The "target" property accepts an XCTarget object, and obviously not
2262
- # NoneType. But XCTarget is defined below, so it can't be put into the
2263
- # schema yet. The definition of PBXTargetDependency can't be moved below
2264
- # XCTarget because XCTarget's own schema references PBXTargetDependency.
2265
- # Python doesn't deal well with this circular relationship, and doesn't have
2266
- # a real way to do forward declarations. To work around, the type of
2267
- # the "target" property is reset below, after XCTarget is defined.
2268
- #
2269
- # At least one of "name" and "target" is required.
2270
- _schema = XCObject._schema.copy()
2271
- _schema.update(
2272
- {
2273
- "name": [0, str, 0, 0],
2274
- "target": [0, None.__class__, 0, 0],
2275
- "targetProxy": [0, PBXContainerItemProxy, 1, 1],
2276
- }
2277
- )
2278
-
2279
- def __repr__(self):
2280
- name = self._properties.get("name") or self._properties["target"].Name()
2281
- return f"<{self.__class__.__name__} {name!r} at 0x{id(self):x}>"
2282
-
2283
- def Name(self):
2284
- # Admittedly not the best name, but it's what Xcode uses.
2285
- return self.__class__.__name__
2286
-
2287
- def Hashables(self):
2288
- # super
2289
- hashables = XCObject.Hashables(self)
2290
-
2291
- # Use the hashables of the weak objects that this object refers to.
2292
- hashables.extend(self._properties["targetProxy"].Hashables())
2293
- return hashables
2294
-
2295
-
2296
- class PBXReferenceProxy(XCFileLikeElement):
2297
- _schema = XCFileLikeElement._schema.copy()
2298
- _schema.update(
2299
- {
2300
- "fileType": [0, str, 0, 1],
2301
- "path": [0, str, 0, 1],
2302
- "remoteRef": [0, PBXContainerItemProxy, 1, 1],
2303
- }
2304
- )
2305
-
2306
-
2307
- class XCTarget(XCRemoteObject):
2308
- # An XCTarget is really just an XCObject, the XCRemoteObject thing is just
2309
- # to allow PBXProject to be used in the remoteGlobalIDString property of
2310
- # PBXContainerItemProxy.
2311
- #
2312
- # Setting a "name" property at instantiation may also affect "productName",
2313
- # which may in turn affect the "PRODUCT_NAME" build setting in children of
2314
- # "buildConfigurationList". See __init__ below.
2315
- _schema = XCRemoteObject._schema.copy()
2316
- _schema.update(
2317
- {
2318
- "buildConfigurationList": [
2319
- 0,
2320
- XCConfigurationList,
2321
- 1,
2322
- 1,
2323
- XCConfigurationList(),
2324
- ],
2325
- "buildPhases": [1, XCBuildPhase, 1, 1, []],
2326
- "dependencies": [1, PBXTargetDependency, 1, 1, []],
2327
- "name": [0, str, 0, 1],
2328
- "productName": [0, str, 0, 1],
2329
- }
2330
- )
2331
-
2332
- def __init__(
2333
- self,
2334
- properties=None,
2335
- id=None,
2336
- parent=None,
2337
- force_outdir=None,
2338
- force_prefix=None,
2339
- force_extension=None,
2340
- ):
2341
- # super
2342
- XCRemoteObject.__init__(self, properties, id, parent)
2343
-
2344
- # Set up additional defaults not expressed in the schema. If a "name"
2345
- # property was supplied, set "productName" if it is not present. Also set
2346
- # the "PRODUCT_NAME" build setting in each configuration, but only if
2347
- # the setting is not present in any build configuration.
2348
- if "name" in self._properties and "productName" not in self._properties:
2349
- self.SetProperty("productName", self._properties["name"])
2350
-
2351
- if "productName" in self._properties:
2352
- if "buildConfigurationList" in self._properties:
2353
- configs = self._properties["buildConfigurationList"]
2354
- if configs.HasBuildSetting("PRODUCT_NAME") == 0:
2355
- configs.SetBuildSetting(
2356
- "PRODUCT_NAME", self._properties["productName"]
2357
- )
2358
-
2359
- def AddDependency(self, other):
2360
- pbxproject = self.PBXProjectAncestor()
2361
- other_pbxproject = other.PBXProjectAncestor()
2362
- if pbxproject == other_pbxproject:
2363
- # Add a dependency to another target in the same project file.
2364
- container = PBXContainerItemProxy(
2365
- {
2366
- "containerPortal": pbxproject,
2367
- "proxyType": 1,
2368
- "remoteGlobalIDString": other,
2369
- "remoteInfo": other.Name(),
2370
- }
2371
- )
2372
- dependency = PBXTargetDependency(
2373
- {"target": other, "targetProxy": container}
2374
- )
2375
- self.AppendProperty("dependencies", dependency)
2376
- else:
2377
- # Add a dependency to a target in a different project file.
2378
- other_project_ref = pbxproject.AddOrGetProjectReference(other_pbxproject)[1]
2379
- container = PBXContainerItemProxy(
2380
- {
2381
- "containerPortal": other_project_ref,
2382
- "proxyType": 1,
2383
- "remoteGlobalIDString": other,
2384
- "remoteInfo": other.Name(),
2385
- }
2386
- )
2387
- dependency = PBXTargetDependency(
2388
- {"name": other.Name(), "targetProxy": container}
2389
- )
2390
- self.AppendProperty("dependencies", dependency)
2391
-
2392
- # Proxy all of these through to the build configuration list.
2393
-
2394
- def ConfigurationNamed(self, name):
2395
- return self._properties["buildConfigurationList"].ConfigurationNamed(name)
2396
-
2397
- def DefaultConfiguration(self):
2398
- return self._properties["buildConfigurationList"].DefaultConfiguration()
2399
-
2400
- def HasBuildSetting(self, key):
2401
- return self._properties["buildConfigurationList"].HasBuildSetting(key)
2402
-
2403
- def GetBuildSetting(self, key):
2404
- return self._properties["buildConfigurationList"].GetBuildSetting(key)
2405
-
2406
- def SetBuildSetting(self, key, value):
2407
- return self._properties["buildConfigurationList"].SetBuildSetting(key, value)
2408
-
2409
- def AppendBuildSetting(self, key, value):
2410
- return self._properties["buildConfigurationList"].AppendBuildSetting(key, value)
2411
-
2412
- def DelBuildSetting(self, key):
2413
- return self._properties["buildConfigurationList"].DelBuildSetting(key)
2414
-
2415
-
2416
- # Redefine the type of the "target" property. See PBXTargetDependency._schema
2417
- # above.
2418
- PBXTargetDependency._schema["target"][1] = XCTarget
2419
-
2420
-
2421
- class PBXNativeTarget(XCTarget):
2422
- # buildPhases is overridden in the schema to be able to set defaults.
2423
- #
2424
- # NOTE: Contrary to most objects, it is advisable to set parent when
2425
- # constructing PBXNativeTarget. A parent of an XCTarget must be a PBXProject
2426
- # object. A parent reference is required for a PBXNativeTarget during
2427
- # construction to be able to set up the target defaults for productReference,
2428
- # because a PBXBuildFile object must be created for the target and it must
2429
- # be added to the PBXProject's mainGroup hierarchy.
2430
- _schema = XCTarget._schema.copy()
2431
- _schema.update(
2432
- {
2433
- "buildPhases": [
2434
- 1,
2435
- XCBuildPhase,
2436
- 1,
2437
- 1,
2438
- [PBXSourcesBuildPhase(), PBXFrameworksBuildPhase()],
2439
- ],
2440
- "buildRules": [1, PBXBuildRule, 1, 1, []],
2441
- "productReference": [0, PBXFileReference, 0, 1],
2442
- "productType": [0, str, 0, 1],
2443
- }
2444
- )
2445
-
2446
- # Mapping from Xcode product-types to settings. The settings are:
2447
- # filetype : used for explicitFileType in the project file
2448
- # prefix : the prefix for the file name
2449
- # suffix : the suffix for the file name
2450
- _product_filetypes = {
2451
- "com.apple.product-type.application": ["wrapper.application", "", ".app"],
2452
- "com.apple.product-type.application.watchapp": [
2453
- "wrapper.application",
2454
- "",
2455
- ".app",
2456
- ],
2457
- "com.apple.product-type.watchkit-extension": [
2458
- "wrapper.app-extension",
2459
- "",
2460
- ".appex",
2461
- ],
2462
- "com.apple.product-type.app-extension": ["wrapper.app-extension", "", ".appex"],
2463
- "com.apple.product-type.bundle": ["wrapper.cfbundle", "", ".bundle"],
2464
- "com.apple.product-type.framework": ["wrapper.framework", "", ".framework"],
2465
- "com.apple.product-type.library.dynamic": [
2466
- "compiled.mach-o.dylib",
2467
- "lib",
2468
- ".dylib",
2469
- ],
2470
- "com.apple.product-type.library.static": ["archive.ar", "lib", ".a"],
2471
- "com.apple.product-type.tool": ["compiled.mach-o.executable", "", ""],
2472
- "com.apple.product-type.bundle.unit-test": ["wrapper.cfbundle", "", ".xctest"],
2473
- "com.apple.product-type.bundle.ui-testing": ["wrapper.cfbundle", "", ".xctest"],
2474
- "com.googlecode.gyp.xcode.bundle": ["compiled.mach-o.dylib", "", ".so"],
2475
- "com.apple.product-type.kernel-extension": ["wrapper.kext", "", ".kext"],
2476
- }
2477
-
2478
- def __init__(
2479
- self,
2480
- properties=None,
2481
- id=None,
2482
- parent=None,
2483
- force_outdir=None,
2484
- force_prefix=None,
2485
- force_extension=None,
2486
- ):
2487
- # super
2488
- XCTarget.__init__(self, properties, id, parent)
2489
-
2490
- if (
2491
- "productName" in self._properties
2492
- and "productType" in self._properties
2493
- and "productReference" not in self._properties
2494
- and self._properties["productType"] in self._product_filetypes
2495
- ):
2496
- products_group = None
2497
- pbxproject = self.PBXProjectAncestor()
2498
- if pbxproject is not None:
2499
- products_group = pbxproject.ProductsGroup()
2500
-
2501
- if products_group is not None:
2502
- (filetype, prefix, suffix) = self._product_filetypes[
2503
- self._properties["productType"]
2504
- ]
2505
- # Xcode does not have a distinct type for loadable modules that are
2506
- # pure BSD targets (not in a bundle wrapper). GYP allows such modules
2507
- # to be specified by setting a target type to loadable_module without
2508
- # having mac_bundle set. These are mapped to the pseudo-product type
2509
- # com.googlecode.gyp.xcode.bundle.
2510
- #
2511
- # By picking up this special type and converting it to a dynamic
2512
- # library (com.apple.product-type.library.dynamic) with fix-ups,
2513
- # single-file loadable modules can be produced.
2514
- #
2515
- # MACH_O_TYPE is changed to mh_bundle to produce the proper file type
2516
- # (as opposed to mh_dylib). In order for linking to succeed,
2517
- # DYLIB_CURRENT_VERSION and DYLIB_COMPATIBILITY_VERSION must be
2518
- # cleared. They are meaningless for type mh_bundle.
2519
- #
2520
- # Finally, the .so extension is forcibly applied over the default
2521
- # (.dylib), unless another forced extension is already selected.
2522
- # .dylib is plainly wrong, and .bundle is used by loadable_modules in
2523
- # bundle wrappers (com.apple.product-type.bundle). .so seems an odd
2524
- # choice because it's used as the extension on many other systems that
2525
- # don't distinguish between linkable shared libraries and non-linkable
2526
- # loadable modules, but there's precedent: Python loadable modules on
2527
- # Mac OS X use an .so extension.
2528
- if self._properties["productType"] == "com.googlecode.gyp.xcode.bundle":
2529
- self._properties["productType"] = (
2530
- "com.apple.product-type.library.dynamic"
2531
- )
2532
- self.SetBuildSetting("MACH_O_TYPE", "mh_bundle")
2533
- self.SetBuildSetting("DYLIB_CURRENT_VERSION", "")
2534
- self.SetBuildSetting("DYLIB_COMPATIBILITY_VERSION", "")
2535
- if force_extension is None:
2536
- force_extension = suffix[1:]
2537
-
2538
- if (
2539
- self._properties["productType"]
2540
- in {
2541
- "com.apple.product-type-bundle.unit.test",
2542
- "com.apple.product-type-bundle.ui-testing",
2543
- }
2544
- ) and force_extension is None:
2545
- force_extension = suffix[1:]
2546
-
2547
- if force_extension is not None:
2548
- # If it's a wrapper (bundle), set WRAPPER_EXTENSION.
2549
- # Extension override.
2550
- suffix = "." + force_extension
2551
- if filetype.startswith("wrapper."):
2552
- self.SetBuildSetting("WRAPPER_EXTENSION", force_extension)
2553
- else:
2554
- self.SetBuildSetting("EXECUTABLE_EXTENSION", force_extension)
2555
-
2556
- if filetype.startswith("compiled.mach-o.executable"):
2557
- product_name = self._properties["productName"]
2558
- product_name += suffix
2559
- suffix = ""
2560
- self.SetProperty("productName", product_name)
2561
- self.SetBuildSetting("PRODUCT_NAME", product_name)
2562
-
2563
- # Xcode handles most prefixes based on the target type, however there
2564
- # are exceptions. If a "BSD Dynamic Library" target is added in the
2565
- # Xcode UI, Xcode sets EXECUTABLE_PREFIX. This check duplicates that
2566
- # behavior.
2567
- if force_prefix is not None:
2568
- prefix = force_prefix
2569
- if filetype.startswith("wrapper."):
2570
- self.SetBuildSetting("WRAPPER_PREFIX", prefix)
2571
- else:
2572
- self.SetBuildSetting("EXECUTABLE_PREFIX", prefix)
2573
-
2574
- if force_outdir is not None:
2575
- self.SetBuildSetting("TARGET_BUILD_DIR", force_outdir)
2576
-
2577
- # TODO(tvl): Remove the below hack.
2578
- # http://code.google.com/p/gyp/issues/detail?id=122
2579
-
2580
- # Some targets include the prefix in the target_name. These targets
2581
- # really should just add a product_name setting that doesn't include
2582
- # the prefix. For example:
2583
- # target_name = 'libevent', product_name = 'event'
2584
- # This check cleans up for them.
2585
- product_name = self._properties["productName"]
2586
- prefix_len = len(prefix)
2587
- if prefix_len and (product_name[:prefix_len] == prefix):
2588
- product_name = product_name[prefix_len:]
2589
- self.SetProperty("productName", product_name)
2590
- self.SetBuildSetting("PRODUCT_NAME", product_name)
2591
-
2592
- ref_props = {
2593
- "explicitFileType": filetype,
2594
- "includeInIndex": 0,
2595
- "path": prefix + product_name + suffix,
2596
- "sourceTree": "BUILT_PRODUCTS_DIR",
2597
- }
2598
- file_ref = PBXFileReference(ref_props)
2599
- products_group.AppendChild(file_ref)
2600
- self.SetProperty("productReference", file_ref)
2601
-
2602
- def GetBuildPhaseByType(self, type):
2603
- if "buildPhases" not in self._properties:
2604
- return None
2605
-
2606
- the_phase = None
2607
- for phase in self._properties["buildPhases"]:
2608
- if isinstance(phase, type):
2609
- # Some phases may be present in multiples in a well-formed project file,
2610
- # but phases like PBXSourcesBuildPhase may only be present singly, and
2611
- # this function is intended as an aid to GetBuildPhaseByType. Loop
2612
- # over the entire list of phases and assert if more than one of the
2613
- # desired type is found.
2614
- assert the_phase is None
2615
- the_phase = phase
2616
-
2617
- return the_phase
2618
-
2619
- def HeadersPhase(self):
2620
- headers_phase = self.GetBuildPhaseByType(PBXHeadersBuildPhase)
2621
- if headers_phase is None:
2622
- headers_phase = PBXHeadersBuildPhase()
2623
-
2624
- # The headers phase should come before the resources, sources, and
2625
- # frameworks phases, if any.
2626
- insert_at = len(self._properties["buildPhases"])
2627
- for index, phase in enumerate(self._properties["buildPhases"]):
2628
- if isinstance(
2629
- phase,
2630
- (
2631
- PBXResourcesBuildPhase,
2632
- PBXSourcesBuildPhase,
2633
- PBXFrameworksBuildPhase,
2634
- ),
2635
- ):
2636
- insert_at = index
2637
- break
2638
-
2639
- self._properties["buildPhases"].insert(insert_at, headers_phase)
2640
- headers_phase.parent = self
2641
-
2642
- return headers_phase
2643
-
2644
- def ResourcesPhase(self):
2645
- resources_phase = self.GetBuildPhaseByType(PBXResourcesBuildPhase)
2646
- if resources_phase is None:
2647
- resources_phase = PBXResourcesBuildPhase()
2648
-
2649
- # The resources phase should come before the sources and frameworks
2650
- # phases, if any.
2651
- insert_at = len(self._properties["buildPhases"])
2652
- for index, phase in enumerate(self._properties["buildPhases"]):
2653
- if isinstance(phase, (PBXSourcesBuildPhase, PBXFrameworksBuildPhase)):
2654
- insert_at = index
2655
- break
2656
-
2657
- self._properties["buildPhases"].insert(insert_at, resources_phase)
2658
- resources_phase.parent = self
2659
-
2660
- return resources_phase
2661
-
2662
- def SourcesPhase(self):
2663
- sources_phase = self.GetBuildPhaseByType(PBXSourcesBuildPhase)
2664
- if sources_phase is None:
2665
- sources_phase = PBXSourcesBuildPhase()
2666
- self.AppendProperty("buildPhases", sources_phase)
2667
-
2668
- return sources_phase
2669
-
2670
- def FrameworksPhase(self):
2671
- frameworks_phase = self.GetBuildPhaseByType(PBXFrameworksBuildPhase)
2672
- if frameworks_phase is None:
2673
- frameworks_phase = PBXFrameworksBuildPhase()
2674
- self.AppendProperty("buildPhases", frameworks_phase)
2675
-
2676
- return frameworks_phase
2677
-
2678
- def AddDependency(self, other):
2679
- # super
2680
- XCTarget.AddDependency(self, other)
2681
-
2682
- static_library_type = "com.apple.product-type.library.static"
2683
- shared_library_type = "com.apple.product-type.library.dynamic"
2684
- framework_type = "com.apple.product-type.framework"
2685
- if (
2686
- isinstance(other, PBXNativeTarget)
2687
- and "productType" in self._properties
2688
- and self._properties["productType"] != static_library_type
2689
- and "productType" in other._properties
2690
- and (
2691
- other._properties["productType"] == static_library_type
2692
- or (
2693
- (
2694
- other._properties["productType"]
2695
- in {shared_library_type, framework_type}
2696
- )
2697
- and (
2698
- (not other.HasBuildSetting("MACH_O_TYPE"))
2699
- or other.GetBuildSetting("MACH_O_TYPE") != "mh_bundle"
2700
- )
2701
- )
2702
- )
2703
- ):
2704
- file_ref = other.GetProperty("productReference")
2705
-
2706
- pbxproject = self.PBXProjectAncestor()
2707
- other_pbxproject = other.PBXProjectAncestor()
2708
- if pbxproject != other_pbxproject:
2709
- other_project_product_group = pbxproject.AddOrGetProjectReference(
2710
- other_pbxproject
2711
- )[0]
2712
- file_ref = other_project_product_group.GetChildByRemoteObject(file_ref)
2713
-
2714
- self.FrameworksPhase().AppendProperty(
2715
- "files", PBXBuildFile({"fileRef": file_ref})
2716
- )
2717
-
2718
-
2719
- class PBXAggregateTarget(XCTarget):
2720
- pass
2721
-
2722
-
2723
- class PBXProject(XCContainerPortal):
2724
- # A PBXProject is really just an XCObject, the XCContainerPortal thing is
2725
- # just to allow PBXProject to be used in the containerPortal property of
2726
- # PBXContainerItemProxy.
2727
- """
2728
-
2729
- Attributes:
2730
- path: "sample.xcodeproj". TODO(mark) Document me!
2731
- _other_pbxprojects: A dictionary, keyed by other PBXProject objects. Each
2732
- value is a reference to the dict in the
2733
- projectReferences list associated with the keyed
2734
- PBXProject.
2735
- """
2736
-
2737
- _schema = XCContainerPortal._schema.copy()
2738
- _schema.update(
2739
- {
2740
- "attributes": [0, dict, 0, 0],
2741
- "buildConfigurationList": [
2742
- 0,
2743
- XCConfigurationList,
2744
- 1,
2745
- 1,
2746
- XCConfigurationList(),
2747
- ],
2748
- "compatibilityVersion": [0, str, 0, 1, "Xcode 3.2"],
2749
- "hasScannedForEncodings": [0, int, 0, 1, 1],
2750
- "mainGroup": [0, PBXGroup, 1, 1, PBXGroup()],
2751
- "projectDirPath": [0, str, 0, 1, ""],
2752
- "projectReferences": [1, dict, 0, 0],
2753
- "projectRoot": [0, str, 0, 1, ""],
2754
- "targets": [1, XCTarget, 1, 1, []],
2755
- }
2756
- )
2757
-
2758
- def __init__(self, properties=None, id=None, parent=None, path=None):
2759
- self.path = path
2760
- self._other_pbxprojects = {}
2761
- # super
2762
- XCContainerPortal.__init__(self, properties, id, parent)
2763
-
2764
- def Name(self):
2765
- name = self.path
2766
- if name[-10:] == ".xcodeproj":
2767
- name = name[:-10]
2768
- return posixpath.basename(name)
2769
-
2770
- def Path(self):
2771
- return self.path
2772
-
2773
- def Comment(self):
2774
- return "Project object"
2775
-
2776
- def Children(self):
2777
- # super
2778
- children = XCContainerPortal.Children(self)
2779
-
2780
- # Add children that the schema doesn't know about. Maybe there's a more
2781
- # elegant way around this, but this is the only case where we need to own
2782
- # objects in a dictionary (that is itself in a list), and three lines for
2783
- # a one-off isn't that big a deal.
2784
- if "projectReferences" in self._properties:
2785
- for reference in self._properties["projectReferences"]:
2786
- children.append(reference["ProductGroup"])
2787
-
2788
- return children
2789
-
2790
- def PBXProjectAncestor(self):
2791
- return self
2792
-
2793
- def _GroupByName(self, name):
2794
- if "mainGroup" not in self._properties:
2795
- self.SetProperty("mainGroup", PBXGroup())
2796
-
2797
- main_group = self._properties["mainGroup"]
2798
- group = main_group.GetChildByName(name)
2799
- if group is None:
2800
- group = PBXGroup({"name": name})
2801
- main_group.AppendChild(group)
2802
-
2803
- return group
2804
-
2805
- # SourceGroup and ProductsGroup are created by default in Xcode's own
2806
- # templates.
2807
- def SourceGroup(self):
2808
- return self._GroupByName("Source")
2809
-
2810
- def ProductsGroup(self):
2811
- return self._GroupByName("Products")
2812
-
2813
- # IntermediatesGroup is used to collect source-like files that are generated
2814
- # by rules or script phases and are placed in intermediate directories such
2815
- # as DerivedSources.
2816
- def IntermediatesGroup(self):
2817
- return self._GroupByName("Intermediates")
2818
-
2819
- # FrameworksGroup and ProjectsGroup are top-level groups used to collect
2820
- # frameworks and projects.
2821
- def FrameworksGroup(self):
2822
- return self._GroupByName("Frameworks")
2823
-
2824
- def ProjectsGroup(self):
2825
- return self._GroupByName("Projects")
2826
-
2827
- def RootGroupForPath(self, path):
2828
- """Returns a PBXGroup child of this object to which path should be added.
2829
-
2830
- This method is intended to choose between SourceGroup and
2831
- IntermediatesGroup on the basis of whether path is present in a source
2832
- directory or an intermediates directory. For the purposes of this
2833
- determination, any path located within a derived file directory such as
2834
- PROJECT_DERIVED_FILE_DIR is treated as being in an intermediates
2835
- directory.
2836
-
2837
- The returned value is a two-element tuple. The first element is the
2838
- PBXGroup, and the second element specifies whether that group should be
2839
- organized hierarchically (True) or as a single flat list (False).
2840
- """
2841
-
2842
- # TODO(mark): make this a class variable and bind to self on call?
2843
- # Also, this list is nowhere near exhaustive.
2844
- # INTERMEDIATE_DIR and SHARED_INTERMEDIATE_DIR are used by
2845
- # gyp.generator.xcode. There should probably be some way for that module
2846
- # to push the names in, rather than having to hard-code them here.
2847
- source_tree_groups = {
2848
- "DERIVED_FILE_DIR": (self.IntermediatesGroup, True),
2849
- "INTERMEDIATE_DIR": (self.IntermediatesGroup, True),
2850
- "PROJECT_DERIVED_FILE_DIR": (self.IntermediatesGroup, True),
2851
- "SHARED_INTERMEDIATE_DIR": (self.IntermediatesGroup, True),
2852
- }
2853
-
2854
- (source_tree, path) = SourceTreeAndPathFromPath(path)
2855
- if source_tree is not None and source_tree in source_tree_groups:
2856
- (group_func, hierarchical) = source_tree_groups[source_tree]
2857
- group = group_func()
2858
- return (group, hierarchical)
2859
-
2860
- # TODO(mark): make additional choices based on file extension.
2861
-
2862
- return (self.SourceGroup(), True)
2863
-
2864
- def AddOrGetFileInRootGroup(self, path):
2865
- """Returns a PBXFileReference corresponding to path in the correct group
2866
- according to RootGroupForPath's heuristics.
2867
-
2868
- If an existing PBXFileReference for path exists, it will be returned.
2869
- Otherwise, one will be created and returned.
2870
- """
2871
-
2872
- (group, hierarchical) = self.RootGroupForPath(path)
2873
- return group.AddOrGetFileByPath(path, hierarchical)
2874
-
2875
- def RootGroupsTakeOverOnlyChildren(self, recurse=False):
2876
- """Calls TakeOverOnlyChild for all groups in the main group."""
2877
-
2878
- for group in self._properties["mainGroup"]._properties["children"]:
2879
- if isinstance(group, PBXGroup):
2880
- group.TakeOverOnlyChild(recurse)
2881
-
2882
- def SortGroups(self):
2883
- # Sort the children of the mainGroup (like "Source" and "Products")
2884
- # according to their defined order.
2885
- self._properties["mainGroup"]._properties["children"] = sorted(
2886
- self._properties["mainGroup"]._properties["children"],
2887
- key=cmp_to_key(lambda x, y: x.CompareRootGroup(y)),
2888
- )
2889
-
2890
- # Sort everything else by putting group before files, and going
2891
- # alphabetically by name within sections of groups and files. SortGroup
2892
- # is recursive.
2893
- for group in self._properties["mainGroup"]._properties["children"]:
2894
- if not isinstance(group, PBXGroup):
2895
- continue
2896
-
2897
- if group.Name() == "Products":
2898
- # The Products group is a special case. Instead of sorting
2899
- # alphabetically, sort things in the order of the targets that
2900
- # produce the products. To do this, just build up a new list of
2901
- # products based on the targets.
2902
- products = []
2903
- for target in self._properties["targets"]:
2904
- if not isinstance(target, PBXNativeTarget):
2905
- continue
2906
- product = target._properties["productReference"]
2907
- # Make sure that the product is already in the products group.
2908
- assert product in group._properties["children"]
2909
- products.append(product)
2910
-
2911
- # Make sure that this process doesn't miss anything that was already
2912
- # in the products group.
2913
- assert len(products) == len(group._properties["children"])
2914
- group._properties["children"] = products
2915
- else:
2916
- group.SortGroup()
2917
-
2918
- def AddOrGetProjectReference(self, other_pbxproject):
2919
- """Add a reference to another project file (via PBXProject object) to this
2920
- one.
2921
-
2922
- Returns [ProductGroup, ProjectRef]. ProductGroup is a PBXGroup object in
2923
- this project file that contains a PBXReferenceProxy object for each
2924
- product of each PBXNativeTarget in the other project file. ProjectRef is
2925
- a PBXFileReference to the other project file.
2926
-
2927
- If this project file already references the other project file, the
2928
- existing ProductGroup and ProjectRef are returned. The ProductGroup will
2929
- still be updated if necessary.
2930
- """
2931
-
2932
- if "projectReferences" not in self._properties:
2933
- self._properties["projectReferences"] = []
2934
-
2935
- product_group = None
2936
- project_ref = None
2937
-
2938
- if other_pbxproject not in self._other_pbxprojects:
2939
- # This project file isn't yet linked to the other one. Establish the
2940
- # link.
2941
- product_group = PBXGroup({"name": "Products"})
2942
-
2943
- # ProductGroup is strong.
2944
- product_group.parent = self
2945
-
2946
- # There's nothing unique about this PBXGroup, and if left alone, it will
2947
- # wind up with the same set of hashables as all other PBXGroup objects
2948
- # owned by the projectReferences list. Add the hashables of the
2949
- # remote PBXProject that it's related to.
2950
- product_group._hashables.extend(other_pbxproject.Hashables())
2951
-
2952
- # The other project reports its path as relative to the same directory
2953
- # that this project's path is relative to. The other project's path
2954
- # is not necessarily already relative to this project. Figure out the
2955
- # pathname that this project needs to use to refer to the other one.
2956
- this_path = posixpath.dirname(self.Path())
2957
- projectDirPath = self.GetProperty("projectDirPath")
2958
- if projectDirPath:
2959
- if posixpath.isabs(projectDirPath[0]):
2960
- this_path = projectDirPath
2961
- else:
2962
- this_path = posixpath.join(this_path, projectDirPath)
2963
- other_path = gyp.common.RelativePath(other_pbxproject.Path(), this_path)
2964
-
2965
- # ProjectRef is weak (it's owned by the mainGroup hierarchy).
2966
- project_ref = PBXFileReference(
2967
- {
2968
- "lastKnownFileType": "wrapper.pb-project",
2969
- "path": other_path,
2970
- "sourceTree": "SOURCE_ROOT",
2971
- }
2972
- )
2973
- self.ProjectsGroup().AppendChild(project_ref)
2974
-
2975
- ref_dict = {"ProductGroup": product_group, "ProjectRef": project_ref}
2976
- self._other_pbxprojects[other_pbxproject] = ref_dict
2977
- self.AppendProperty("projectReferences", ref_dict)
2978
-
2979
- # Xcode seems to sort this list case-insensitively
2980
- self._properties["projectReferences"] = sorted(
2981
- self._properties["projectReferences"],
2982
- key=lambda x: x["ProjectRef"].Name().lower(),
2983
- )
2984
- else:
2985
- # The link already exists. Pull out the relevant data.
2986
- project_ref_dict = self._other_pbxprojects[other_pbxproject]
2987
- product_group = project_ref_dict["ProductGroup"]
2988
- project_ref = project_ref_dict["ProjectRef"]
2989
-
2990
- self._SetUpProductReferences(other_pbxproject, product_group, project_ref)
2991
-
2992
- inherit_unique_symroot = self._AllSymrootsUnique(other_pbxproject, False)
2993
- targets = other_pbxproject.GetProperty("targets")
2994
- if all(self._AllSymrootsUnique(t, inherit_unique_symroot) for t in targets):
2995
- dir_path = project_ref._properties["path"]
2996
- product_group._hashables.extend(dir_path)
2997
-
2998
- return [product_group, project_ref]
2999
-
3000
- def _AllSymrootsUnique(self, target, inherit_unique_symroot):
3001
- # Returns True if all configurations have a unique 'SYMROOT' attribute.
3002
- # The value of inherit_unique_symroot decides, if a configuration is assumed
3003
- # to inherit a unique 'SYMROOT' attribute from its parent, if it doesn't
3004
- # define an explicit value for 'SYMROOT'.
3005
- symroots = self._DefinedSymroots(target)
3006
- for s in self._DefinedSymroots(target):
3007
- if (s is not None and not self._IsUniqueSymrootForTarget(s)) or (
3008
- s is None and not inherit_unique_symroot
3009
- ):
3010
- return False
3011
- return True if symroots else inherit_unique_symroot
3012
-
3013
- def _DefinedSymroots(self, target):
3014
- # Returns all values for the 'SYMROOT' attribute defined in all
3015
- # configurations for this target. If any configuration doesn't define the
3016
- # 'SYMROOT' attribute, None is added to the returned set. If all
3017
- # configurations don't define the 'SYMROOT' attribute, an empty set is
3018
- # returned.
3019
- config_list = target.GetProperty("buildConfigurationList")
3020
- symroots = set()
3021
- for config in config_list.GetProperty("buildConfigurations"):
3022
- setting = config.GetProperty("buildSettings")
3023
- if "SYMROOT" in setting:
3024
- symroots.add(setting["SYMROOT"])
3025
- else:
3026
- symroots.add(None)
3027
- if len(symroots) == 1 and None in symroots:
3028
- return set()
3029
- return symroots
3030
-
3031
- def _IsUniqueSymrootForTarget(self, symroot):
3032
- # This method returns True if all configurations in target contain a
3033
- # 'SYMROOT' attribute that is unique for the given target. A value is
3034
- # unique, if the Xcode macro '$SRCROOT' appears in it in any form.
3035
- uniquifier = ["$SRCROOT", "$(SRCROOT)"]
3036
- if any(x in symroot for x in uniquifier):
3037
- return True
3038
- return False
3039
-
3040
- def _SetUpProductReferences(self, other_pbxproject, product_group, project_ref):
3041
- # TODO(mark): This only adds references to products in other_pbxproject
3042
- # when they don't exist in this pbxproject. Perhaps it should also
3043
- # remove references from this pbxproject that are no longer present in
3044
- # other_pbxproject. Perhaps it should update various properties if they
3045
- # change.
3046
- for target in other_pbxproject._properties["targets"]:
3047
- if not isinstance(target, PBXNativeTarget):
3048
- continue
3049
-
3050
- other_fileref = target._properties["productReference"]
3051
- if product_group.GetChildByRemoteObject(other_fileref) is None:
3052
- # Xcode sets remoteInfo to the name of the target and not the name
3053
- # of its product, despite this proxy being a reference to the product.
3054
- container_item = PBXContainerItemProxy(
3055
- {
3056
- "containerPortal": project_ref,
3057
- "proxyType": 2,
3058
- "remoteGlobalIDString": other_fileref,
3059
- "remoteInfo": target.Name(),
3060
- }
3061
- )
3062
- # TODO(mark): Does sourceTree get copied straight over from the other
3063
- # project? Can the other project ever have lastKnownFileType here
3064
- # instead of explicitFileType? (Use it if so?) Can path ever be
3065
- # unset? (I don't think so.) Can other_fileref have name set, and
3066
- # does it impact the PBXReferenceProxy if so? These are the questions
3067
- # that perhaps will be answered one day.
3068
- reference_proxy = PBXReferenceProxy(
3069
- {
3070
- "fileType": other_fileref._properties["explicitFileType"],
3071
- "path": other_fileref._properties["path"],
3072
- "sourceTree": other_fileref._properties["sourceTree"],
3073
- "remoteRef": container_item,
3074
- }
3075
- )
3076
-
3077
- product_group.AppendChild(reference_proxy)
3078
-
3079
- def SortRemoteProductReferences(self):
3080
- # For each remote project file, sort the associated ProductGroup in the
3081
- # same order that the targets are sorted in the remote project file. This
3082
- # is the sort order used by Xcode.
3083
-
3084
- def CompareProducts(x, y, remote_products):
3085
- # x and y are PBXReferenceProxy objects. Go through their associated
3086
- # PBXContainerItem to get the remote PBXFileReference, which will be
3087
- # present in the remote_products list.
3088
- x_remote = x._properties["remoteRef"]._properties["remoteGlobalIDString"]
3089
- y_remote = y._properties["remoteRef"]._properties["remoteGlobalIDString"]
3090
- x_index = remote_products.index(x_remote)
3091
- y_index = remote_products.index(y_remote)
3092
-
3093
- # Use the order of each remote PBXFileReference in remote_products to
3094
- # determine the sort order.
3095
- return cmp(x_index, y_index)
3096
-
3097
- for other_pbxproject, ref_dict in self._other_pbxprojects.items():
3098
- # Build up a list of products in the remote project file, ordered the
3099
- # same as the targets that produce them.
3100
- remote_products = []
3101
- for target in other_pbxproject._properties["targets"]:
3102
- if not isinstance(target, PBXNativeTarget):
3103
- continue
3104
- remote_products.append(target._properties["productReference"])
3105
-
3106
- # Sort the PBXReferenceProxy children according to the list of remote
3107
- # products.
3108
- product_group = ref_dict["ProductGroup"]
3109
- product_group._properties["children"] = sorted(
3110
- product_group._properties["children"],
3111
- key=cmp_to_key(
3112
- lambda x, y, rp=remote_products: CompareProducts(x, y, rp)
3113
- ),
3114
- )
3115
-
3116
-
3117
- class XCProjectFile(XCObject):
3118
- _schema = XCObject._schema.copy()
3119
- _schema.update(
3120
- {
3121
- "archiveVersion": [0, int, 0, 1, 1],
3122
- "classes": [0, dict, 0, 1, {}],
3123
- "objectVersion": [0, int, 0, 1, 46],
3124
- "rootObject": [0, PBXProject, 1, 1],
3125
- }
3126
- )
3127
-
3128
- def ComputeIDs(self, recursive=True, overwrite=True, hash=None):
3129
- # Although XCProjectFile is implemented here as an XCObject, it's not a
3130
- # proper object in the Xcode sense, and it certainly doesn't have its own
3131
- # ID. Pass through an attempt to update IDs to the real root object.
3132
- if recursive:
3133
- self._properties["rootObject"].ComputeIDs(recursive, overwrite, hash)
3134
-
3135
- def Print(self, file=sys.stdout):
3136
- self.VerifyHasRequiredProperties()
3137
-
3138
- # Add the special "objects" property, which will be caught and handled
3139
- # separately during printing. This structure allows a fairly standard
3140
- # loop do the normal printing.
3141
- self._properties["objects"] = {}
3142
- self._XCPrint(file, 0, "// !$*UTF8*$!\n")
3143
- if self._should_print_single_line:
3144
- self._XCPrint(file, 0, "{ ")
3145
- else:
3146
- self._XCPrint(file, 0, "{\n")
3147
- for property, value in sorted(self._properties.items()):
3148
- if property == "objects":
3149
- self._PrintObjects(file)
3150
- else:
3151
- self._XCKVPrint(file, 1, property, value)
3152
- self._XCPrint(file, 0, "}\n")
3153
- del self._properties["objects"]
3154
-
3155
- def _PrintObjects(self, file):
3156
- if self._should_print_single_line:
3157
- self._XCPrint(file, 0, "objects = {")
3158
- else:
3159
- self._XCPrint(file, 1, "objects = {\n")
3160
-
3161
- objects_by_class = {}
3162
- for object in self.Descendants():
3163
- if object == self:
3164
- continue
3165
- class_name = object.__class__.__name__
3166
- if class_name not in objects_by_class:
3167
- objects_by_class[class_name] = []
3168
- objects_by_class[class_name].append(object)
3169
-
3170
- for class_name in sorted(objects_by_class):
3171
- self._XCPrint(file, 0, "\n")
3172
- self._XCPrint(file, 0, "/* Begin " + class_name + " section */\n")
3173
- for object in sorted(objects_by_class[class_name], key=attrgetter("id")):
3174
- object.Print(file)
3175
- self._XCPrint(file, 0, "/* End " + class_name + " section */\n")
3176
-
3177
- if self._should_print_single_line:
3178
- self._XCPrint(file, 0, "}; ")
3179
- else:
3180
- self._XCPrint(file, 1, "};\n")