@guru-ai-product/ai-product-kit 0.2.251117213210 → 0.2.251118120602

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 (966) hide show
  1. package/package.json +1 -1
  2. package/skills/aipk_aso-new-release/GURU_AI.md +4 -4
  3. package/skills/aipk_development/GURU_AI.md +3 -3
  4. package/skills/aipk_format-requirement-pages-with-design/GURU_AI.md +3 -3
  5. package/skills/aipk_init_project/GURU_AI.md +5 -5
  6. package/skills/aipk_initiative-planning/GURU_AI.md +7 -7
  7. package/skills/aipk_requirements-changes/GURU_AI.md +6 -6
  8. package/skills/aipk_requirements-documentation/GURU_AI.md +15 -15
  9. package/skills/aipk_requirements-intake/GURU_AI.md +9 -9
  10. package/skills/aipk_skill_generate/GURU_AI.md +5 -5
  11. package/skills/aipk_tool_prompts/GURU_AI.md +8 -8
  12. package/skills/aipk_update-requirements-from-design/GURU_AI.md +6 -116
  13. package/mcp/.doc_cache/04980c3595edbf2d_SKILL.md +0 -218
  14. package/mcp/.doc_cache/04e80f12d73851a2_/346/214/207/345/215/227/346/226/207/346/241/243/346/240/207/345/207/206/346/250/241/346/235/277.md +0 -59
  15. package/mcp/.doc_cache/07cc092c31fd7015_/345/267/245/345/205/267/344/275/277/347/224/250/346/214/207/345/215/227/346/250/241/346/235/277.md +0 -106
  16. package/mcp/.doc_cache/09ac9834a831e8b5_/346/212/200/346/234/257/346/226/271/346/241/210/350/257/204/344/274/260/344/270/216/345/217/257/350/241/214/346/200/247/345/210/206/346/236/220/346/250/241/346/235/277.md +0 -72
  17. package/mcp/.doc_cache/0c0570b87cf4a98a_/351/234/200/346/261/202/350/277/255/344/273/243/346/250/241/346/235/277.md +0 -821
  18. package/mcp/.doc_cache/0c284fc4be48dbd3_/346/267/261/345/272/246/347/224/250/346/210/267/350/241/214/344/270/272/344/270/216/351/234/200/346/261/202/346/264/236/345/257/237/346/250/241/346/235/277.md +0 -59
  19. package/mcp/.doc_cache/0da74fe7b9aad548_K12/346/225/260/345/255/246/345/255/246/344/271/240/345/272/224/347/224/250/346/241/210/344/276/213.md +0 -371
  20. package/mcp/.doc_cache/1546780035ed893b_Draft_/344/272/247/345/223/201/351/234/200/346/261/202/350/215/211/347/250/277.md +0 -60
  21. package/mcp/.doc_cache/16d5f6b79f02c65e_/351/234/200/346/261/202/350/277/255/344/273/243/347/264/242/345/274/225.md +0 -30
  22. package/mcp/.doc_cache/1c631acd2940588e_index.md +0 -83
  23. package/mcp/.doc_cache/1e4a829f0abddb00_/344/272/247/345/223/201/350/247/204/345/210/222/346/250/241/346/235/277.md +0 -322
  24. package/mcp/.doc_cache/24f00280e7b9b2c7_index.md +0 -83
  25. package/mcp/.doc_cache/2767e2d4cd6afd5c_/345/225/206/344/270/232/345/214/226/350/247/204/345/210/222/346/250/241/346/235/277.md +0 -201
  26. package/mcp/.doc_cache/276d12074fd7af7d_SKILL.md +0 -243
  27. package/mcp/.doc_cache/2b6b35389546c3b9_SKILL.md +0 -407
  28. package/mcp/.doc_cache/2f45cddfb05ac32c_/351/234/200/346/261/202/350/277/255/344/273/243/347/264/242/345/274/225.md +0 -30
  29. package/mcp/.doc_cache/3086c6d32a0393da_Draft_/347/224/250/346/210/267/346/227/205/347/250/213/350/215/211/347/250/277.md +0 -84
  30. package/mcp/.doc_cache/33cd96cf79c86eaa_K12/346/225/260/345/255/246/345/255/246/344/271/240/345/272/224/347/224/250/346/241/210/344/276/213.md +0 -371
  31. package/mcp/.doc_cache/341909c063335dd2_/351/234/200/346/261/202/345/217/230/345/212/250/350/257/264/346/230/216/347/224/237/346/210/220Prompt.md +0 -349
  32. package/mcp/.doc_cache/3e0dfd0a1b9f6ce7_/344/272/247/345/223/201/351/234/200/346/261/202/345/217/221/347/216/260/344/270/216/351/252/214/350/257/201/346/250/241/346/235/277.md +0 -53
  33. package/mcp/.doc_cache/3eab19b804522d23_SKILL.md +0 -407
  34. package/mcp/.doc_cache/4b671afde6bb1fa8_/351/234/200/346/261/202/345/217/230/345/212/250/350/257/264/346/230/216/347/224/237/346/210/220/346/214/207/345/215/227.md +0 -292
  35. package/mcp/.doc_cache/4c780724e27f6f94_/351/234/200/346/261/202/350/277/255/344/273/243/346/250/241/346/235/277.md +0 -821
  36. package/mcp/.doc_cache/563de023ffa4a630_/345/237/213/347/202/271/350/247/204/350/214/203/346/226/207/346/241/243.md +0 -372
  37. package/mcp/.doc_cache/56975fb92532ee87_2_/345/212/237/350/203/275/351/234/200/346/261/202.md +0 -67
  38. package/mcp/.doc_cache/5a67e1c18353cfca_/345/270/202/345/234/272/346/234/272/344/274/232/350/257/204/344/274/260/344/270/216/347/253/236/344/272/211/345/210/206/346/236/220/346/250/241/346/235/277.md +0 -53
  39. package/mcp/.doc_cache/5b8ba3d67e39371a_SKILL.md +0 -930
  40. package/mcp/.doc_cache/5b91334295d6ad31_SKILL.md +0 -588
  41. package/mcp/.doc_cache/609688b8b4332a01_/351/234/200/346/261/202/345/217/230/345/212/250/350/257/264/346/230/216/346/226/207/346/241/243/346/250/241/346/235/277.md +0 -576
  42. package/mcp/.doc_cache/61a0859a11a562ca_3_/345/225/206/344/270/232/345/214/226/347/255/226/347/225/245.md +0 -131
  43. package/mcp/.doc_cache/6643f4d546c6a03c_/346/267/261/345/272/246/347/224/250/346/210/267/350/241/214/344/270/272/344/270/216/351/234/200/346/261/202/346/264/236/345/257/237/346/250/241/346/235/277.md +0 -59
  44. package/mcp/.doc_cache/674c69479a90ad15_4_/347/224/250/346/210/267/347/225/214/351/235/242/344/270/216/344/275/223/351/252/214.md +0 -665
  45. package/mcp/.doc_cache/674f8b285658055d_/345/270/202/345/234/272/344/270/216/345/225/206/344/270/232/345/210/206/346/236/220/346/250/241/346/235/277.md +0 -176
  46. package/mcp/.doc_cache/6cfccfda6b0e7641_SWOT/345/210/206/346/236/220/346/250/241/346/235/277.md +0 -381
  47. package/mcp/.doc_cache/6fbc13740044659b_1_/344/272/247/345/223/201/345/256/232/344/275/215/344/270/216/345/210/206/346/236/220.md +0 -86
  48. package/mcp/.doc_cache/7842a4e7fe7a3b91_/346/212/200/346/234/257/350/247/204/345/210/222/346/250/241/346/235/277.md +0 -314
  49. package/mcp/.doc_cache/7db63a8354bf8037_2_/345/212/237/350/203/275/351/234/200/346/261/202.md +0 -67
  50. package/mcp/.doc_cache/81528b4e0b12a881_SKILL.md +0 -196
  51. package/mcp/.doc_cache/83d17bdb48d30903_4_/347/224/250/346/210/267/347/225/214/351/235/242/344/270/216/344/275/223/351/252/214.md +0 -665
  52. package/mcp/.doc_cache/88e1d483f18abd02_/345/237/213/347/202/271/350/247/204/350/214/203/346/226/207/346/241/243.md +0 -372
  53. package/mcp/.doc_cache/8f420425062dcb93_SWOT/345/210/206/346/236/220/346/250/241/346/235/277.md +0 -381
  54. package/mcp/.doc_cache/8f981c56b3d4b17d_/345/225/206/344/270/232/345/214/226/350/247/204/345/210/222/346/250/241/346/235/277.md +0 -201
  55. package/mcp/.doc_cache/a3328dcce1521943_/345/270/202/345/234/272/344/270/216/345/225/206/344/270/232/345/210/206/346/236/220/346/250/241/346/235/277.md +0 -176
  56. package/mcp/.doc_cache/a4ef757633f13133_/346/212/200/346/234/257/346/226/271/346/241/210/350/257/204/344/274/260/344/270/216/345/217/257/350/241/214/346/200/247/345/210/206/346/236/220/346/250/241/346/235/277.md +0 -72
  57. package/mcp/.doc_cache/a90401fc94ca29a3_SKILL.md +0 -260
  58. package/mcp/.doc_cache/bad4b7992748a7a0_/344/272/247/345/223/201/351/234/200/346/261/202/345/217/221/347/216/260/344/270/216/351/252/214/350/257/201/346/250/241/346/235/277.md +0 -53
  59. package/mcp/.doc_cache/baeac26fdbcd25de_/344/272/247/345/223/201/350/247/204/345/210/222/346/250/241/346/235/277.md +0 -322
  60. package/mcp/.doc_cache/c58bcfc199ada118_SKILL.md +0 -196
  61. package/mcp/.doc_cache/c8305789db809e48_SKILL.md +0 -588
  62. package/mcp/.doc_cache/cache_mapping.json +0 -69
  63. package/mcp/.doc_cache/d09142514e6a9de0_/347/224/265/345/225/206/345/271/263/345/217/260/344/274/230/345/214/226/346/241/210/344/276/213.md +0 -426
  64. package/mcp/.doc_cache/d165d35fea568d64_/351/234/200/346/261/202/345/217/230/345/212/250/350/257/264/346/230/216/346/226/207/346/241/243/346/250/241/346/235/277.md +0 -576
  65. package/mcp/.doc_cache/d17b04c82d2497b2_/347/224/265/345/225/206/345/271/263/345/217/260/344/274/230/345/214/226/346/241/210/344/276/213.md +0 -426
  66. package/mcp/.doc_cache/d1cfa2f8882fcdf9_/346/214/207/345/215/227/346/226/207/346/241/243/346/240/207/345/207/206/346/250/241/346/235/277.md +0 -59
  67. package/mcp/.doc_cache/d2585b5df3d21fc9_3_/345/225/206/344/270/232/345/214/226/347/255/226/347/225/245.md +0 -131
  68. package/mcp/.doc_cache/d604a1290099121c_/351/234/200/346/261/202/345/217/230/345/212/250/350/257/264/346/230/216/347/224/237/346/210/220/346/214/207/345/215/227.md +0 -292
  69. package/mcp/.doc_cache/d66edce025de6b82_Draft_/344/272/247/345/223/201/351/234/200/346/261/202/350/215/211/347/250/277.md +0 -60
  70. package/mcp/.doc_cache/d6c3ff791e7da726_SKILL.md +0 -33
  71. package/mcp/.doc_cache/da2c3d4d7b8957af_SKILL.md +0 -218
  72. package/mcp/.doc_cache/da8f4d40a1e8f36a_/346/212/200/346/234/257/350/247/204/345/210/222/346/250/241/346/235/277.md +0 -314
  73. package/mcp/.doc_cache/db70562fc59f1658_SKILL.md +0 -260
  74. package/mcp/.doc_cache/dd61f22b0ec13e10_Draft_/347/224/250/346/210/267/346/227/205/347/250/213/350/215/211/347/250/277.md +0 -84
  75. package/mcp/.doc_cache/e1451d5b65894789_SKILL.md +0 -930
  76. package/mcp/.doc_cache/e4f23de1b5313796_1_/344/272/247/345/223/201/345/256/232/344/275/215/344/270/216/345/210/206/346/236/220.md +0 -86
  77. package/mcp/.doc_cache/e668cf08c5f905ca_/345/267/245/345/205/267/344/275/277/347/224/250/346/214/207/345/215/227/346/250/241/346/235/277.md +0 -106
  78. package/mcp/.doc_cache/e69eeaaf88a175df_/345/270/202/345/234/272/346/234/272/344/274/232/350/257/204/344/274/260/344/270/216/347/253/236/344/272/211/345/210/206/346/236/220/346/250/241/346/235/277.md +0 -53
  79. package/mcp/.doc_cache/ea4c5e5a6254f616_SKILL.md +0 -243
  80. package/mcp/.doc_cache/ec9ad6ce24808f0a_/351/234/200/346/261/202/345/217/230/345/212/250/350/257/264/346/230/216/347/224/237/346/210/220Prompt.md +0 -349
  81. package/mcp/node_modules/.package-lock.json +0 -147
  82. package/mcp/node_modules/@modelcontextprotocol/sdk/LICENSE +0 -7
  83. package/mcp/node_modules/@modelcontextprotocol/sdk/README.md +0 -110
  84. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/cli.d.ts +0 -2
  85. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/cli.d.ts.map +0 -1
  86. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/cli.js +0 -129
  87. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/cli.js.map +0 -1
  88. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.d.ts +0 -773
  89. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.d.ts.map +0 -1
  90. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.js +0 -206
  91. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.js.map +0 -1
  92. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.d.ts +0 -2
  93. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.d.ts.map +0 -1
  94. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.js +0 -357
  95. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.js.map +0 -1
  96. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/sse.d.ts +0 -22
  97. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/sse.d.ts.map +0 -1
  98. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/sse.js +0 -91
  99. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/sse.js.map +0 -1
  100. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.d.ts +0 -56
  101. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.d.ts.map +0 -1
  102. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.js +0 -135
  103. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.js.map +0 -1
  104. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.d.ts +0 -2
  105. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.d.ts.map +0 -1
  106. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.js +0 -51
  107. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.js.map +0 -1
  108. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.d.ts +0 -17
  109. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.d.ts.map +0 -1
  110. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.js +0 -61
  111. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.js.map +0 -1
  112. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.d.ts +0 -20
  113. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.d.ts.map +0 -1
  114. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.js +0 -47
  115. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.js.map +0 -1
  116. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.d.ts +0 -2
  117. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.d.ts.map +0 -1
  118. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.js +0 -74
  119. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.js.map +0 -1
  120. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.d.ts +0 -112
  121. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.d.ts.map +0 -1
  122. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.js +0 -182
  123. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.js.map +0 -1
  124. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.d.ts +0 -2
  125. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.d.ts.map +0 -1
  126. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.js +0 -360
  127. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.js.map +0 -1
  128. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/sse.d.ts +0 -46
  129. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/sse.d.ts.map +0 -1
  130. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/sse.js +0 -116
  131. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/sse.js.map +0 -1
  132. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.d.ts +0 -28
  133. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.d.ts.map +0 -1
  134. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js +0 -69
  135. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js.map +0 -1
  136. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.d.ts +0 -2
  137. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.d.ts.map +0 -1
  138. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.js +0 -87
  139. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.js.map +0 -1
  140. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.d.ts +0 -149
  141. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.d.ts.map +0 -1
  142. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.js +0 -274
  143. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.js.map +0 -1
  144. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.d.ts +0 -13
  145. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.d.ts.map +0 -1
  146. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js +0 -31
  147. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js.map +0 -1
  148. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.d.ts +0 -2
  149. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.d.ts.map +0 -1
  150. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.js +0 -27
  151. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.js.map +0 -1
  152. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.d.ts +0 -39
  153. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.d.ts.map +0 -1
  154. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.js +0 -2
  155. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.js.map +0 -1
  156. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/types.d.ts +0 -26424
  157. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/types.d.ts.map +0 -1
  158. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/types.js +0 -996
  159. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/types.js.map +0 -1
  160. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/utils.d.ts +0 -5
  161. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/utils.d.ts.map +0 -1
  162. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/utils.js +0 -11
  163. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/utils.js.map +0 -1
  164. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/utils.test.d.ts +0 -2
  165. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/utils.test.d.ts.map +0 -1
  166. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/utils.test.js +0 -14
  167. package/mcp/node_modules/@modelcontextprotocol/sdk/dist/utils.test.js.map +0 -1
  168. package/mcp/node_modules/@modelcontextprotocol/sdk/package.json +0 -61
  169. package/mcp/node_modules/bytes/History.md +0 -97
  170. package/mcp/node_modules/bytes/LICENSE +0 -23
  171. package/mcp/node_modules/bytes/Readme.md +0 -152
  172. package/mcp/node_modules/bytes/index.js +0 -170
  173. package/mcp/node_modules/bytes/package.json +0 -42
  174. package/mcp/node_modules/content-type/HISTORY.md +0 -29
  175. package/mcp/node_modules/content-type/LICENSE +0 -22
  176. package/mcp/node_modules/content-type/README.md +0 -94
  177. package/mcp/node_modules/content-type/index.js +0 -225
  178. package/mcp/node_modules/content-type/package.json +0 -42
  179. package/mcp/node_modules/depd/History.md +0 -103
  180. package/mcp/node_modules/depd/LICENSE +0 -22
  181. package/mcp/node_modules/depd/Readme.md +0 -280
  182. package/mcp/node_modules/depd/index.js +0 -538
  183. package/mcp/node_modules/depd/lib/browser/index.js +0 -77
  184. package/mcp/node_modules/depd/package.json +0 -45
  185. package/mcp/node_modules/http-errors/HISTORY.md +0 -180
  186. package/mcp/node_modules/http-errors/LICENSE +0 -23
  187. package/mcp/node_modules/http-errors/README.md +0 -169
  188. package/mcp/node_modules/http-errors/index.js +0 -289
  189. package/mcp/node_modules/http-errors/package.json +0 -50
  190. package/mcp/node_modules/iconv-lite/Changelog.md +0 -236
  191. package/mcp/node_modules/iconv-lite/LICENSE +0 -21
  192. package/mcp/node_modules/iconv-lite/README.md +0 -138
  193. package/mcp/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -532
  194. package/mcp/node_modules/iconv-lite/encodings/dbcs-data.js +0 -185
  195. package/mcp/node_modules/iconv-lite/encodings/index.js +0 -23
  196. package/mcp/node_modules/iconv-lite/encodings/internal.js +0 -218
  197. package/mcp/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -75
  198. package/mcp/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  199. package/mcp/node_modules/iconv-lite/encodings/sbcs-data.js +0 -178
  200. package/mcp/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  201. package/mcp/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  202. package/mcp/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  203. package/mcp/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  204. package/mcp/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  205. package/mcp/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  206. package/mcp/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  207. package/mcp/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  208. package/mcp/node_modules/iconv-lite/encodings/utf16.js +0 -187
  209. package/mcp/node_modules/iconv-lite/encodings/utf32.js +0 -307
  210. package/mcp/node_modules/iconv-lite/encodings/utf7.js +0 -283
  211. package/mcp/node_modules/iconv-lite/lib/bom-handling.js +0 -48
  212. package/mcp/node_modules/iconv-lite/lib/helpers/merge-exports.js +0 -13
  213. package/mcp/node_modules/iconv-lite/lib/index.d.ts +0 -41
  214. package/mcp/node_modules/iconv-lite/lib/index.js +0 -183
  215. package/mcp/node_modules/iconv-lite/lib/streams.js +0 -105
  216. package/mcp/node_modules/iconv-lite/package.json +0 -59
  217. package/mcp/node_modules/inherits/LICENSE +0 -16
  218. package/mcp/node_modules/inherits/README.md +0 -42
  219. package/mcp/node_modules/inherits/inherits.js +0 -9
  220. package/mcp/node_modules/inherits/inherits_browser.js +0 -27
  221. package/mcp/node_modules/inherits/package.json +0 -29
  222. package/mcp/node_modules/raw-body/HISTORY.md +0 -333
  223. package/mcp/node_modules/raw-body/LICENSE +0 -22
  224. package/mcp/node_modules/raw-body/README.md +0 -223
  225. package/mcp/node_modules/raw-body/SECURITY.md +0 -24
  226. package/mcp/node_modules/raw-body/index.d.ts +0 -85
  227. package/mcp/node_modules/raw-body/index.js +0 -336
  228. package/mcp/node_modules/raw-body/package.json +0 -50
  229. package/mcp/node_modules/safer-buffer/LICENSE +0 -21
  230. package/mcp/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  231. package/mcp/node_modules/safer-buffer/Readme.md +0 -156
  232. package/mcp/node_modules/safer-buffer/dangerous.js +0 -58
  233. package/mcp/node_modules/safer-buffer/package.json +0 -34
  234. package/mcp/node_modules/safer-buffer/safer.js +0 -77
  235. package/mcp/node_modules/safer-buffer/tests.js +0 -406
  236. package/mcp/node_modules/setprototypeof/LICENSE +0 -13
  237. package/mcp/node_modules/setprototypeof/README.md +0 -31
  238. package/mcp/node_modules/setprototypeof/index.d.ts +0 -2
  239. package/mcp/node_modules/setprototypeof/index.js +0 -17
  240. package/mcp/node_modules/setprototypeof/package.json +0 -38
  241. package/mcp/node_modules/setprototypeof/test/index.js +0 -24
  242. package/mcp/node_modules/statuses/HISTORY.md +0 -82
  243. package/mcp/node_modules/statuses/LICENSE +0 -23
  244. package/mcp/node_modules/statuses/README.md +0 -136
  245. package/mcp/node_modules/statuses/codes.json +0 -65
  246. package/mcp/node_modules/statuses/index.js +0 -146
  247. package/mcp/node_modules/statuses/package.json +0 -49
  248. package/mcp/node_modules/toidentifier/HISTORY.md +0 -9
  249. package/mcp/node_modules/toidentifier/LICENSE +0 -21
  250. package/mcp/node_modules/toidentifier/README.md +0 -61
  251. package/mcp/node_modules/toidentifier/index.js +0 -32
  252. package/mcp/node_modules/toidentifier/package.json +0 -38
  253. package/mcp/node_modules/unpipe/HISTORY.md +0 -4
  254. package/mcp/node_modules/unpipe/LICENSE +0 -22
  255. package/mcp/node_modules/unpipe/README.md +0 -43
  256. package/mcp/node_modules/unpipe/index.js +0 -69
  257. package/mcp/node_modules/unpipe/package.json +0 -27
  258. package/mcp/node_modules/zod/LICENSE +0 -21
  259. package/mcp/node_modules/zod/README.md +0 -208
  260. package/mcp/node_modules/zod/index.cjs +0 -33
  261. package/mcp/node_modules/zod/index.d.cts +0 -4
  262. package/mcp/node_modules/zod/index.d.ts +0 -4
  263. package/mcp/node_modules/zod/index.js +0 -4
  264. package/mcp/node_modules/zod/package.json +0 -118
  265. package/mcp/node_modules/zod/src/index.ts +0 -4
  266. package/mcp/node_modules/zod/src/v3/ZodError.ts +0 -330
  267. package/mcp/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  268. package/mcp/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  269. package/mcp/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  270. package/mcp/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  271. package/mcp/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  272. package/mcp/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  273. package/mcp/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  274. package/mcp/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  275. package/mcp/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  276. package/mcp/node_modules/zod/src/v3/errors.ts +0 -13
  277. package/mcp/node_modules/zod/src/v3/external.ts +0 -6
  278. package/mcp/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  279. package/mcp/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  280. package/mcp/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  281. package/mcp/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  282. package/mcp/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  283. package/mcp/node_modules/zod/src/v3/helpers/util.ts +0 -224
  284. package/mcp/node_modules/zod/src/v3/index.ts +0 -4
  285. package/mcp/node_modules/zod/src/v3/locales/en.ts +0 -124
  286. package/mcp/node_modules/zod/src/v3/standard-schema.ts +0 -113
  287. package/mcp/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  288. package/mcp/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  289. package/mcp/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  290. package/mcp/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  291. package/mcp/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  292. package/mcp/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  293. package/mcp/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  294. package/mcp/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  295. package/mcp/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  296. package/mcp/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  297. package/mcp/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  298. package/mcp/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  299. package/mcp/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  300. package/mcp/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  301. package/mcp/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  302. package/mcp/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  303. package/mcp/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  304. package/mcp/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  305. package/mcp/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  306. package/mcp/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  307. package/mcp/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  308. package/mcp/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  309. package/mcp/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  310. package/mcp/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  311. package/mcp/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  312. package/mcp/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  313. package/mcp/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  314. package/mcp/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  315. package/mcp/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  316. package/mcp/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  317. package/mcp/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  318. package/mcp/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  319. package/mcp/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  320. package/mcp/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  321. package/mcp/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  322. package/mcp/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  323. package/mcp/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  324. package/mcp/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  325. package/mcp/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  326. package/mcp/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  327. package/mcp/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  328. package/mcp/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  329. package/mcp/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  330. package/mcp/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  331. package/mcp/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  332. package/mcp/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  333. package/mcp/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  334. package/mcp/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  335. package/mcp/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  336. package/mcp/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  337. package/mcp/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  338. package/mcp/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  339. package/mcp/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  340. package/mcp/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  341. package/mcp/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  342. package/mcp/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  343. package/mcp/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  344. package/mcp/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  345. package/mcp/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  346. package/mcp/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  347. package/mcp/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  348. package/mcp/node_modules/zod/src/v3/types.ts +0 -5136
  349. package/mcp/node_modules/zod/src/v4/classic/checks.ts +0 -30
  350. package/mcp/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  351. package/mcp/node_modules/zod/src/v4/classic/compat.ts +0 -66
  352. package/mcp/node_modules/zod/src/v4/classic/errors.ts +0 -75
  353. package/mcp/node_modules/zod/src/v4/classic/external.ts +0 -50
  354. package/mcp/node_modules/zod/src/v4/classic/index.ts +0 -5
  355. package/mcp/node_modules/zod/src/v4/classic/iso.ts +0 -90
  356. package/mcp/node_modules/zod/src/v4/classic/parse.ts +0 -33
  357. package/mcp/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  358. package/mcp/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  359. package/mcp/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  360. package/mcp/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  361. package/mcp/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  362. package/mcp/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  363. package/mcp/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  364. package/mcp/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  365. package/mcp/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  366. package/mcp/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  367. package/mcp/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  368. package/mcp/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  369. package/mcp/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  370. package/mcp/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  371. package/mcp/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  372. package/mcp/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  373. package/mcp/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  374. package/mcp/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  375. package/mcp/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  376. package/mcp/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  377. package/mcp/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  378. package/mcp/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  379. package/mcp/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  380. package/mcp/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  381. package/mcp/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  382. package/mcp/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  383. package/mcp/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  384. package/mcp/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  385. package/mcp/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  386. package/mcp/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  387. package/mcp/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  388. package/mcp/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  389. package/mcp/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  390. package/mcp/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  391. package/mcp/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  392. package/mcp/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  393. package/mcp/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  394. package/mcp/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  395. package/mcp/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  396. package/mcp/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  397. package/mcp/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  398. package/mcp/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  399. package/mcp/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  400. package/mcp/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  401. package/mcp/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  402. package/mcp/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  403. package/mcp/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  404. package/mcp/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  405. package/mcp/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  406. package/mcp/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  407. package/mcp/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  408. package/mcp/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  409. package/mcp/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  410. package/mcp/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  411. package/mcp/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  412. package/mcp/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  413. package/mcp/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  414. package/mcp/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  415. package/mcp/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  416. package/mcp/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  417. package/mcp/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  418. package/mcp/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  419. package/mcp/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  420. package/mcp/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  421. package/mcp/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  422. package/mcp/node_modules/zod/src/v4/core/api.ts +0 -1594
  423. package/mcp/node_modules/zod/src/v4/core/checks.ts +0 -1283
  424. package/mcp/node_modules/zod/src/v4/core/config.ts +0 -15
  425. package/mcp/node_modules/zod/src/v4/core/core.ts +0 -134
  426. package/mcp/node_modules/zod/src/v4/core/doc.ts +0 -44
  427. package/mcp/node_modules/zod/src/v4/core/errors.ts +0 -424
  428. package/mcp/node_modules/zod/src/v4/core/function.ts +0 -176
  429. package/mcp/node_modules/zod/src/v4/core/index.ts +0 -15
  430. package/mcp/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  431. package/mcp/node_modules/zod/src/v4/core/parse.ts +0 -94
  432. package/mcp/node_modules/zod/src/v4/core/regexes.ts +0 -135
  433. package/mcp/node_modules/zod/src/v4/core/registries.ts +0 -96
  434. package/mcp/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  435. package/mcp/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  436. package/mcp/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  437. package/mcp/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  438. package/mcp/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  439. package/mcp/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  440. package/mcp/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  441. package/mcp/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  442. package/mcp/node_modules/zod/src/v4/core/util.ts +0 -775
  443. package/mcp/node_modules/zod/src/v4/core/versions.ts +0 -5
  444. package/mcp/node_modules/zod/src/v4/core/zsf.ts +0 -323
  445. package/mcp/node_modules/zod/src/v4/index.ts +0 -4
  446. package/mcp/node_modules/zod/src/v4/locales/ar.ts +0 -125
  447. package/mcp/node_modules/zod/src/v4/locales/az.ts +0 -121
  448. package/mcp/node_modules/zod/src/v4/locales/be.ts +0 -184
  449. package/mcp/node_modules/zod/src/v4/locales/ca.ts +0 -127
  450. package/mcp/node_modules/zod/src/v4/locales/cs.ts +0 -142
  451. package/mcp/node_modules/zod/src/v4/locales/de.ts +0 -124
  452. package/mcp/node_modules/zod/src/v4/locales/en.ts +0 -127
  453. package/mcp/node_modules/zod/src/v4/locales/eo.ts +0 -125
  454. package/mcp/node_modules/zod/src/v4/locales/es.ts +0 -125
  455. package/mcp/node_modules/zod/src/v4/locales/fa.ts +0 -134
  456. package/mcp/node_modules/zod/src/v4/locales/fi.ts +0 -131
  457. package/mcp/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  458. package/mcp/node_modules/zod/src/v4/locales/fr.ts +0 -124
  459. package/mcp/node_modules/zod/src/v4/locales/he.ts +0 -125
  460. package/mcp/node_modules/zod/src/v4/locales/hu.ts +0 -126
  461. package/mcp/node_modules/zod/src/v4/locales/id.ts +0 -125
  462. package/mcp/node_modules/zod/src/v4/locales/index.ts +0 -39
  463. package/mcp/node_modules/zod/src/v4/locales/it.ts +0 -125
  464. package/mcp/node_modules/zod/src/v4/locales/ja.ts +0 -122
  465. package/mcp/node_modules/zod/src/v4/locales/kh.ts +0 -126
  466. package/mcp/node_modules/zod/src/v4/locales/ko.ts +0 -131
  467. package/mcp/node_modules/zod/src/v4/locales/mk.ts +0 -127
  468. package/mcp/node_modules/zod/src/v4/locales/ms.ts +0 -124
  469. package/mcp/node_modules/zod/src/v4/locales/nl.ts +0 -126
  470. package/mcp/node_modules/zod/src/v4/locales/no.ts +0 -124
  471. package/mcp/node_modules/zod/src/v4/locales/ota.ts +0 -125
  472. package/mcp/node_modules/zod/src/v4/locales/pl.ts +0 -126
  473. package/mcp/node_modules/zod/src/v4/locales/ps.ts +0 -133
  474. package/mcp/node_modules/zod/src/v4/locales/pt.ts +0 -123
  475. package/mcp/node_modules/zod/src/v4/locales/ru.ts +0 -184
  476. package/mcp/node_modules/zod/src/v4/locales/sl.ts +0 -126
  477. package/mcp/node_modules/zod/src/v4/locales/sv.ts +0 -127
  478. package/mcp/node_modules/zod/src/v4/locales/ta.ts +0 -125
  479. package/mcp/node_modules/zod/src/v4/locales/th.ts +0 -126
  480. package/mcp/node_modules/zod/src/v4/locales/tr.ts +0 -121
  481. package/mcp/node_modules/zod/src/v4/locales/ua.ts +0 -126
  482. package/mcp/node_modules/zod/src/v4/locales/ur.ts +0 -126
  483. package/mcp/node_modules/zod/src/v4/locales/vi.ts +0 -125
  484. package/mcp/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  485. package/mcp/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  486. package/mcp/node_modules/zod/src/v4/mini/checks.ts +0 -32
  487. package/mcp/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  488. package/mcp/node_modules/zod/src/v4/mini/external.ts +0 -40
  489. package/mcp/node_modules/zod/src/v4/mini/index.ts +0 -3
  490. package/mcp/node_modules/zod/src/v4/mini/iso.ts +0 -62
  491. package/mcp/node_modules/zod/src/v4/mini/parse.ts +0 -1
  492. package/mcp/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  493. package/mcp/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  494. package/mcp/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  495. package/mcp/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  496. package/mcp/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  497. package/mcp/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  498. package/mcp/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  499. package/mcp/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  500. package/mcp/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  501. package/mcp/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  502. package/mcp/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  503. package/mcp/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  504. package/mcp/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  505. package/mcp/node_modules/zod/src/v4-mini/index.ts +0 -1
  506. package/mcp/node_modules/zod/v3/ZodError.cjs +0 -138
  507. package/mcp/node_modules/zod/v3/ZodError.d.cts +0 -164
  508. package/mcp/node_modules/zod/v3/ZodError.d.ts +0 -164
  509. package/mcp/node_modules/zod/v3/ZodError.js +0 -133
  510. package/mcp/node_modules/zod/v3/errors.cjs +0 -17
  511. package/mcp/node_modules/zod/v3/errors.d.cts +0 -5
  512. package/mcp/node_modules/zod/v3/errors.d.ts +0 -5
  513. package/mcp/node_modules/zod/v3/errors.js +0 -9
  514. package/mcp/node_modules/zod/v3/external.cjs +0 -22
  515. package/mcp/node_modules/zod/v3/external.d.cts +0 -6
  516. package/mcp/node_modules/zod/v3/external.d.ts +0 -6
  517. package/mcp/node_modules/zod/v3/external.js +0 -6
  518. package/mcp/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  519. package/mcp/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  520. package/mcp/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  521. package/mcp/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  522. package/mcp/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  523. package/mcp/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  524. package/mcp/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  525. package/mcp/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  526. package/mcp/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  527. package/mcp/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  528. package/mcp/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  529. package/mcp/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  530. package/mcp/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  531. package/mcp/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  532. package/mcp/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  533. package/mcp/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  534. package/mcp/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  535. package/mcp/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  536. package/mcp/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  537. package/mcp/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  538. package/mcp/node_modules/zod/v3/helpers/util.cjs +0 -137
  539. package/mcp/node_modules/zod/v3/helpers/util.d.cts +0 -85
  540. package/mcp/node_modules/zod/v3/helpers/util.d.ts +0 -85
  541. package/mcp/node_modules/zod/v3/helpers/util.js +0 -133
  542. package/mcp/node_modules/zod/v3/index.cjs +0 -33
  543. package/mcp/node_modules/zod/v3/index.d.cts +0 -4
  544. package/mcp/node_modules/zod/v3/index.d.ts +0 -4
  545. package/mcp/node_modules/zod/v3/index.js +0 -4
  546. package/mcp/node_modules/zod/v3/locales/en.cjs +0 -111
  547. package/mcp/node_modules/zod/v3/locales/en.d.cts +0 -3
  548. package/mcp/node_modules/zod/v3/locales/en.d.ts +0 -3
  549. package/mcp/node_modules/zod/v3/locales/en.js +0 -109
  550. package/mcp/node_modules/zod/v3/standard-schema.cjs +0 -2
  551. package/mcp/node_modules/zod/v3/standard-schema.d.cts +0 -102
  552. package/mcp/node_modules/zod/v3/standard-schema.d.ts +0 -102
  553. package/mcp/node_modules/zod/v3/standard-schema.js +0 -1
  554. package/mcp/node_modules/zod/v3/types.cjs +0 -3775
  555. package/mcp/node_modules/zod/v3/types.d.cts +0 -1031
  556. package/mcp/node_modules/zod/v3/types.d.ts +0 -1031
  557. package/mcp/node_modules/zod/v3/types.js +0 -3693
  558. package/mcp/node_modules/zod/v4/classic/checks.cjs +0 -32
  559. package/mcp/node_modules/zod/v4/classic/checks.d.cts +0 -1
  560. package/mcp/node_modules/zod/v4/classic/checks.d.ts +0 -1
  561. package/mcp/node_modules/zod/v4/classic/checks.js +0 -1
  562. package/mcp/node_modules/zod/v4/classic/coerce.cjs +0 -47
  563. package/mcp/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  564. package/mcp/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  565. package/mcp/node_modules/zod/v4/classic/coerce.js +0 -17
  566. package/mcp/node_modules/zod/v4/classic/compat.cjs +0 -57
  567. package/mcp/node_modules/zod/v4/classic/compat.d.cts +0 -46
  568. package/mcp/node_modules/zod/v4/classic/compat.d.ts +0 -46
  569. package/mcp/node_modules/zod/v4/classic/compat.js +0 -27
  570. package/mcp/node_modules/zod/v4/classic/errors.cjs +0 -67
  571. package/mcp/node_modules/zod/v4/classic/errors.d.cts +0 -30
  572. package/mcp/node_modules/zod/v4/classic/errors.d.ts +0 -30
  573. package/mcp/node_modules/zod/v4/classic/errors.js +0 -41
  574. package/mcp/node_modules/zod/v4/classic/external.cjs +0 -70
  575. package/mcp/node_modules/zod/v4/classic/external.d.cts +0 -13
  576. package/mcp/node_modules/zod/v4/classic/external.d.ts +0 -13
  577. package/mcp/node_modules/zod/v4/classic/external.js +0 -18
  578. package/mcp/node_modules/zod/v4/classic/index.cjs +0 -33
  579. package/mcp/node_modules/zod/v4/classic/index.d.cts +0 -4
  580. package/mcp/node_modules/zod/v4/classic/index.d.ts +0 -4
  581. package/mcp/node_modules/zod/v4/classic/index.js +0 -4
  582. package/mcp/node_modules/zod/v4/classic/iso.cjs +0 -60
  583. package/mcp/node_modules/zod/v4/classic/iso.d.cts +0 -22
  584. package/mcp/node_modules/zod/v4/classic/iso.d.ts +0 -22
  585. package/mcp/node_modules/zod/v4/classic/iso.js +0 -30
  586. package/mcp/node_modules/zod/v4/classic/parse.cjs +0 -32
  587. package/mcp/node_modules/zod/v4/classic/parse.d.cts +0 -23
  588. package/mcp/node_modules/zod/v4/classic/parse.d.ts +0 -23
  589. package/mcp/node_modules/zod/v4/classic/parse.js +0 -6
  590. package/mcp/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  591. package/mcp/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  592. package/mcp/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  593. package/mcp/node_modules/zod/v4/classic/schemas.js +0 -1006
  594. package/mcp/node_modules/zod/v4/core/api.cjs +0 -1039
  595. package/mcp/node_modules/zod/v4/core/api.d.cts +0 -284
  596. package/mcp/node_modules/zod/v4/core/api.d.ts +0 -284
  597. package/mcp/node_modules/zod/v4/core/api.js +0 -906
  598. package/mcp/node_modules/zod/v4/core/checks.cjs +0 -591
  599. package/mcp/node_modules/zod/v4/core/checks.d.cts +0 -278
  600. package/mcp/node_modules/zod/v4/core/checks.d.ts +0 -278
  601. package/mcp/node_modules/zod/v4/core/checks.js +0 -565
  602. package/mcp/node_modules/zod/v4/core/core.cjs +0 -67
  603. package/mcp/node_modules/zod/v4/core/core.d.cts +0 -49
  604. package/mcp/node_modules/zod/v4/core/core.d.ts +0 -49
  605. package/mcp/node_modules/zod/v4/core/core.js +0 -61
  606. package/mcp/node_modules/zod/v4/core/doc.cjs +0 -39
  607. package/mcp/node_modules/zod/v4/core/doc.d.cts +0 -14
  608. package/mcp/node_modules/zod/v4/core/doc.d.ts +0 -14
  609. package/mcp/node_modules/zod/v4/core/doc.js +0 -35
  610. package/mcp/node_modules/zod/v4/core/errors.cjs +0 -226
  611. package/mcp/node_modules/zod/v4/core/errors.d.cts +0 -208
  612. package/mcp/node_modules/zod/v4/core/errors.d.ts +0 -208
  613. package/mcp/node_modules/zod/v4/core/errors.js +0 -195
  614. package/mcp/node_modules/zod/v4/core/function.cjs +0 -102
  615. package/mcp/node_modules/zod/v4/core/function.d.cts +0 -52
  616. package/mcp/node_modules/zod/v4/core/function.d.ts +0 -52
  617. package/mcp/node_modules/zod/v4/core/function.js +0 -75
  618. package/mcp/node_modules/zod/v4/core/index.cjs +0 -44
  619. package/mcp/node_modules/zod/v4/core/index.d.cts +0 -15
  620. package/mcp/node_modules/zod/v4/core/index.d.ts +0 -15
  621. package/mcp/node_modules/zod/v4/core/index.js +0 -15
  622. package/mcp/node_modules/zod/v4/core/json-schema.cjs +0 -2
  623. package/mcp/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  624. package/mcp/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  625. package/mcp/node_modules/zod/v4/core/json-schema.js +0 -1
  626. package/mcp/node_modules/zod/v4/core/parse.cjs +0 -87
  627. package/mcp/node_modules/zod/v4/core/parse.d.cts +0 -25
  628. package/mcp/node_modules/zod/v4/core/parse.d.ts +0 -25
  629. package/mcp/node_modules/zod/v4/core/parse.js +0 -57
  630. package/mcp/node_modules/zod/v4/core/regexes.cjs +0 -103
  631. package/mcp/node_modules/zod/v4/core/regexes.d.cts +0 -62
  632. package/mcp/node_modules/zod/v4/core/regexes.d.ts +0 -62
  633. package/mcp/node_modules/zod/v4/core/regexes.js +0 -95
  634. package/mcp/node_modules/zod/v4/core/registries.cjs +0 -56
  635. package/mcp/node_modules/zod/v4/core/registries.d.cts +0 -35
  636. package/mcp/node_modules/zod/v4/core/registries.d.ts +0 -35
  637. package/mcp/node_modules/zod/v4/core/registries.js +0 -51
  638. package/mcp/node_modules/zod/v4/core/schemas.cjs +0 -1748
  639. package/mcp/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  640. package/mcp/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  641. package/mcp/node_modules/zod/v4/core/schemas.js +0 -1717
  642. package/mcp/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  643. package/mcp/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  644. package/mcp/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  645. package/mcp/node_modules/zod/v4/core/standard-schema.js +0 -1
  646. package/mcp/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  647. package/mcp/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  648. package/mcp/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  649. package/mcp/node_modules/zod/v4/core/to-json-schema.js +0 -849
  650. package/mcp/node_modules/zod/v4/core/util.cjs +0 -539
  651. package/mcp/node_modules/zod/v4/core/util.d.cts +0 -183
  652. package/mcp/node_modules/zod/v4/core/util.d.ts +0 -183
  653. package/mcp/node_modules/zod/v4/core/util.js +0 -493
  654. package/mcp/node_modules/zod/v4/core/versions.cjs +0 -8
  655. package/mcp/node_modules/zod/v4/core/versions.d.cts +0 -5
  656. package/mcp/node_modules/zod/v4/core/versions.d.ts +0 -5
  657. package/mcp/node_modules/zod/v4/core/versions.js +0 -5
  658. package/mcp/node_modules/zod/v4/index.cjs +0 -22
  659. package/mcp/node_modules/zod/v4/index.d.cts +0 -3
  660. package/mcp/node_modules/zod/v4/index.d.ts +0 -3
  661. package/mcp/node_modules/zod/v4/index.js +0 -3
  662. package/mcp/node_modules/zod/v4/locales/ar.cjs +0 -142
  663. package/mcp/node_modules/zod/v4/locales/ar.d.cts +0 -4
  664. package/mcp/node_modules/zod/v4/locales/ar.d.ts +0 -4
  665. package/mcp/node_modules/zod/v4/locales/ar.js +0 -116
  666. package/mcp/node_modules/zod/v4/locales/az.cjs +0 -141
  667. package/mcp/node_modules/zod/v4/locales/az.d.cts +0 -4
  668. package/mcp/node_modules/zod/v4/locales/az.d.ts +0 -4
  669. package/mcp/node_modules/zod/v4/locales/az.js +0 -115
  670. package/mcp/node_modules/zod/v4/locales/be.cjs +0 -190
  671. package/mcp/node_modules/zod/v4/locales/be.d.cts +0 -4
  672. package/mcp/node_modules/zod/v4/locales/be.d.ts +0 -4
  673. package/mcp/node_modules/zod/v4/locales/be.js +0 -164
  674. package/mcp/node_modules/zod/v4/locales/ca.cjs +0 -144
  675. package/mcp/node_modules/zod/v4/locales/ca.d.cts +0 -4
  676. package/mcp/node_modules/zod/v4/locales/ca.d.ts +0 -4
  677. package/mcp/node_modules/zod/v4/locales/ca.js +0 -118
  678. package/mcp/node_modules/zod/v4/locales/cs.cjs +0 -161
  679. package/mcp/node_modules/zod/v4/locales/cs.d.cts +0 -4
  680. package/mcp/node_modules/zod/v4/locales/cs.d.ts +0 -4
  681. package/mcp/node_modules/zod/v4/locales/cs.js +0 -135
  682. package/mcp/node_modules/zod/v4/locales/de.cjs +0 -142
  683. package/mcp/node_modules/zod/v4/locales/de.d.cts +0 -4
  684. package/mcp/node_modules/zod/v4/locales/de.d.ts +0 -4
  685. package/mcp/node_modules/zod/v4/locales/de.js +0 -116
  686. package/mcp/node_modules/zod/v4/locales/en.cjs +0 -145
  687. package/mcp/node_modules/zod/v4/locales/en.d.cts +0 -5
  688. package/mcp/node_modules/zod/v4/locales/en.d.ts +0 -5
  689. package/mcp/node_modules/zod/v4/locales/en.js +0 -117
  690. package/mcp/node_modules/zod/v4/locales/eo.cjs +0 -144
  691. package/mcp/node_modules/zod/v4/locales/eo.d.cts +0 -5
  692. package/mcp/node_modules/zod/v4/locales/eo.d.ts +0 -5
  693. package/mcp/node_modules/zod/v4/locales/eo.js +0 -116
  694. package/mcp/node_modules/zod/v4/locales/es.cjs +0 -143
  695. package/mcp/node_modules/zod/v4/locales/es.d.cts +0 -4
  696. package/mcp/node_modules/zod/v4/locales/es.d.ts +0 -4
  697. package/mcp/node_modules/zod/v4/locales/es.js +0 -117
  698. package/mcp/node_modules/zod/v4/locales/fa.cjs +0 -148
  699. package/mcp/node_modules/zod/v4/locales/fa.d.cts +0 -4
  700. package/mcp/node_modules/zod/v4/locales/fa.d.ts +0 -4
  701. package/mcp/node_modules/zod/v4/locales/fa.js +0 -122
  702. package/mcp/node_modules/zod/v4/locales/fi.cjs +0 -148
  703. package/mcp/node_modules/zod/v4/locales/fi.d.cts +0 -4
  704. package/mcp/node_modules/zod/v4/locales/fi.d.ts +0 -4
  705. package/mcp/node_modules/zod/v4/locales/fi.js +0 -122
  706. package/mcp/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  707. package/mcp/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  708. package/mcp/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  709. package/mcp/node_modules/zod/v4/locales/fr-CA.js +0 -117
  710. package/mcp/node_modules/zod/v4/locales/fr.cjs +0 -142
  711. package/mcp/node_modules/zod/v4/locales/fr.d.cts +0 -4
  712. package/mcp/node_modules/zod/v4/locales/fr.d.ts +0 -4
  713. package/mcp/node_modules/zod/v4/locales/fr.js +0 -116
  714. package/mcp/node_modules/zod/v4/locales/he.cjs +0 -143
  715. package/mcp/node_modules/zod/v4/locales/he.d.cts +0 -4
  716. package/mcp/node_modules/zod/v4/locales/he.d.ts +0 -4
  717. package/mcp/node_modules/zod/v4/locales/he.js +0 -117
  718. package/mcp/node_modules/zod/v4/locales/hu.cjs +0 -143
  719. package/mcp/node_modules/zod/v4/locales/hu.d.cts +0 -4
  720. package/mcp/node_modules/zod/v4/locales/hu.d.ts +0 -4
  721. package/mcp/node_modules/zod/v4/locales/hu.js +0 -117
  722. package/mcp/node_modules/zod/v4/locales/id.cjs +0 -142
  723. package/mcp/node_modules/zod/v4/locales/id.d.cts +0 -4
  724. package/mcp/node_modules/zod/v4/locales/id.d.ts +0 -4
  725. package/mcp/node_modules/zod/v4/locales/id.js +0 -116
  726. package/mcp/node_modules/zod/v4/locales/index.cjs +0 -84
  727. package/mcp/node_modules/zod/v4/locales/index.d.cts +0 -39
  728. package/mcp/node_modules/zod/v4/locales/index.d.ts +0 -39
  729. package/mcp/node_modules/zod/v4/locales/index.js +0 -39
  730. package/mcp/node_modules/zod/v4/locales/it.cjs +0 -143
  731. package/mcp/node_modules/zod/v4/locales/it.d.cts +0 -4
  732. package/mcp/node_modules/zod/v4/locales/it.d.ts +0 -4
  733. package/mcp/node_modules/zod/v4/locales/it.js +0 -117
  734. package/mcp/node_modules/zod/v4/locales/ja.cjs +0 -141
  735. package/mcp/node_modules/zod/v4/locales/ja.d.cts +0 -4
  736. package/mcp/node_modules/zod/v4/locales/ja.d.ts +0 -4
  737. package/mcp/node_modules/zod/v4/locales/ja.js +0 -115
  738. package/mcp/node_modules/zod/v4/locales/kh.cjs +0 -143
  739. package/mcp/node_modules/zod/v4/locales/kh.d.cts +0 -4
  740. package/mcp/node_modules/zod/v4/locales/kh.d.ts +0 -4
  741. package/mcp/node_modules/zod/v4/locales/kh.js +0 -117
  742. package/mcp/node_modules/zod/v4/locales/ko.cjs +0 -147
  743. package/mcp/node_modules/zod/v4/locales/ko.d.cts +0 -4
  744. package/mcp/node_modules/zod/v4/locales/ko.d.ts +0 -4
  745. package/mcp/node_modules/zod/v4/locales/ko.js +0 -121
  746. package/mcp/node_modules/zod/v4/locales/mk.cjs +0 -144
  747. package/mcp/node_modules/zod/v4/locales/mk.d.cts +0 -4
  748. package/mcp/node_modules/zod/v4/locales/mk.d.ts +0 -4
  749. package/mcp/node_modules/zod/v4/locales/mk.js +0 -118
  750. package/mcp/node_modules/zod/v4/locales/ms.cjs +0 -142
  751. package/mcp/node_modules/zod/v4/locales/ms.d.cts +0 -4
  752. package/mcp/node_modules/zod/v4/locales/ms.d.ts +0 -4
  753. package/mcp/node_modules/zod/v4/locales/ms.js +0 -116
  754. package/mcp/node_modules/zod/v4/locales/nl.cjs +0 -143
  755. package/mcp/node_modules/zod/v4/locales/nl.d.cts +0 -4
  756. package/mcp/node_modules/zod/v4/locales/nl.d.ts +0 -4
  757. package/mcp/node_modules/zod/v4/locales/nl.js +0 -117
  758. package/mcp/node_modules/zod/v4/locales/no.cjs +0 -142
  759. package/mcp/node_modules/zod/v4/locales/no.d.cts +0 -4
  760. package/mcp/node_modules/zod/v4/locales/no.d.ts +0 -4
  761. package/mcp/node_modules/zod/v4/locales/no.js +0 -116
  762. package/mcp/node_modules/zod/v4/locales/ota.cjs +0 -143
  763. package/mcp/node_modules/zod/v4/locales/ota.d.cts +0 -4
  764. package/mcp/node_modules/zod/v4/locales/ota.d.ts +0 -4
  765. package/mcp/node_modules/zod/v4/locales/ota.js +0 -117
  766. package/mcp/node_modules/zod/v4/locales/pl.cjs +0 -143
  767. package/mcp/node_modules/zod/v4/locales/pl.d.cts +0 -4
  768. package/mcp/node_modules/zod/v4/locales/pl.d.ts +0 -4
  769. package/mcp/node_modules/zod/v4/locales/pl.js +0 -117
  770. package/mcp/node_modules/zod/v4/locales/ps.cjs +0 -148
  771. package/mcp/node_modules/zod/v4/locales/ps.d.cts +0 -4
  772. package/mcp/node_modules/zod/v4/locales/ps.d.ts +0 -4
  773. package/mcp/node_modules/zod/v4/locales/ps.js +0 -122
  774. package/mcp/node_modules/zod/v4/locales/pt.cjs +0 -142
  775. package/mcp/node_modules/zod/v4/locales/pt.d.cts +0 -4
  776. package/mcp/node_modules/zod/v4/locales/pt.d.ts +0 -4
  777. package/mcp/node_modules/zod/v4/locales/pt.js +0 -116
  778. package/mcp/node_modules/zod/v4/locales/ru.cjs +0 -190
  779. package/mcp/node_modules/zod/v4/locales/ru.d.cts +0 -4
  780. package/mcp/node_modules/zod/v4/locales/ru.d.ts +0 -4
  781. package/mcp/node_modules/zod/v4/locales/ru.js +0 -164
  782. package/mcp/node_modules/zod/v4/locales/sl.cjs +0 -143
  783. package/mcp/node_modules/zod/v4/locales/sl.d.cts +0 -4
  784. package/mcp/node_modules/zod/v4/locales/sl.d.ts +0 -4
  785. package/mcp/node_modules/zod/v4/locales/sl.js +0 -117
  786. package/mcp/node_modules/zod/v4/locales/sv.cjs +0 -144
  787. package/mcp/node_modules/zod/v4/locales/sv.d.cts +0 -4
  788. package/mcp/node_modules/zod/v4/locales/sv.d.ts +0 -4
  789. package/mcp/node_modules/zod/v4/locales/sv.js +0 -118
  790. package/mcp/node_modules/zod/v4/locales/ta.cjs +0 -143
  791. package/mcp/node_modules/zod/v4/locales/ta.d.cts +0 -4
  792. package/mcp/node_modules/zod/v4/locales/ta.d.ts +0 -4
  793. package/mcp/node_modules/zod/v4/locales/ta.js +0 -117
  794. package/mcp/node_modules/zod/v4/locales/th.cjs +0 -143
  795. package/mcp/node_modules/zod/v4/locales/th.d.cts +0 -4
  796. package/mcp/node_modules/zod/v4/locales/th.d.ts +0 -4
  797. package/mcp/node_modules/zod/v4/locales/th.js +0 -117
  798. package/mcp/node_modules/zod/v4/locales/tr.cjs +0 -143
  799. package/mcp/node_modules/zod/v4/locales/tr.d.cts +0 -5
  800. package/mcp/node_modules/zod/v4/locales/tr.d.ts +0 -5
  801. package/mcp/node_modules/zod/v4/locales/tr.js +0 -115
  802. package/mcp/node_modules/zod/v4/locales/ua.cjs +0 -143
  803. package/mcp/node_modules/zod/v4/locales/ua.d.cts +0 -4
  804. package/mcp/node_modules/zod/v4/locales/ua.d.ts +0 -4
  805. package/mcp/node_modules/zod/v4/locales/ua.js +0 -117
  806. package/mcp/node_modules/zod/v4/locales/ur.cjs +0 -143
  807. package/mcp/node_modules/zod/v4/locales/ur.d.cts +0 -4
  808. package/mcp/node_modules/zod/v4/locales/ur.d.ts +0 -4
  809. package/mcp/node_modules/zod/v4/locales/ur.js +0 -117
  810. package/mcp/node_modules/zod/v4/locales/vi.cjs +0 -142
  811. package/mcp/node_modules/zod/v4/locales/vi.d.cts +0 -4
  812. package/mcp/node_modules/zod/v4/locales/vi.d.ts +0 -4
  813. package/mcp/node_modules/zod/v4/locales/vi.js +0 -116
  814. package/mcp/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  815. package/mcp/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  816. package/mcp/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  817. package/mcp/node_modules/zod/v4/locales/zh-CN.js +0 -116
  818. package/mcp/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  819. package/mcp/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  820. package/mcp/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  821. package/mcp/node_modules/zod/v4/locales/zh-TW.js +0 -117
  822. package/mcp/node_modules/zod/v4/mini/checks.cjs +0 -34
  823. package/mcp/node_modules/zod/v4/mini/checks.d.cts +0 -1
  824. package/mcp/node_modules/zod/v4/mini/checks.d.ts +0 -1
  825. package/mcp/node_modules/zod/v4/mini/checks.js +0 -1
  826. package/mcp/node_modules/zod/v4/mini/coerce.cjs +0 -47
  827. package/mcp/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  828. package/mcp/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  829. package/mcp/node_modules/zod/v4/mini/coerce.js +0 -17
  830. package/mcp/node_modules/zod/v4/mini/external.cjs +0 -62
  831. package/mcp/node_modules/zod/v4/mini/external.d.cts +0 -11
  832. package/mcp/node_modules/zod/v4/mini/external.d.ts +0 -11
  833. package/mcp/node_modules/zod/v4/mini/external.js +0 -13
  834. package/mcp/node_modules/zod/v4/mini/index.cjs +0 -32
  835. package/mcp/node_modules/zod/v4/mini/index.d.cts +0 -3
  836. package/mcp/node_modules/zod/v4/mini/index.d.ts +0 -3
  837. package/mcp/node_modules/zod/v4/mini/index.js +0 -3
  838. package/mcp/node_modules/zod/v4/mini/iso.cjs +0 -60
  839. package/mcp/node_modules/zod/v4/mini/iso.d.cts +0 -22
  840. package/mcp/node_modules/zod/v4/mini/iso.d.ts +0 -22
  841. package/mcp/node_modules/zod/v4/mini/iso.js +0 -30
  842. package/mcp/node_modules/zod/v4/mini/parse.cjs +0 -8
  843. package/mcp/node_modules/zod/v4/mini/parse.d.cts +0 -1
  844. package/mcp/node_modules/zod/v4/mini/parse.d.ts +0 -1
  845. package/mcp/node_modules/zod/v4/mini/parse.js +0 -1
  846. package/mcp/node_modules/zod/v4/mini/schemas.cjs +0 -839
  847. package/mcp/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  848. package/mcp/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  849. package/mcp/node_modules/zod/v4/mini/schemas.js +0 -732
  850. package/mcp/node_modules/zod/v4-mini/index.cjs +0 -17
  851. package/mcp/node_modules/zod/v4-mini/index.d.cts +0 -1
  852. package/mcp/node_modules/zod/v4-mini/index.d.ts +0 -1
  853. package/mcp/node_modules/zod/v4-mini/index.js +0 -1
  854. package/mcp/src/__pycache__/server.cpython-312.pyc +0 -0
  855. package/mcp/src/__pycache__/server_core.cpython-312.pyc +0 -0
  856. package/mcp/test/__pycache__/test_server.cpython-312-pytest-8.4.1.pyc +0 -0
  857. package/mcp/test/__pycache__/test_server.cpython-312.pyc +0 -0
  858. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/.package-lock.json +0 -113
  859. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/colour/LICENSE.md +0 -82
  860. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/colour/README.md +0 -15
  861. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/colour/color.cjs +0 -1594
  862. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/colour/index.cjs +0 -1
  863. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/colour/package.json +0 -45
  864. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/sharp-darwin-arm64/LICENSE +0 -191
  865. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/sharp-darwin-arm64/README.md +0 -18
  866. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
  867. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/sharp-darwin-arm64/package.json +0 -40
  868. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/sharp-libvips-darwin-arm64/README.md +0 -46
  869. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +0 -220
  870. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js +0 -1
  871. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib +0 -0
  872. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/sharp-libvips-darwin-arm64/package.json +0 -36
  873. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +0 -30
  874. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/detect-libc/LICENSE +0 -201
  875. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/detect-libc/README.md +0 -163
  876. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/detect-libc/index.d.ts +0 -14
  877. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/detect-libc/lib/detect-libc.js +0 -313
  878. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/detect-libc/lib/elf.js +0 -39
  879. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/detect-libc/lib/filesystem.js +0 -51
  880. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/detect-libc/lib/process.js +0 -24
  881. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/detect-libc/package.json +0 -44
  882. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/LICENSE +0 -15
  883. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/README.md +0 -664
  884. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/bin/semver.js +0 -191
  885. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/classes/comparator.js +0 -143
  886. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/classes/index.js +0 -7
  887. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/classes/range.js +0 -557
  888. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/classes/semver.js +0 -333
  889. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/clean.js +0 -8
  890. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/cmp.js +0 -54
  891. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/coerce.js +0 -62
  892. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/compare-build.js +0 -9
  893. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/compare-loose.js +0 -5
  894. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/compare.js +0 -7
  895. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/diff.js +0 -60
  896. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/eq.js +0 -5
  897. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/gt.js +0 -5
  898. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/gte.js +0 -5
  899. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/inc.js +0 -21
  900. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/lt.js +0 -5
  901. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/lte.js +0 -5
  902. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/major.js +0 -5
  903. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/minor.js +0 -5
  904. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/neq.js +0 -5
  905. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/parse.js +0 -18
  906. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/patch.js +0 -5
  907. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/prerelease.js +0 -8
  908. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/rcompare.js +0 -5
  909. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/rsort.js +0 -5
  910. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/satisfies.js +0 -12
  911. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/sort.js +0 -5
  912. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/functions/valid.js +0 -8
  913. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/index.js +0 -91
  914. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/internal/constants.js +0 -37
  915. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/internal/debug.js +0 -11
  916. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/internal/identifiers.js +0 -29
  917. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/internal/lrucache.js +0 -42
  918. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/internal/parse-options.js +0 -17
  919. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/internal/re.js +0 -223
  920. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/package.json +0 -78
  921. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/preload.js +0 -4
  922. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/range.bnf +0 -16
  923. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/ranges/gtr.js +0 -6
  924. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/ranges/intersects.js +0 -9
  925. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/ranges/ltr.js +0 -6
  926. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/ranges/max-satisfying.js +0 -27
  927. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/ranges/min-satisfying.js +0 -26
  928. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/ranges/min-version.js +0 -63
  929. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/ranges/outside.js +0 -82
  930. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/ranges/simplify.js +0 -49
  931. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/ranges/subset.js +0 -249
  932. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/ranges/to-comparators.js +0 -10
  933. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/semver/ranges/valid.js +0 -13
  934. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/LICENSE +0 -191
  935. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/README.md +0 -118
  936. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/install/build.js +0 -38
  937. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/install/check.js +0 -14
  938. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/channel.js +0 -177
  939. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/colour.js +0 -195
  940. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/composite.js +0 -212
  941. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/constructor.js +0 -499
  942. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/index.d.ts +0 -1971
  943. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/index.js +0 -16
  944. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/input.js +0 -809
  945. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/is.js +0 -143
  946. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/libvips.js +0 -207
  947. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/operation.js +0 -1016
  948. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/output.js +0 -1666
  949. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/resize.js +0 -595
  950. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/sharp.js +0 -121
  951. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/lib/utility.js +0 -291
  952. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/package.json +0 -202
  953. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/binding.gyp +0 -298
  954. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/common.cc +0 -1130
  955. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/common.h +0 -402
  956. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/metadata.cc +0 -346
  957. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/metadata.h +0 -90
  958. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/operations.cc +0 -499
  959. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/operations.h +0 -137
  960. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/pipeline.cc +0 -1814
  961. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/pipeline.h +0 -408
  962. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/sharp.cc +0 -43
  963. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/stats.cc +0 -186
  964. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/stats.h +0 -62
  965. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/utilities.cc +0 -288
  966. package/skills/aipk_update-requirements-from-design/scripts/sharp-runtime/node_modules/sharp/src/utilities.h +0 -22
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2018 Nikita Skovoroda <chalkerx@gmail.com>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,268 +0,0 @@
1
- # Porting to the Buffer.from/Buffer.alloc API
2
-
3
- <a id="overview"></a>
4
- ## Overview
5
-
6
- - [Variant 1: Drop support for Node.js ≤ 4.4.x and 5.0.0 — 5.9.x.](#variant-1) (*recommended*)
7
- - [Variant 2: Use a polyfill](#variant-2)
8
- - [Variant 3: manual detection, with safeguards](#variant-3)
9
-
10
- ### Finding problematic bits of code using grep
11
-
12
- Just run `grep -nrE '[^a-zA-Z](Slow)?Buffer\s*\(' --exclude-dir node_modules`.
13
-
14
- It will find all the potentially unsafe places in your own code (with some considerably unlikely
15
- exceptions).
16
-
17
- ### Finding problematic bits of code using Node.js 8
18
-
19
- If you’re using Node.js ≥ 8.0.0 (which is recommended), Node.js exposes multiple options that help with finding the relevant pieces of code:
20
-
21
- - `--trace-warnings` will make Node.js show a stack trace for this warning and other warnings that are printed by Node.js.
22
- - `--trace-deprecation` does the same thing, but only for deprecation warnings.
23
- - `--pending-deprecation` will show more types of deprecation warnings. In particular, it will show the `Buffer()` deprecation warning, even on Node.js 8.
24
-
25
- You can set these flags using an environment variable:
26
-
27
- ```console
28
- $ export NODE_OPTIONS='--trace-warnings --pending-deprecation'
29
- $ cat example.js
30
- 'use strict';
31
- const foo = new Buffer('foo');
32
- $ node example.js
33
- (node:7147) [DEP0005] DeprecationWarning: The Buffer() and new Buffer() constructors are not recommended for use due to security and usability concerns. Please use the new Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() construction methods instead.
34
- at showFlaggedDeprecation (buffer.js:127:13)
35
- at new Buffer (buffer.js:148:3)
36
- at Object.<anonymous> (/path/to/example.js:2:13)
37
- [... more stack trace lines ...]
38
- ```
39
-
40
- ### Finding problematic bits of code using linters
41
-
42
- Eslint rules [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor)
43
- or
44
- [node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md)
45
- also find calls to deprecated `Buffer()` API. Those rules are included in some pre-sets.
46
-
47
- There is a drawback, though, that it doesn't always
48
- [work correctly](https://github.com/chalker/safer-buffer#why-not-safe-buffer) when `Buffer` is
49
- overriden e.g. with a polyfill, so recommended is a combination of this and some other method
50
- described above.
51
-
52
- <a id="variant-1"></a>
53
- ## Variant 1: Drop support for Node.js ≤ 4.4.x and 5.0.0 — 5.9.x.
54
-
55
- This is the recommended solution nowadays that would imply only minimal overhead.
56
-
57
- The Node.js 5.x release line has been unsupported since July 2016, and the Node.js 4.x release line reaches its End of Life in April 2018 (→ [Schedule](https://github.com/nodejs/Release#release-schedule)). This means that these versions of Node.js will *not* receive any updates, even in case of security issues, so using these release lines should be avoided, if at all possible.
58
-
59
- What you would do in this case is to convert all `new Buffer()` or `Buffer()` calls to use `Buffer.alloc()` or `Buffer.from()`, in the following way:
60
-
61
- - For `new Buffer(number)`, replace it with `Buffer.alloc(number)`.
62
- - For `new Buffer(string)` (or `new Buffer(string, encoding)`), replace it with `Buffer.from(string)` (or `Buffer.from(string, encoding)`).
63
- - For all other combinations of arguments (these are much rarer), also replace `new Buffer(...arguments)` with `Buffer.from(...arguments)`.
64
-
65
- Note that `Buffer.alloc()` is also _faster_ on the current Node.js versions than
66
- `new Buffer(size).fill(0)`, which is what you would otherwise need to ensure zero-filling.
67
-
68
- Enabling eslint rule [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor)
69
- or
70
- [node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md)
71
- is recommended to avoid accidential unsafe Buffer API usage.
72
-
73
- There is also a [JSCodeshift codemod](https://github.com/joyeecheung/node-dep-codemod#dep005)
74
- for automatically migrating Buffer constructors to `Buffer.alloc()` or `Buffer.from()`.
75
- Note that it currently only works with cases where the arguments are literals or where the
76
- constructor is invoked with two arguments.
77
-
78
- _If you currently support those older Node.js versions and dropping them would be a semver-major change
79
- for you, or if you support older branches of your packages, consider using [Variant 2](#variant-2)
80
- or [Variant 3](#variant-3) on older branches, so people using those older branches will also receive
81
- the fix. That way, you will eradicate potential issues caused by unguarded Buffer API usage and
82
- your users will not observe a runtime deprecation warning when running your code on Node.js 10._
83
-
84
- <a id="variant-2"></a>
85
- ## Variant 2: Use a polyfill
86
-
87
- Utilize [safer-buffer](https://www.npmjs.com/package/safer-buffer) as a polyfill to support older
88
- Node.js versions.
89
-
90
- You would take exacly the same steps as in [Variant 1](#variant-1), but with a polyfill
91
- `const Buffer = require('safer-buffer').Buffer` in all files where you use the new `Buffer` api.
92
-
93
- Make sure that you do not use old `new Buffer` API — in any files where the line above is added,
94
- using old `new Buffer()` API will _throw_. It will be easy to notice that in CI, though.
95
-
96
- Alternatively, you could use [buffer-from](https://www.npmjs.com/package/buffer-from) and/or
97
- [buffer-alloc](https://www.npmjs.com/package/buffer-alloc) [ponyfills](https://ponyfill.com/) —
98
- those are great, the only downsides being 4 deps in the tree and slightly more code changes to
99
- migrate off them (as you would be using e.g. `Buffer.from` under a different name). If you need only
100
- `Buffer.from` polyfilled — `buffer-from` alone which comes with no extra dependencies.
101
-
102
- _Alternatively, you could use [safe-buffer](https://www.npmjs.com/package/safe-buffer) — it also
103
- provides a polyfill, but takes a different approach which has
104
- [it's drawbacks](https://github.com/chalker/safer-buffer#why-not-safe-buffer). It will allow you
105
- to also use the older `new Buffer()` API in your code, though — but that's arguably a benefit, as
106
- it is problematic, can cause issues in your code, and will start emitting runtime deprecation
107
- warnings starting with Node.js 10._
108
-
109
- Note that in either case, it is important that you also remove all calls to the old Buffer
110
- API manually — just throwing in `safe-buffer` doesn't fix the problem by itself, it just provides
111
- a polyfill for the new API. I have seen people doing that mistake.
112
-
113
- Enabling eslint rule [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor)
114
- or
115
- [node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md)
116
- is recommended.
117
-
118
- _Don't forget to drop the polyfill usage once you drop support for Node.js < 4.5.0._
119
-
120
- <a id="variant-3"></a>
121
- ## Variant 3 — manual detection, with safeguards
122
-
123
- This is useful if you create Buffer instances in only a few places (e.g. one), or you have your own
124
- wrapper around them.
125
-
126
- ### Buffer(0)
127
-
128
- This special case for creating empty buffers can be safely replaced with `Buffer.concat([])`, which
129
- returns the same result all the way down to Node.js 0.8.x.
130
-
131
- ### Buffer(notNumber)
132
-
133
- Before:
134
-
135
- ```js
136
- var buf = new Buffer(notNumber, encoding);
137
- ```
138
-
139
- After:
140
-
141
- ```js
142
- var buf;
143
- if (Buffer.from && Buffer.from !== Uint8Array.from) {
144
- buf = Buffer.from(notNumber, encoding);
145
- } else {
146
- if (typeof notNumber === 'number')
147
- throw new Error('The "size" argument must be of type number.');
148
- buf = new Buffer(notNumber, encoding);
149
- }
150
- ```
151
-
152
- `encoding` is optional.
153
-
154
- Note that the `typeof notNumber` before `new Buffer` is required (for cases when `notNumber` argument is not
155
- hard-coded) and _is not caused by the deprecation of Buffer constructor_ — it's exactly _why_ the
156
- Buffer constructor is deprecated. Ecosystem packages lacking this type-check caused numereous
157
- security issues — situations when unsanitized user input could end up in the `Buffer(arg)` create
158
- problems ranging from DoS to leaking sensitive information to the attacker from the process memory.
159
-
160
- When `notNumber` argument is hardcoded (e.g. literal `"abc"` or `[0,1,2]`), the `typeof` check can
161
- be omitted.
162
-
163
- Also note that using TypeScript does not fix this problem for you — when libs written in
164
- `TypeScript` are used from JS, or when user input ends up there — it behaves exactly as pure JS, as
165
- all type checks are translation-time only and are not present in the actual JS code which TS
166
- compiles to.
167
-
168
- ### Buffer(number)
169
-
170
- For Node.js 0.10.x (and below) support:
171
-
172
- ```js
173
- var buf;
174
- if (Buffer.alloc) {
175
- buf = Buffer.alloc(number);
176
- } else {
177
- buf = new Buffer(number);
178
- buf.fill(0);
179
- }
180
- ```
181
-
182
- Otherwise (Node.js ≥ 0.12.x):
183
-
184
- ```js
185
- const buf = Buffer.alloc ? Buffer.alloc(number) : new Buffer(number).fill(0);
186
- ```
187
-
188
- ## Regarding Buffer.allocUnsafe
189
-
190
- Be extra cautious when using `Buffer.allocUnsafe`:
191
- * Don't use it if you don't have a good reason to
192
- * e.g. you probably won't ever see a performance difference for small buffers, in fact, those
193
- might be even faster with `Buffer.alloc()`,
194
- * if your code is not in the hot code path — you also probably won't notice a difference,
195
- * keep in mind that zero-filling minimizes the potential risks.
196
- * If you use it, make sure that you never return the buffer in a partially-filled state,
197
- * if you are writing to it sequentially — always truncate it to the actuall written length
198
-
199
- Errors in handling buffers allocated with `Buffer.allocUnsafe` could result in various issues,
200
- ranged from undefined behaviour of your code to sensitive data (user input, passwords, certs)
201
- leaking to the remote attacker.
202
-
203
- _Note that the same applies to `new Buffer` usage without zero-filling, depending on the Node.js
204
- version (and lacking type checks also adds DoS to the list of potential problems)._
205
-
206
- <a id="faq"></a>
207
- ## FAQ
208
-
209
- <a id="design-flaws"></a>
210
- ### What is wrong with the `Buffer` constructor?
211
-
212
- The `Buffer` constructor could be used to create a buffer in many different ways:
213
-
214
- - `new Buffer(42)` creates a `Buffer` of 42 bytes. Before Node.js 8, this buffer contained
215
- *arbitrary memory* for performance reasons, which could include anything ranging from
216
- program source code to passwords and encryption keys.
217
- - `new Buffer('abc')` creates a `Buffer` that contains the UTF-8-encoded version of
218
- the string `'abc'`. A second argument could specify another encoding: For example,
219
- `new Buffer(string, 'base64')` could be used to convert a Base64 string into the original
220
- sequence of bytes that it represents.
221
- - There are several other combinations of arguments.
222
-
223
- This meant that, in code like `var buffer = new Buffer(foo);`, *it is not possible to tell
224
- what exactly the contents of the generated buffer are* without knowing the type of `foo`.
225
-
226
- Sometimes, the value of `foo` comes from an external source. For example, this function
227
- could be exposed as a service on a web server, converting a UTF-8 string into its Base64 form:
228
-
229
- ```
230
- function stringToBase64(req, res) {
231
- // The request body should have the format of `{ string: 'foobar' }`
232
- const rawBytes = new Buffer(req.body.string)
233
- const encoded = rawBytes.toString('base64')
234
- res.end({ encoded: encoded })
235
- }
236
- ```
237
-
238
- Note that this code does *not* validate the type of `req.body.string`:
239
-
240
- - `req.body.string` is expected to be a string. If this is the case, all goes well.
241
- - `req.body.string` is controlled by the client that sends the request.
242
- - If `req.body.string` is the *number* `50`, the `rawBytes` would be 50 bytes:
243
- - Before Node.js 8, the content would be uninitialized
244
- - After Node.js 8, the content would be `50` bytes with the value `0`
245
-
246
- Because of the missing type check, an attacker could intentionally send a number
247
- as part of the request. Using this, they can either:
248
-
249
- - Read uninitialized memory. This **will** leak passwords, encryption keys and other
250
- kinds of sensitive information. (Information leak)
251
- - Force the program to allocate a large amount of memory. For example, when specifying
252
- `500000000` as the input value, each request will allocate 500MB of memory.
253
- This can be used to either exhaust the memory available of a program completely
254
- and make it crash, or slow it down significantly. (Denial of Service)
255
-
256
- Both of these scenarios are considered serious security issues in a real-world
257
- web server context.
258
-
259
- when using `Buffer.from(req.body.string)` instead, passing a number will always
260
- throw an exception instead, giving a controlled behaviour that can always be
261
- handled by the program.
262
-
263
- <a id="ecosystem-usage"></a>
264
- ### The `Buffer()` constructor has been deprecated for a while. Is this really an issue?
265
-
266
- Surveys of code in the `npm` ecosystem have shown that the `Buffer()` constructor is still
267
- widely used. This includes new code, and overall usage of such code has actually been
268
- *increasing*.
@@ -1,156 +0,0 @@
1
- # safer-buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![javascript style guide][standard-image]][standard-url] [![Security Responsible Disclosure][secuirty-image]][secuirty-url]
2
-
3
- [travis-image]: https://travis-ci.org/ChALkeR/safer-buffer.svg?branch=master
4
- [travis-url]: https://travis-ci.org/ChALkeR/safer-buffer
5
- [npm-image]: https://img.shields.io/npm/v/safer-buffer.svg
6
- [npm-url]: https://npmjs.org/package/safer-buffer
7
- [standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
8
- [standard-url]: https://standardjs.com
9
- [secuirty-image]: https://img.shields.io/badge/Security-Responsible%20Disclosure-green.svg
10
- [secuirty-url]: https://github.com/nodejs/security-wg/blob/master/processes/responsible_disclosure_template.md
11
-
12
- Modern Buffer API polyfill without footguns, working on Node.js from 0.8 to current.
13
-
14
- ## How to use?
15
-
16
- First, port all `Buffer()` and `new Buffer()` calls to `Buffer.alloc()` and `Buffer.from()` API.
17
-
18
- Then, to achieve compatibility with outdated Node.js versions (`<4.5.0` and 5.x `<5.9.0`), use
19
- `const Buffer = require('safer-buffer').Buffer` in all files where you make calls to the new
20
- Buffer API. _Use `var` instead of `const` if you need that for your Node.js version range support._
21
-
22
- Also, see the
23
- [porting Buffer](https://github.com/ChALkeR/safer-buffer/blob/master/Porting-Buffer.md) guide.
24
-
25
- ## Do I need it?
26
-
27
- Hopefully, not — dropping support for outdated Node.js versions should be fine nowdays, and that
28
- is the recommended path forward. You _do_ need to port to the `Buffer.alloc()` and `Buffer.from()`
29
- though.
30
-
31
- See the [porting guide](https://github.com/ChALkeR/safer-buffer/blob/master/Porting-Buffer.md)
32
- for a better description.
33
-
34
- ## Why not [safe-buffer](https://npmjs.com/safe-buffer)?
35
-
36
- _In short: while `safe-buffer` serves as a polyfill for the new API, it allows old API usage and
37
- itself contains footguns._
38
-
39
- `safe-buffer` could be used safely to get the new API while still keeping support for older
40
- Node.js versions (like this module), but while analyzing ecosystem usage of the old Buffer API
41
- I found out that `safe-buffer` is itself causing problems in some cases.
42
-
43
- For example, consider the following snippet:
44
-
45
- ```console
46
- $ cat example.unsafe.js
47
- console.log(Buffer(20))
48
- $ ./node-v6.13.0-linux-x64/bin/node example.unsafe.js
49
- <Buffer 0a 00 00 00 00 00 00 00 28 13 de 02 00 00 00 00 05 00 00 00>
50
- $ standard example.unsafe.js
51
- standard: Use JavaScript Standard Style (https://standardjs.com)
52
- /home/chalker/repo/safer-buffer/example.unsafe.js:2:13: 'Buffer()' was deprecated since v6. Use 'Buffer.alloc()' or 'Buffer.from()' (use 'https://www.npmjs.com/package/safe-buffer' for '<4.5.0') instead.
53
- ```
54
-
55
- This is allocates and writes to console an uninitialized chunk of memory.
56
- [standard](https://www.npmjs.com/package/standard) linter (among others) catch that and warn people
57
- to avoid using unsafe API.
58
-
59
- Let's now throw in `safe-buffer`!
60
-
61
- ```console
62
- $ cat example.safe-buffer.js
63
- const Buffer = require('safe-buffer').Buffer
64
- console.log(Buffer(20))
65
- $ standard example.safe-buffer.js
66
- $ ./node-v6.13.0-linux-x64/bin/node example.safe-buffer.js
67
- <Buffer 08 00 00 00 00 00 00 00 28 58 01 82 fe 7f 00 00 00 00 00 00>
68
- ```
69
-
70
- See the problem? Adding in `safe-buffer` _magically removes the lint warning_, but the behavior
71
- remains identiсal to what we had before, and when launched on Node.js 6.x LTS — this dumps out
72
- chunks of uninitialized memory.
73
- _And this code will still emit runtime warnings on Node.js 10.x and above._
74
-
75
- That was done by design. I first considered changing `safe-buffer`, prohibiting old API usage or
76
- emitting warnings on it, but that significantly diverges from `safe-buffer` design. After some
77
- discussion, it was decided to move my approach into a separate package, and _this is that separate
78
- package_.
79
-
80
- This footgun is not imaginary — I observed top-downloaded packages doing that kind of thing,
81
- «fixing» the lint warning by blindly including `safe-buffer` without any actual changes.
82
-
83
- Also in some cases, even if the API _was_ migrated to use of safe Buffer API — a random pull request
84
- can bring unsafe Buffer API usage back to the codebase by adding new calls — and that could go
85
- unnoticed even if you have a linter prohibiting that (becase of the reason stated above), and even
86
- pass CI. _I also observed that being done in popular packages._
87
-
88
- Some examples:
89
- * [webdriverio](https://github.com/webdriverio/webdriverio/commit/05cbd3167c12e4930f09ef7cf93b127ba4effae4#diff-124380949022817b90b622871837d56cR31)
90
- (a module with 548 759 downloads/month),
91
- * [websocket-stream](https://github.com/maxogden/websocket-stream/commit/c9312bd24d08271687d76da0fe3c83493871cf61)
92
- (218 288 d/m, fix in [maxogden/websocket-stream#142](https://github.com/maxogden/websocket-stream/pull/142)),
93
- * [node-serialport](https://github.com/node-serialport/node-serialport/commit/e8d9d2b16c664224920ce1c895199b1ce2def48c)
94
- (113 138 d/m, fix in [node-serialport/node-serialport#1510](https://github.com/node-serialport/node-serialport/pull/1510)),
95
- * [karma](https://github.com/karma-runner/karma/commit/3d94b8cf18c695104ca195334dc75ff054c74eec)
96
- (3 973 193 d/m, fix in [karma-runner/karma#2947](https://github.com/karma-runner/karma/pull/2947)),
97
- * [spdy-transport](https://github.com/spdy-http2/spdy-transport/commit/5375ac33f4a62a4f65bcfc2827447d42a5dbe8b1)
98
- (5 970 727 d/m, fix in [spdy-http2/spdy-transport#53](https://github.com/spdy-http2/spdy-transport/pull/53)).
99
- * And there are a lot more over the ecosystem.
100
-
101
- I filed a PR at
102
- [mysticatea/eslint-plugin-node#110](https://github.com/mysticatea/eslint-plugin-node/pull/110) to
103
- partially fix that (for cases when that lint rule is used), but it is a semver-major change for
104
- linter rules and presets, so it would take significant time for that to reach actual setups.
105
- _It also hasn't been released yet (2018-03-20)._
106
-
107
- Also, `safer-buffer` discourages the usage of `.allocUnsafe()`, which is often done by a mistake.
108
- It still supports it with an explicit concern barier, by placing it under
109
- `require('safer-buffer/dangereous')`.
110
-
111
- ## But isn't throwing bad?
112
-
113
- Not really. It's an error that could be noticed and fixed early, instead of causing havoc later like
114
- unguarded `new Buffer()` calls that end up receiving user input can do.
115
-
116
- This package affects only the files where `var Buffer = require('safer-buffer').Buffer` was done, so
117
- it is really simple to keep track of things and make sure that you don't mix old API usage with that.
118
- Also, CI should hint anything that you might have missed.
119
-
120
- New commits, if tested, won't land new usage of unsafe Buffer API this way.
121
- _Node.js 10.x also deals with that by printing a runtime depecation warning._
122
-
123
- ### Would it affect third-party modules?
124
-
125
- No, unless you explicitly do an awful thing like monkey-patching or overriding the built-in `Buffer`.
126
- Don't do that.
127
-
128
- ### But I don't want throwing…
129
-
130
- That is also fine!
131
-
132
- Also, it could be better in some cases when you don't comprehensive enough test coverage.
133
-
134
- In that case — just don't override `Buffer` and use
135
- `var SaferBuffer = require('safer-buffer').Buffer` instead.
136
-
137
- That way, everything using `Buffer` natively would still work, but there would be two drawbacks:
138
-
139
- * `Buffer.from`/`Buffer.alloc` won't be polyfilled — use `SaferBuffer.from` and
140
- `SaferBuffer.alloc` instead.
141
- * You are still open to accidentally using the insecure deprecated API — use a linter to catch that.
142
-
143
- Note that using a linter to catch accidential `Buffer` constructor usage in this case is strongly
144
- recommended. `Buffer` is not overriden in this usecase, so linters won't get confused.
145
-
146
- ## «Without footguns»?
147
-
148
- Well, it is still possible to do _some_ things with `Buffer` API, e.g. accessing `.buffer` property
149
- on older versions and duping things from there. You shouldn't do that in your code, probabably.
150
-
151
- The intention is to remove the most significant footguns that affect lots of packages in the
152
- ecosystem, and to do it in the proper way.
153
-
154
- Also, this package doesn't protect against security issues affecting some Node.js versions, so for
155
- usage in your own production code, it is still recommended to update to a Node.js version
156
- [supported by upstream](https://github.com/nodejs/release#release-schedule).
@@ -1,58 +0,0 @@
1
- /* eslint-disable node/no-deprecated-api */
2
-
3
- 'use strict'
4
-
5
- var buffer = require('buffer')
6
- var Buffer = buffer.Buffer
7
- var safer = require('./safer.js')
8
- var Safer = safer.Buffer
9
-
10
- var dangerous = {}
11
-
12
- var key
13
-
14
- for (key in safer) {
15
- if (!safer.hasOwnProperty(key)) continue
16
- dangerous[key] = safer[key]
17
- }
18
-
19
- var Dangereous = dangerous.Buffer = {}
20
-
21
- // Copy Safer API
22
- for (key in Safer) {
23
- if (!Safer.hasOwnProperty(key)) continue
24
- Dangereous[key] = Safer[key]
25
- }
26
-
27
- // Copy those missing unsafe methods, if they are present
28
- for (key in Buffer) {
29
- if (!Buffer.hasOwnProperty(key)) continue
30
- if (Dangereous.hasOwnProperty(key)) continue
31
- Dangereous[key] = Buffer[key]
32
- }
33
-
34
- if (!Dangereous.allocUnsafe) {
35
- Dangereous.allocUnsafe = function (size) {
36
- if (typeof size !== 'number') {
37
- throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
38
- }
39
- if (size < 0 || size >= 2 * (1 << 30)) {
40
- throw new RangeError('The value "' + size + '" is invalid for option "size"')
41
- }
42
- return Buffer(size)
43
- }
44
- }
45
-
46
- if (!Dangereous.allocUnsafeSlow) {
47
- Dangereous.allocUnsafeSlow = function (size) {
48
- if (typeof size !== 'number') {
49
- throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
50
- }
51
- if (size < 0 || size >= 2 * (1 << 30)) {
52
- throw new RangeError('The value "' + size + '" is invalid for option "size"')
53
- }
54
- return buffer.SlowBuffer(size)
55
- }
56
- }
57
-
58
- module.exports = dangerous
@@ -1,34 +0,0 @@
1
- {
2
- "name": "safer-buffer",
3
- "version": "2.1.2",
4
- "description": "Modern Buffer API polyfill without footguns",
5
- "main": "safer.js",
6
- "scripts": {
7
- "browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js",
8
- "test": "standard && tape tests.js"
9
- },
10
- "author": {
11
- "name": "Nikita Skovoroda",
12
- "email": "chalkerx@gmail.com",
13
- "url": "https://github.com/ChALkeR"
14
- },
15
- "license": "MIT",
16
- "repository": {
17
- "type": "git",
18
- "url": "git+https://github.com/ChALkeR/safer-buffer.git"
19
- },
20
- "bugs": {
21
- "url": "https://github.com/ChALkeR/safer-buffer/issues"
22
- },
23
- "devDependencies": {
24
- "standard": "^11.0.1",
25
- "tape": "^4.9.0"
26
- },
27
- "files": [
28
- "Porting-Buffer.md",
29
- "Readme.md",
30
- "tests.js",
31
- "dangerous.js",
32
- "safer.js"
33
- ]
34
- }
@@ -1,77 +0,0 @@
1
- /* eslint-disable node/no-deprecated-api */
2
-
3
- 'use strict'
4
-
5
- var buffer = require('buffer')
6
- var Buffer = buffer.Buffer
7
-
8
- var safer = {}
9
-
10
- var key
11
-
12
- for (key in buffer) {
13
- if (!buffer.hasOwnProperty(key)) continue
14
- if (key === 'SlowBuffer' || key === 'Buffer') continue
15
- safer[key] = buffer[key]
16
- }
17
-
18
- var Safer = safer.Buffer = {}
19
- for (key in Buffer) {
20
- if (!Buffer.hasOwnProperty(key)) continue
21
- if (key === 'allocUnsafe' || key === 'allocUnsafeSlow') continue
22
- Safer[key] = Buffer[key]
23
- }
24
-
25
- safer.Buffer.prototype = Buffer.prototype
26
-
27
- if (!Safer.from || Safer.from === Uint8Array.from) {
28
- Safer.from = function (value, encodingOrOffset, length) {
29
- if (typeof value === 'number') {
30
- throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof value)
31
- }
32
- if (value && typeof value.length === 'undefined') {
33
- throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type ' + typeof value)
34
- }
35
- return Buffer(value, encodingOrOffset, length)
36
- }
37
- }
38
-
39
- if (!Safer.alloc) {
40
- Safer.alloc = function (size, fill, encoding) {
41
- if (typeof size !== 'number') {
42
- throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
43
- }
44
- if (size < 0 || size >= 2 * (1 << 30)) {
45
- throw new RangeError('The value "' + size + '" is invalid for option "size"')
46
- }
47
- var buf = Buffer(size)
48
- if (!fill || fill.length === 0) {
49
- buf.fill(0)
50
- } else if (typeof encoding === 'string') {
51
- buf.fill(fill, encoding)
52
- } else {
53
- buf.fill(fill)
54
- }
55
- return buf
56
- }
57
- }
58
-
59
- if (!safer.kStringMaxLength) {
60
- try {
61
- safer.kStringMaxLength = process.binding('buffer').kStringMaxLength
62
- } catch (e) {
63
- // we can't determine kStringMaxLength in environments where process.binding
64
- // is unsupported, so let's not set it
65
- }
66
- }
67
-
68
- if (!safer.constants) {
69
- safer.constants = {
70
- MAX_LENGTH: safer.kMaxLength
71
- }
72
- if (safer.kStringMaxLength) {
73
- safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength
74
- }
75
- }
76
-
77
- module.exports = safer