decocms 2.366.7 → 2.366.8

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 (249) hide show
  1. package/dist/client/assets/{AlertCircle-DFcOa31f.js → AlertCircle-Dyh2dUBt.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-CbOlEr1w.js → ArrowNarrowLeft-DOeeOVat.js} +1 -1
  3. package/dist/client/assets/{ArrowUpRight-C6axmKPR.js → ArrowUpRight-C5h8eEJl.js} +1 -1
  4. package/dist/client/assets/{Check-JQri_6PS.js → Check-BBN8jtrj.js} +1 -1
  5. package/dist/client/assets/{CheckCircle-B6HzfzYv.js → CheckCircle-BodpoDGR.js} +1 -1
  6. package/dist/client/assets/{ChevronDown-CNNU2L0m.js → ChevronDown-BHt79TDc.js} +1 -1
  7. package/dist/client/assets/{ChevronRight-BuVcgGSu.js → ChevronRight-CgiGzJK2.js} +1 -1
  8. package/dist/client/assets/{ChevronUp-DyIOyS2u.js → ChevronUp-Hv5s5GCl.js} +1 -1
  9. package/dist/client/assets/{Container-Cy3AGglh.js → Container-CmZ_UAMx.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-DIehc2A5.js → DotsVertical-BFb-15-m.js} +1 -1
  11. package/dist/client/assets/{FilterLines-DHlq5ZtE.js → FilterLines-BNco6Knh.js} +1 -1
  12. package/dist/client/assets/{HardDrive-CAAHpLeS.js → HardDrive-Bs4cIN_I.js} +1 -1
  13. package/dist/client/assets/{Key01-C29UL5qH.js → Key01-BOHiIHj-.js} +1 -1
  14. package/dist/client/assets/{LayoutLeft-5sSkIfFI.js → LayoutLeft-NsiLg-Hz.js} +1 -1
  15. package/dist/client/assets/{LinkExternal01-QpHHOJbZ.js → LinkExternal01-DXkr_udM.js} +1 -1
  16. package/dist/client/assets/{Lock01-Ju5ifHNn.js → Lock01-BheAsQQx.js} +1 -1
  17. package/dist/client/assets/{Monitor01-DHHvwXbl.js → Monitor01-BkzEm6bw.js} +1 -1
  18. package/dist/client/assets/{Palette-CJqBw6AH.js → Palette-DPP_bV0e.js} +1 -1
  19. package/dist/client/assets/{Play-DPs1Pbq2.js → Play-BqGgMbL5.js} +1 -1
  20. package/dist/client/assets/{Plus-DgrNRFK5.js → Plus-C5l4faC1.js} +1 -1
  21. package/dist/client/assets/{RefreshCcw01-Bf15qfNS.js → RefreshCcw01-Cr7WlxPS.js} +1 -1
  22. package/dist/client/assets/{SearchMd-CuY4_41I.js → SearchMd-rTsELW21.js} +1 -1
  23. package/dist/client/assets/{Settings02-Cjzbasby.js → Settings02-BSu9v11-.js} +1 -1
  24. package/dist/client/assets/{Shield01-rI42zX_N.js → Shield01-BzHuCaEB.js} +1 -1
  25. package/dist/client/assets/{Star01-CiaU9xFe.js → Star01-HKceyVo1.js} +1 -1
  26. package/dist/client/assets/{Stars02-BHNtUcIC.js → Stars02-LrVE5fus.js} +1 -1
  27. package/dist/client/assets/{Sun-DA9iSyj3.js → Sun-D9eEy7za.js} +1 -1
  28. package/dist/client/assets/{SwitchHorizontal01-B0nDhziZ.js → SwitchHorizontal01-C1fzb4rn.js} +1 -1
  29. package/dist/client/assets/{Tool01-BpLh90bx.js → Tool01-DHXrZh_c.js} +1 -1
  30. package/dist/client/assets/{Trash01-BU1vvG1i.js → Trash01-v5Dy47Wj.js} +1 -1
  31. package/dist/client/assets/{Upload01-D2aoviL7.js → Upload01-p8VtXdXS.js} +1 -1
  32. package/dist/client/assets/{User01-BUxAdPGO.js → User01-CtanRIko.js} +1 -1
  33. package/dist/client/assets/{Users01-X9W80ATA.js → Users01-BbxKMG6t.js} +1 -1
  34. package/dist/client/assets/{Users03-DERc_3KT.js → Users03-Bq46oqMB.js} +1 -1
  35. package/dist/client/assets/{X-CpxCwBcO.js → X-DkujvqvQ.js} +1 -1
  36. package/dist/client/assets/{XCircle-BlhQtOFW.js → XCircle-BkF11s9b.js} +1 -1
  37. package/dist/client/assets/{XClose-6T_HfnSF.js → XClose-DgRHRNhM.js} +1 -1
  38. package/dist/client/assets/{Zap-C_gPmGTu.js → Zap-XzlBn_sj.js} +1 -1
  39. package/dist/client/assets/{ZapSquare-D-9nYZGQ.js → ZapSquare-sMv-roxP.js} +1 -1
  40. package/dist/client/assets/{accordion-CBF1VPy1.js → accordion-dqQUHOnH.js} +1 -1
  41. package/dist/client/assets/{add-connection-dialog-WM_qTQCr.js → add-connection-dialog-Doxko4pY.js} +1 -1
  42. package/dist/client/assets/{agent-icon-BZLvaskO.js → agent-icon-q6iHyexc.js} +1 -1
  43. package/dist/client/assets/{agent-icons-ZEbpuDyp.js → agent-icons-A7w_l1KK.js} +1 -1
  44. package/dist/client/assets/{agents-list-BD4seTwq.js → agents-list-_CO5Xl7p.js} +1 -1
  45. package/dist/client/assets/{ai-providers-Dps_1J2i.js → ai-providers-B1ZbPwoq.js} +1 -1
  46. package/dist/client/assets/{alert-CmozMRgO.js → alert-DL1cbRoM.js} +1 -1
  47. package/dist/client/assets/{alert-dialog-Bzj7Dj8A.js → alert-dialog-B_i_ps7f.js} +1 -1
  48. package/dist/client/assets/{auth-catchall-Ck-h53ka.js → auth-catchall-AHvA5vWD.js} +1 -1
  49. package/dist/client/assets/{auth-split-layout-COCXQjkb.js → auth-split-layout-CT4AkDzg.js} +1 -1
  50. package/dist/client/assets/{automation-list-row-BK4XzBrA.js → automation-list-row-DxuoSGb8.js} +1 -1
  51. package/dist/client/assets/{automations-BIQRZeWE.js → automations-CmZJlJt9.js} +1 -1
  52. package/dist/client/assets/{avatar-DCmff7mq.js → avatar-BRyrVRDm.js} +1 -1
  53. package/dist/client/assets/{badge-ONnaTLOr.js → badge-BTq6_dwU.js} +1 -1
  54. package/dist/client/assets/{brand-context-DWdSQDXw.js → brand-context-D5z_TG2J.js} +1 -1
  55. package/dist/client/assets/{card-BsL17xby.js → card-CSM7jg8b.js} +1 -1
  56. package/dist/client/assets/{chat-context-4LDn0s0C.js → chat-context-CICjyzMY.js} +1 -1
  57. package/dist/client/assets/{checkbox-CupWiQrC.js → checkbox-Dz5JG34i.js} +1 -1
  58. package/dist/client/assets/{cli-auth-success-C_FSoZy8.js → cli-auth-success-CvhsqEgg.js} +1 -1
  59. package/dist/client/assets/{collection-detail-rvEMorEg.js → collection-detail-CzazaoJP.js} +1 -1
  60. package/dist/client/assets/{collection-display-button-BMPAqbiG.js → collection-display-button-mD3oc4np.js} +1 -1
  61. package/dist/client/assets/{collection-search-DBZ50buZ.js → collection-search-BRyI5tKN.js} +1 -1
  62. package/dist/client/assets/{collection-search-Um_OB9Yj.js → collection-search-CXtVb7nz.js} +1 -1
  63. package/dist/client/assets/{collection-table-wrapper-Dtog_f2p.js → collection-table-wrapper-C7oTCBDJ.js} +1 -1
  64. package/dist/client/assets/{collection-tabs-DBGScRHK.js → collection-tabs-BzSk0IWN.js} +1 -1
  65. package/dist/client/assets/{collections-B7Zm82Yd.js → collections-BvhsS_z2.js} +1 -1
  66. package/dist/client/assets/{command-BbOyBJF2.js → command-CE-N-Fow.js} +1 -1
  67. package/dist/client/assets/{connect-desktop-dialog-BB6OqliN.js → connect-desktop-dialog-C-R7zEUP.js} +1 -1
  68. package/dist/client/assets/{connection-card-CfeWMSHF.js → connection-card-PlQwrunz.js} +1 -1
  69. package/dist/client/assets/{connection-detail-pLHIqTQT.js → connection-detail-B7sBzrsj.js} +1 -1
  70. package/dist/client/assets/{connection-form-helpers-CU39ex55.js → connection-form-helpers-BPskqY8x.js} +1 -1
  71. package/dist/client/assets/{connections-Dcfpl5Vt.js → connections-BO5GNb9A.js} +1 -1
  72. package/dist/client/assets/{constants-z8N0NNar.js → constants-B8os5nMI.js} +1 -1
  73. package/dist/client/assets/{decopilot-sse-pool-BmH40IlP.js → decopilot-sse-pool-CibYuCaE.js} +1 -1
  74. package/dist/client/assets/{dialog-1TuinsgZ.js → dialog-C40tWbjB.js} +1 -1
  75. package/dist/client/assets/{domain-settings-CK5mrQIi.js → domain-settings-CzQQxHOD.js} +1 -1
  76. package/dist/client/assets/{drawer-DQoKQZB2.js → drawer-im0a0-JE.js} +1 -1
  77. package/dist/client/assets/{dropdown-menu-Dzjyztci.js → dropdown-menu-nlgjcLMp.js} +1 -1
  78. package/dist/client/assets/{dynamic-plugin-layout-VBJnbblQ.js → dynamic-plugin-layout-DlWKLIeK.js} +1 -1
  79. package/dist/client/assets/{empty-state-oNm48kH8.js → empty-state-Cw3XK_Gs.js} +1 -1
  80. package/dist/client/assets/{empty-state-DoRCByZ3.js → empty-state-Rnc2dhkR.js} +1 -1
  81. package/dist/client/assets/{extract-connection-data-DhUh4JIU.js → extract-connection-data-D00SSnkh.js} +1 -1
  82. package/dist/client/assets/{features-BLue5eI4.js → features-DZ0ghQyn.js} +1 -1
  83. package/dist/client/assets/{file-explorer-CEsWFSVG.js → file-explorer-DMwROQk0.js} +1 -1
  84. package/dist/client/assets/{files-DnOIW6UR.js → files-mqgIbtsb.js} +1 -1
  85. package/dist/client/assets/{form-BACtGvj-.js → form-C2fWcpmD.js} +1 -1
  86. package/dist/client/assets/{general-D8M9QTub.js → general-BGSI6aBj.js} +1 -1
  87. package/dist/client/assets/{generate-id-D8MMm0i_.js → generate-id-DzmzOPfM.js} +1 -1
  88. package/dist/client/assets/{github-repo-picker-rt9Vt0dE.js → github-repo-picker-C0GpV9eM.js} +1 -1
  89. package/dist/client/assets/{hooks-BsbVht9n.js → hooks-NevP65mb.js} +1 -1
  90. package/dist/client/assets/{hover-card-CxINYsQV.js → hover-card-RfUTMsZA.js} +1 -1
  91. package/dist/client/assets/{import-from-deco-dialog-C0AXmTvu.js → import-from-deco-dialog-B0MmDUtr.js} +1 -1
  92. package/dist/client/assets/{index-raVE4iMU.js → index-Bf7aO1A-.js} +2 -2
  93. package/dist/client/assets/{index-CZPd3hrs.js → index-Bj3Gsvmx.js} +4 -4
  94. package/dist/client/assets/{index-BuEd39Tz.js → index-BlXuTZUL.js} +1 -1
  95. package/dist/client/assets/{index-D2D8zFsJ.js → index-CP1SUcsr.js} +1 -1
  96. package/dist/client/assets/{index-CdAXbXCD.js → index-CPUASH8Y.js} +1 -1
  97. package/dist/client/assets/{index-B7X0Dr5K.js → index-CbpIdzH6.js} +1 -1
  98. package/dist/client/assets/{index-DRu0KGyt.js → index-Ce5SKvT1.js} +1 -1
  99. package/dist/client/assets/{index-Bid6pGzX.js → index-D1V7gFaI.js} +1 -1
  100. package/dist/client/assets/{index-DsfxL555.js → index-D3AvleZU.js} +1 -1
  101. package/dist/client/assets/{index-zqEjYnv0.js → index-D3GzwlSX.js} +1 -1
  102. package/dist/client/assets/{index-CSjyCM-u.js → index-DBGGjq4P.js} +1 -1
  103. package/dist/client/assets/{index-DktH-nwk.js → index-DBIBJV0k.js} +1 -1
  104. package/dist/client/assets/{index-5btRi0pB.js → index-DGa9X7kA.js} +1 -1
  105. package/dist/client/assets/{index-oYU8P956.js → index-DPqqDw7W.js} +1 -1
  106. package/dist/client/assets/{index-DOyZEChd.js → index-DokSGh4p.js} +1 -1
  107. package/dist/client/assets/{index-Btb-lxzO.js → index-DsxbUaF_.js} +1 -1
  108. package/dist/client/assets/{infiniteQueryObserver-ZgItTY4U.js → infiniteQueryObserver-Cv7QlLOi.js} +1 -1
  109. package/dist/client/assets/{input-CcEL_8zI.js → input-Fpo5hVEP.js} +1 -1
  110. package/dist/client/assets/{integration-icon-C6CHfqhT.js → integration-icon-DX7WoZFw.js} +1 -1
  111. package/dist/client/assets/{label-P_F_-Q8z.js → label-FRw7B4TG.js} +1 -1
  112. package/dist/client/assets/{layout-Cy8BIgv4.js → layout-DRV6GiLr.js} +1 -1
  113. package/dist/client/assets/{login-C0__NyWq.js → login-CfCMY-Xx.js} +1 -1
  114. package/dist/client/assets/{members-CvLryIsr.js → members-xAPoZeMG.js} +1 -1
  115. package/dist/client/assets/{monaco-editor-BeYwPRx7.js → monaco-editor-BqbZT3K3.js} +1 -1
  116. package/dist/client/assets/{monitoring-stats-row-oa232c6w.js → monitoring-stats-row-BFEaeHW_.js} +1 -1
  117. package/dist/client/assets/{oauth-callback-nhW5Hk7K.js → oauth-callback-ZvrYBv1e.js} +1 -1
  118. package/dist/client/assets/{oauth-callback-ai-provider-CBGn5V2N.js → oauth-callback-ai-provider-BUr_Gk3g.js} +1 -1
  119. package/dist/client/assets/{onboarding-CJebl9bX.js → onboarding-DAlRszwq.js} +1 -1
  120. package/dist/client/assets/{org-layout-C77vl6Iy.js → org-layout-CG7hQKSm.js} +1 -1
  121. package/dist/client/assets/{org-plugin-layout-iBgNZvjR.js → org-plugin-layout-B2xqOhgA.js} +1 -1
  122. package/dist/client/assets/{pair-D5k2ePIl.js → pair-D1bgeRCX.js} +1 -1
  123. package/dist/client/assets/{plugin-empty-state-C6vbSsTR.js → plugin-empty-state-CuVTFSVp.js} +1 -1
  124. package/dist/client/assets/{plugin-header-CERNSvWs.js → plugin-header-CLNGHNmz.js} +1 -1
  125. package/dist/client/assets/{plugin-layout-Dqtz19-C.js → plugin-layout-DD5D4ZYp.js} +1 -1
  126. package/dist/client/assets/{popover-Biu5bUpE.js → popover-BkyXjLv-.js} +1 -1
  127. package/dist/client/assets/{profile-CiZbXHxj.js → profile-DJyl7mco.js} +1 -1
  128. package/dist/client/assets/{project-app-view-C5c0g4mg.js → project-app-view-BBzvPrjP.js} +1 -1
  129. package/dist/client/assets/registry-CZacfzmC.js +2 -0
  130. package/dist/client/assets/{registry-layout-BV5ALzTv.js → registry-layout-DmSpIEFO.js} +1 -1
  131. package/dist/client/assets/{required-auth-layout-6caiGmq6.js → required-auth-layout-CawOOa2O.js} +1 -1
  132. package/dist/client/assets/{reset-password-D0Ak5nrj.js → reset-password-rYx9wxY5.js} +1 -1
  133. package/dist/client/assets/{roles-DaLbowGy.js → roles-DRxguWZW.js} +1 -1
  134. package/dist/client/assets/{search-input-DN3bxChj.js → search-input-DglPcAnH.js} +1 -1
  135. package/dist/client/assets/{secrets-B6jYZgCT.js → secrets-DmZX9LsT.js} +1 -1
  136. package/dist/client/assets/{sections-editor-2l7dT3ea.js → sections-editor-BMpgMeff.js} +1 -1
  137. package/dist/client/assets/{select-BI295XE-.js → select-ufdAhrF_.js} +1 -1
  138. package/dist/client/assets/{settings-layout-0UTQAxIu.js → settings-layout-BBUh6Vlw.js} +1 -1
  139. package/dist/client/assets/{settings-section-DCgrgvZN.js → settings-section-DbssupiX.js} +1 -1
  140. package/dist/client/assets/{shell-controls-B5In6zvk.js → shell-controls-wYSme1hd.js} +1 -1
  141. package/dist/client/assets/{shell-layout-B4sASmIz.js → shell-layout-iPI2JI8_.js} +1 -1
  142. package/dist/client/assets/{sidebar-BQJxM_Xs.js → sidebar-CkEPveNS.js} +1 -1
  143. package/dist/client/assets/{skeleton-Cz-aBL4t.js → skeleton-DYoQoQqq.js} +1 -1
  144. package/dist/client/assets/{sortable.esm-CVet_wfm.js → sortable.esm-DUaPlB_W.js} +1 -1
  145. package/dist/client/assets/{spinner-CW1wo-Y2.js → spinner-CvW_7LWr.js} +1 -1
  146. package/dist/client/assets/{sso-DLX1tDyb.js → sso-BQiNOjXF.js} +1 -1
  147. package/dist/client/assets/{store-yTIcf52L.js → store-DkONcJaZ.js} +1 -1
  148. package/dist/client/assets/store-registry-DdExMpCJ.js +2 -0
  149. package/dist/client/assets/{switch-Cgc8prv4.js → switch-C_oh8iVS.js} +1 -1
  150. package/dist/client/assets/{table-Guyc6r0i.js → table-Dy93uecr.js} +1 -1
  151. package/dist/client/assets/{tabs-CbnJ7Xfx.js → tabs-Bnmd0UmR.js} +1 -1
  152. package/dist/client/assets/{task-status-D5nCekWh.js → task-status-Bn2_Ktxd.js} +1 -1
  153. package/dist/client/assets/{textarea-CUr0kaZB.js → textarea-Cna17PTh.js} +1 -1
  154. package/dist/client/assets/{toggle-group-D-Azql3v.js → toggle-group-Cwno-ULj.js} +1 -1
  155. package/dist/client/assets/{toolbar-DWP3DcTB.js → toolbar-BBemLolp.js} +1 -1
  156. package/dist/client/assets/{tools-list-Yx20h0-O.js → tools-list-DF6pe9Ta.js} +1 -1
  157. package/dist/client/assets/{tooltip-BrUaJepM.js → tooltip-Kfr4gA8D.js} +1 -1
  158. package/dist/client/assets/{types-C22VRq2r.js → types-DLDiONif.js} +1 -1
  159. package/dist/client/assets/{use-ai-providers-DWeBiBfE.js → use-ai-providers-CewbWKWW.js} +1 -1
  160. package/dist/client/assets/{use-collections-DBbGR_3H.js → use-collections-JGA7MsfD.js} +1 -1
  161. package/dist/client/assets/{use-connection-3197jn_F.js → use-connection-IocO3s2Q.js} +1 -1
  162. package/dist/client/assets/{use-copy-DeOqBGNE.js → use-copy-DQ7SkKXE.js} +1 -1
  163. package/dist/client/assets/{use-create-virtual-mcp-CDYPVS3p.js → use-create-virtual-mcp-BSfa--sD.js} +1 -1
  164. package/dist/client/assets/{use-debounced-autosave-Blm-Cns4.js → use-debounced-autosave-DWrKZmHW.js} +1 -1
  165. package/dist/client/assets/{use-delete-connection-CgDNCbAv.js → use-delete-connection-Bg4nH-Nd.js} +1 -1
  166. package/dist/client/assets/{use-file-configs-CkITamMd.js → use-file-configs-DDjVwmYE.js} +1 -1
  167. package/dist/client/assets/{use-infinite-scroll-C3Cp1KLu.js → use-infinite-scroll-jDpA-_cW.js} +1 -1
  168. package/dist/client/assets/{use-list-state-D2ojxj9D.js → use-list-state--Z7pVdDS.js} +1 -1
  169. package/dist/client/assets/{use-mcp-prompts-DgIPs9M6.js → use-mcp-prompts-CvpPBs_y.js} +1 -1
  170. package/dist/client/assets/{use-mcp-tools-DycYaXyV.js → use-mcp-tools-POhiNXdT.js} +1 -1
  171. package/dist/client/assets/{use-members-XY8cJPkc.js → use-members-cPnrxPK_.js} +1 -1
  172. package/dist/client/assets/{use-navigate-to-agent-VrXIL0dL.js → use-navigate-to-agent-DIIPigDX.js} +1 -1
  173. package/dist/client/assets/{use-org-auth-client--KUUMHp0.js → use-org-auth-client-DOzELmrd.js} +1 -1
  174. package/dist/client/assets/{use-org-sso-mHvkRXYR.js → use-org-sso-CyDwJDEM.js} +1 -1
  175. package/dist/client/assets/{use-organization-roles-DvMKsAzI.js → use-organization-roles-CZP0dNKh.js} +1 -1
  176. package/dist/client/assets/{use-organization-settings-yjaKZxoH.js → use-organization-settings-DJc_W4n4.js} +1 -1
  177. package/dist/client/assets/{use-registry-connections-CPtKKagv.js → use-registry-connections-SwizXZVX.js} +1 -1
  178. package/dist/client/assets/{use-secrets-DaKsY9Qa.js → use-secrets-BAD7O6nA.js} +1 -1
  179. package/dist/client/assets/{use-status-sounds-piyGyRnD.js → use-status-sounds-RHGSJdHR.js} +1 -1
  180. package/dist/client/assets/{use-view-mode-FiZLQ7H4.js → use-view-mode-isYjr9TL.js} +1 -1
  181. package/dist/client/assets/{use-virtual-mcp-wzufKfmA.js → use-virtual-mcp-D3NBTQSJ.js} +1 -1
  182. package/dist/client/assets/useInfiniteQuery-CedWd5FM.js +1 -0
  183. package/dist/client/assets/{useRouterState-C5I8d05V.js → useRouterState-CD2kdIEW.js} +1 -1
  184. package/dist/client/assets/useSuspenseInfiniteQuery-Cu6z25rm.js +1 -0
  185. package/dist/client/assets/{user-CGJGTWyL.js → user-Csugwi5K.js} +1 -1
  186. package/dist/client/assets/{view-mode-toggle-BV9N1_6z.js → view-mode-toggle-DXRcEzPg.js} +1 -1
  187. package/dist/client/assets/{workflow-BhGQkDG3.js → workflow-DvcXfyy4.js} +1 -1
  188. package/dist/client/assets/workflow-detail-BrOvUZpc.js +1 -0
  189. package/dist/client/index.html +1 -1
  190. package/dist/server/cli.js +1 -1
  191. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/generated/root.js +6 -36
  192. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/generated/root.js.map +1 -1
  193. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js +0 -15
  194. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js.map +1 -1
  195. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/generated/root.js +6 -36
  196. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/generated/root.js.map +1 -1
  197. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/internal.js +0 -15
  198. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/internal.js.map +1 -1
  199. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/generated/root.js +6 -36
  200. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/generated/root.js.map +1 -1
  201. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.js +0 -15
  202. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.js.map +1 -1
  203. package/dist/server/node_modules/@opentelemetry/otlp-transformer/package.json +14 -12
  204. package/dist/server/node_modules/{pg → pg-connection-string}/LICENSE +3 -3
  205. package/dist/server/node_modules/pg-connection-string/README.md +105 -0
  206. package/dist/server/node_modules/pg-connection-string/esm/index.mjs +8 -0
  207. package/dist/server/node_modules/pg-connection-string/index.d.ts +36 -0
  208. package/dist/server/node_modules/pg-connection-string/index.js +231 -0
  209. package/dist/server/node_modules/pg-connection-string/package.json +52 -0
  210. package/dist/server/node_modules/protobufjs/dist/light/protobuf.js +10 -13
  211. package/dist/server/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  212. package/dist/server/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  213. package/dist/server/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  214. package/dist/server/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  215. package/dist/server/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  216. package/dist/server/node_modules/protobufjs/dist/protobuf.js +55 -14
  217. package/dist/server/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  218. package/dist/server/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  219. package/dist/server/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  220. package/dist/server/node_modules/protobufjs/package.json +1 -1
  221. package/dist/server/node_modules/protobufjs/src/message.js +3 -7
  222. package/dist/server/node_modules/protobufjs/src/object.js +6 -3
  223. package/dist/server/node_modules/protobufjs/src/parse.js +45 -1
  224. package/dist/server/node_modules/protobufjs/src/type.js +0 -1
  225. package/package.json +1 -1
  226. package/dist/client/assets/registry-a_Y0eqBG.js +0 -2
  227. package/dist/client/assets/store-registry-ClO-HCd4.js +0 -2
  228. package/dist/client/assets/useInfiniteQuery-Dn69KZzX.js +0 -1
  229. package/dist/client/assets/useSuspenseInfiniteQuery-CFbzjyFd.js +0 -1
  230. package/dist/client/assets/workflow-detail-CgGFXY1-.js +0 -1
  231. package/dist/server/node_modules/pg/README.md +0 -89
  232. package/dist/server/node_modules/pg/lib/client.js +0 -631
  233. package/dist/server/node_modules/pg/lib/connection-parameters.js +0 -167
  234. package/dist/server/node_modules/pg/lib/connection.js +0 -223
  235. package/dist/server/node_modules/pg/lib/crypto/sasl.js +0 -186
  236. package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +0 -37
  237. package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +0 -83
  238. package/dist/server/node_modules/pg/lib/crypto/utils.js +0 -9
  239. package/dist/server/node_modules/pg/lib/defaults.js +0 -84
  240. package/dist/server/node_modules/pg/lib/index.js +0 -58
  241. package/dist/server/node_modules/pg/lib/native/client.js +0 -307
  242. package/dist/server/node_modules/pg/lib/native/index.js +0 -2
  243. package/dist/server/node_modules/pg/lib/native/query.js +0 -165
  244. package/dist/server/node_modules/pg/lib/query.js +0 -241
  245. package/dist/server/node_modules/pg/lib/result.js +0 -107
  246. package/dist/server/node_modules/pg/lib/stream.js +0 -28
  247. package/dist/server/node_modules/pg/lib/type-overrides.js +0 -35
  248. package/dist/server/node_modules/pg/lib/utils.js +0 -204
  249. package/dist/server/node_modules/pg/package.json +0 -64
@@ -71,21 +71,6 @@ function toOtlpSpanEvent(timedEvent, encoder) {
71
71
  };
72
72
  }
73
73
  exports.toOtlpSpanEvent = toOtlpSpanEvent;
74
- /*
75
- * Copyright The OpenTelemetry Authors
76
- *
77
- * Licensed under the Apache License, Version 2.0 (the "License");
78
- * you may not use this file except in compliance with the License.
79
- * You may obtain a copy of the License at
80
- *
81
- * https://www.apache.org/licenses/LICENSE-2.0
82
- *
83
- * Unless required by applicable law or agreed to in writing, software
84
- * distributed under the License is distributed on an "AS IS" BASIS,
85
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
86
- * See the License for the specific language governing permissions and
87
- * limitations under the License.
88
- */
89
74
  function createExportTraceServiceRequest(spans, options) {
90
75
  const encoder = (0, utils_1.getOtlpEncoder)(options);
91
76
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/trace/internal.ts"],"names":[],"mappings":";;;AAmBA,iDAI4B;AAW5B,2CAAiD;AAEjD,uDAAuD;AACvD,MAAM,qCAAqC,GAAG,KAAK,CAAC;AACpD,MAAM,iCAAiC,GAAG,KAAK,CAAC;AAEhD;;;GAGG;AACH,SAAS,kBAAkB,CAAC,UAAkB,EAAE,QAAkB;IAChE,gDAAgD;IAChD,IAAI,KAAK,GAAG,CAAC,UAAU,GAAG,IAAI,CAAC,GAAG,qCAAqC,CAAC;IACxE,IAAI,QAAQ,EAAE;QACZ,KAAK,IAAI,iCAAiC,CAAC;KAC5C;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAgB,iBAAiB,CAAC,IAAkB,EAAE,OAAgB;IACpE,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IAC/B,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAC3B,MAAM,YAAY,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM;QACjD,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC;QAC3D,CAAC,CAAC,SAAS,CAAC;IACd,OAAO;QACL,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC;QAC/C,MAAM,EAAE,OAAO,CAAC,iBAAiB,CAAC,GA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rB,MAAM,UAAU,GAAG,QAAQ,CAAC,KAAK,CAAC;YAClC,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE;gBACzB,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAC1C,iBAAiB,CAAC,YAAY,EAAE,OAAO,CAAC,CACzC,CAAC;gBAEF,kBAAkB,CAAC,IAAI,CAAC;oBACtB,KAAK,EAAE,IAAA,qCAA0B,EAAC,UAAU,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC;oBACrE,KAAK,EAAE,KAAK;oBACZ,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,SAAS;iBACxD,CAAC,CAAC;aACJ;YACD,QAAQ,GAAG,WAAW,CAAC,IAAI,EAAE,CAAC;SAC/B;QACD,MAAM,iBAAiB,GAAG,IAAA,yBAAc,EAAC,QAAQ,CAAC,CAAC;QACnD,MAAM,gBAAgB,GAAmB;YACvC,QAAQ,EAAE,iBAAiB;YAC3B,UAAU,EAAE,kBAAkB;YAC9B,SAAS,EAAE,iBAAiB,CAAC,SAAS;SACvC,CAAC;QAEF,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC3B,KAAK,GAAG,aAAa,CAAC,IAAI,EAAE,CAAC;KAC9B;IAED,OAAO,GAAG,CAAC;AACb,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { Link } from '@opentelemetry/api';\nimport { Resource } from '@opentelemetry/resources';\nimport type { ReadableSpan, TimedEvent } from '@opentelemetry/sdk-trace-base';\nimport type { Encoder } from '../common/utils';\nimport {\n createInstrumentationScope,\n createResource,\n toAttributes,\n} from '../common/internal';\nimport {\n EStatusCode,\n IEvent,\n IExportTraceServiceRequest,\n ILink,\n IResourceSpans,\n IScopeSpans,\n ISpan,\n} from './internal-types';\nimport { OtlpEncodingOptions } from '../common/internal-types';\nimport { getOtlpEncoder } from '../common/utils';\n\n// Span flags constants matching the OTLP specification\nconst SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK = 0x100;\nconst SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK = 0x200;\n\n/**\n * Builds the 32-bit span flags value combining the low 8-bit W3C TraceFlags\n * with the HAS_IS_REMOTE and IS_REMOTE bits according to the OTLP spec.\n */\nfunction buildSpanFlagsFrom(traceFlags: number, isRemote?: boolean): number {\n // low 8 bits are W3C TraceFlags (e.g., sampled)\n let flags = (traceFlags & 0xff) | SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK;\n if (isRemote) {\n flags |= SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK;\n }\n return flags;\n}\n\nexport function sdkSpanToOtlpSpan(span: ReadableSpan, encoder: Encoder): ISpan {\n const ctx = span.spanContext();\n const status = span.status;\n const parentSpanId = span.parentSpanContext?.spanId\n ? encoder.encodeSpanContext(span.parentSpanContext?.spanId)\n : undefined;\n return {\n traceId: encoder.encodeSpanContext(ctx.traceId),\n spanId: encoder.encodeSpanContext(ctx.spanId),\n parentSpanId: parentSpanId,\n traceState: ctx.traceState?.serialize(),\n name: span.name,\n // Span kind is offset by 1 because the API does not define a value for unset\n kind: span.kind == null ? 0 : span.kind + 1,\n startTimeUnixNano: encoder.encodeHrTime(span.startTime),\n endTimeUnixNano: encoder.encodeHrTime(span.endTime),\n attributes: toAttributes(span.attributes),\n droppedAttributesCount: span.droppedAttributesCount,\n events: span.events.map(event => toOtlpSpanEvent(event, encoder)),\n droppedEventsCount: span.droppedEventsCount,\n status: {\n // API and proto enums share the same values\n code: status.code as unknown as EStatusCode,\n message: status.message,\n },\n links: span.links.map(link => toOtlpLink(link, encoder)),\n droppedLinksCount: span.droppedLinksCount,\n flags: buildSpanFlagsFrom(ctx.traceFlags, span.parentSpanContext?.isRemote),\n };\n}\n\nexport function toOtlpLink(link: Link, encoder: Encoder): ILink {\n return {\n attributes: link.attributes ? toAttributes(link.attributes) : [],\n spanId: encoder.encodeSpanContext(link.context.spanId),\n traceId: encoder.encodeSpanContext(link.context.traceId),\n traceState: link.context.traceState?.serialize(),\n droppedAttributesCount: link.droppedAttributesCount || 0,\n flags: buildSpanFlagsFrom(link.context.traceFlags, link.context.isRemote),\n };\n}\n\nexport function toOtlpSpanEvent(\n timedEvent: TimedEvent,\n encoder: Encoder\n): IEvent {\n return {\n attributes: timedEvent.attributes\n ? toAttributes(timedEvent.attributes)\n : [],\n name: timedEvent.name,\n timeUnixNano: encoder.encodeHrTime(timedEvent.time),\n droppedAttributesCount: timedEvent.droppedAttributesCount || 0,\n };\n}\n\n/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport function createExportTraceServiceRequest(\n spans: ReadableSpan[],\n options?: OtlpEncodingOptions\n): IExportTraceServiceRequest {\n const encoder = getOtlpEncoder(options);\n return {\n resourceSpans: spanRecordsToResourceSpans(spans, encoder),\n };\n}\n\nfunction createResourceMap(readableSpans: ReadableSpan[]) {\n const resourceMap: Map<Resource, Map<string, ReadableSpan[]>> = new Map();\n for (const record of readableSpans) {\n let ilsMap = resourceMap.get(record.resource);\n\n if (!ilsMap) {\n ilsMap = new Map();\n resourceMap.set(record.resource, ilsMap);\n }\n\n // TODO this is duplicated in basic tracer. Consolidate on a common helper in core\n const instrumentationScopeKey = `${record.instrumentationScope.name}@${\n record.instrumentationScope.version || ''\n }:${record.instrumentationScope.schemaUrl || ''}`;\n let records = ilsMap.get(instrumentationScopeKey);\n\n if (!records) {\n records = [];\n ilsMap.set(instrumentationScopeKey, records);\n }\n\n records.push(record);\n }\n\n return resourceMap;\n}\n\nfunction spanRecordsToResourceSpans(\n readableSpans: ReadableSpan[],\n encoder: Encoder\n): IResourceSpans[] {\n const resourceMap = createResourceMap(readableSpans);\n const out: IResourceSpans[] = [];\n\n const entryIterator = resourceMap.entries();\n let entry = entryIterator.next();\n while (!entry.done) {\n const [resource, ilmMap] = entry.value;\n const scopeResourceSpans: IScopeSpans[] = [];\n const ilmIterator = ilmMap.values();\n let ilmEntry = ilmIterator.next();\n while (!ilmEntry.done) {\n const scopeSpans = ilmEntry.value;\n if (scopeSpans.length > 0) {\n const spans = scopeSpans.map(readableSpan =>\n sdkSpanToOtlpSpan(readableSpan, encoder)\n );\n\n scopeResourceSpans.push({\n scope: createInstrumentationScope(scopeSpans[0].instrumentationScope),\n spans: spans,\n schemaUrl: scopeSpans[0].instrumentationScope.schemaUrl,\n });\n }\n ilmEntry = ilmIterator.next();\n }\n const processedResource = createResource(resource);\n const transformedSpans: IResourceSpans = {\n resource: processedResource,\n scopeSpans: scopeResourceSpans,\n schemaUrl: processedResource.schemaUrl,\n };\n\n out.push(transformedSpans);\n entry = entryIterator.next();\n }\n\n return out;\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/trace/internal.ts"],"names":[],"mappings":";;;AAmBA,iDAI4B;AAW5B,2CAAiD;AAEjD,uDAAuD;AACvD,MAAM,qCAAqC,GAAG,KAAK,CAAC;AACpD,MAAM,iCAAiC,GAAG,KAAK,CAAC;AAEhD;;;GAGG;AACH,SAAS,kBAAkB,CAAC,UAAkB,EAAE,QAAkB;IAChE,gDAAgD;IAChD,IAAI,KAA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BAAkB;YAC9B,SAAS,EAAE,iBAAiB,CAAC,SAAS;SACvC,CAAC;QAEF,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC3B,KAAK,GAAG,aAAa,CAAC,IAAI,EAAE,CAAC;KAC9B;IAED,OAAO,GAAG,CAAC;AACb,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { Link } from '@opentelemetry/api';\nimport { Resource } from '@opentelemetry/resources';\nimport type { ReadableSpan, TimedEvent } from '@opentelemetry/sdk-trace-base';\nimport type { Encoder } from '../common/utils';\nimport {\n createInstrumentationScope,\n createResource,\n toAttributes,\n} from '../common/internal';\nimport {\n EStatusCode,\n IEvent,\n IExportTraceServiceRequest,\n ILink,\n IResourceSpans,\n IScopeSpans,\n ISpan,\n} from './internal-types';\nimport { OtlpEncodingOptions } from '../common/internal-types';\nimport { getOtlpEncoder } from '../common/utils';\n\n// Span flags constants matching the OTLP specification\nconst SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK = 0x100;\nconst SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK = 0x200;\n\n/**\n * Builds the 32-bit span flags value combining the low 8-bit W3C TraceFlags\n * with the HAS_IS_REMOTE and IS_REMOTE bits according to the OTLP spec.\n */\nfunction buildSpanFlagsFrom(traceFlags: number, isRemote?: boolean): number {\n // low 8 bits are W3C TraceFlags (e.g., sampled)\n let flags = (traceFlags & 0xff) | SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK;\n if (isRemote) {\n flags |= SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK;\n }\n return flags;\n}\n\nexport function sdkSpanToOtlpSpan(span: ReadableSpan, encoder: Encoder): ISpan {\n const ctx = span.spanContext();\n const status = span.status;\n const parentSpanId = span.parentSpanContext?.spanId\n ? encoder.encodeSpanContext(span.parentSpanContext?.spanId)\n : undefined;\n return {\n traceId: encoder.encodeSpanContext(ctx.traceId),\n spanId: encoder.encodeSpanContext(ctx.spanId),\n parentSpanId: parentSpanId,\n traceState: ctx.traceState?.serialize(),\n name: span.name,\n // Span kind is offset by 1 because the API does not define a value for unset\n kind: span.kind == null ? 0 : span.kind + 1,\n startTimeUnixNano: encoder.encodeHrTime(span.startTime),\n endTimeUnixNano: encoder.encodeHrTime(span.endTime),\n attributes: toAttributes(span.attributes),\n droppedAttributesCount: span.droppedAttributesCount,\n events: span.events.map(event => toOtlpSpanEvent(event, encoder)),\n droppedEventsCount: span.droppedEventsCount,\n status: {\n // API and proto enums share the same values\n code: status.code as unknown as EStatusCode,\n message: status.message,\n },\n links: span.links.map(link => toOtlpLink(link, encoder)),\n droppedLinksCount: span.droppedLinksCount,\n flags: buildSpanFlagsFrom(ctx.traceFlags, span.parentSpanContext?.isRemote),\n };\n}\n\nexport function toOtlpLink(link: Link, encoder: Encoder): ILink {\n return {\n attributes: link.attributes ? toAttributes(link.attributes) : [],\n spanId: encoder.encodeSpanContext(link.context.spanId),\n traceId: encoder.encodeSpanContext(link.context.traceId),\n traceState: link.context.traceState?.serialize(),\n droppedAttributesCount: link.droppedAttributesCount || 0,\n flags: buildSpanFlagsFrom(link.context.traceFlags, link.context.isRemote),\n };\n}\n\nexport function toOtlpSpanEvent(\n timedEvent: TimedEvent,\n encoder: Encoder\n): IEvent {\n return {\n attributes: timedEvent.attributes\n ? toAttributes(timedEvent.attributes)\n : [],\n name: timedEvent.name,\n timeUnixNano: encoder.encodeHrTime(timedEvent.time),\n droppedAttributesCount: timedEvent.droppedAttributesCount || 0,\n };\n}\n\nexport function createExportTraceServiceRequest(\n spans: ReadableSpan[],\n options?: OtlpEncodingOptions\n): IExportTraceServiceRequest {\n const encoder = getOtlpEncoder(options);\n return {\n resourceSpans: spanRecordsToResourceSpans(spans, encoder),\n };\n}\n\nfunction createResourceMap(readableSpans: ReadableSpan[]) {\n const resourceMap: Map<Resource, Map<string, ReadableSpan[]>> = new Map();\n for (const record of readableSpans) {\n let ilsMap = resourceMap.get(record.resource);\n\n if (!ilsMap) {\n ilsMap = new Map();\n resourceMap.set(record.resource, ilsMap);\n }\n\n // TODO this is duplicated in basic tracer. Consolidate on a common helper in core\n const instrumentationScopeKey = `${record.instrumentationScope.name}@${\n record.instrumentationScope.version || ''\n }:${record.instrumentationScope.schemaUrl || ''}`;\n let records = ilsMap.get(instrumentationScopeKey);\n\n if (!records) {\n records = [];\n ilsMap.set(instrumentationScopeKey, records);\n }\n\n records.push(record);\n }\n\n return resourceMap;\n}\n\nfunction spanRecordsToResourceSpans(\n readableSpans: ReadableSpan[],\n encoder: Encoder\n): IResourceSpans[] {\n const resourceMap = createResourceMap(readableSpans);\n const out: IResourceSpans[] = [];\n\n const entryIterator = resourceMap.entries();\n let entry = entryIterator.next();\n while (!entry.done) {\n const [resource, ilmMap] = entry.value;\n const scopeResourceSpans: IScopeSpans[] = [];\n const ilmIterator = ilmMap.values();\n let ilmEntry = ilmIterator.next();\n while (!ilmEntry.done) {\n const scopeSpans = ilmEntry.value;\n if (scopeSpans.length > 0) {\n const spans = scopeSpans.map(readableSpan =>\n sdkSpanToOtlpSpan(readableSpan, encoder)\n );\n\n scopeResourceSpans.push({\n scope: createInstrumentationScope(scopeSpans[0].instrumentationScope),\n spans: spans,\n schemaUrl: scopeSpans[0].instrumentationScope.schemaUrl,\n });\n }\n ilmEntry = ilmIterator.next();\n }\n const processedResource = createResource(resource);\n const transformedSpans: IResourceSpans = {\n resource: processedResource,\n scopeSpans: scopeResourceSpans,\n schemaUrl: processedResource.schemaUrl,\n };\n\n out.push(transformedSpans);\n entry = entryIterator.next();\n }\n\n return out;\n}\n"]}
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.207.0",
7
+ "version": "0.211.0",
8
8
  "description": "Transform OpenTelemetry SDK data into OTLP",
9
9
  "module": "build/esm/index.js",
10
10
  "esnext": "build/esnext/index.js",
@@ -17,7 +17,9 @@
17
17
  "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
18
18
  "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
19
19
  "protos": "npm run submodule && npm run protos:generate",
20
- "protos:generate": "node ../../../scripts/generate-protos.js",
20
+ "protos:generate:js": "pbjs -t static-module -p ./protos -w commonjs --null-defaults -o ./src/generated/root.js ./protos/opentelemetry/proto/common/v1/common.proto ./protos/opentelemetry/proto/resource/v1/resource.proto ./protos/opentelemetry/proto/trace/v1/trace.proto ./protos/opentelemetry/proto/collector/trace/v1/trace_service.proto ./protos/opentelemetry/proto/metrics/v1/metrics.proto ./protos/opentelemetry/proto/collector/metrics/v1/metrics_service.proto ./protos/opentelemetry/proto/logs/v1/logs.proto ./protos/opentelemetry/proto/collector/logs/v1/logs_service.proto",
21
+ "protos:generate:ts": "pbts -o ./src/generated/root.d.ts ./src/generated/root.js",
22
+ "protos:generate": "npm run protos:generate:js && npm run protos:generate:ts",
21
23
  "lint": "eslint . --ext .ts",
22
24
  "lint:fix": "eslint . --ext .ts --fix",
23
25
  "tdd": "npm run test -- --watch-extensions ts --watch",
@@ -71,23 +73,23 @@
71
73
  "karma-mocha": "2.0.1",
72
74
  "karma-spec-reporter": "0.0.36",
73
75
  "karma-webpack": "5.0.1",
74
- "mocha": "11.7.4",
76
+ "mocha": "11.7.5",
75
77
  "nyc": "17.1.0",
76
- "protobufjs-cli": "1.1.3",
78
+ "protobufjs-cli": "2.0.0",
77
79
  "ts-loader": "9.5.4",
78
80
  "typescript": "5.0.4",
79
81
  "webpack": "5.101.3"
80
82
  },
81
83
  "dependencies": {
82
- "@opentelemetry/api-logs": "0.207.0",
83
- "@opentelemetry/core": "2.2.0",
84
- "@opentelemetry/resources": "2.2.0",
85
- "@opentelemetry/sdk-logs": "0.207.0",
86
- "@opentelemetry/sdk-metrics": "2.2.0",
87
- "@opentelemetry/sdk-trace-base": "2.2.0",
88
- "protobufjs": "^7.3.0"
84
+ "@opentelemetry/api-logs": "0.211.0",
85
+ "@opentelemetry/core": "2.5.0",
86
+ "@opentelemetry/resources": "2.5.0",
87
+ "@opentelemetry/sdk-logs": "0.211.0",
88
+ "@opentelemetry/sdk-metrics": "2.5.0",
89
+ "@opentelemetry/sdk-trace-base": "2.5.0",
90
+ "protobufjs": "8.0.0"
89
91
  },
90
92
  "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-transformer",
91
93
  "sideEffects": false,
92
- "gitHead": "fb6476d8243ac8dcaaea74130b9c50c43938275c"
94
+ "gitHead": "38924cbff2a6e924ce8a2a227d3a72de52fbcd35"
93
95
  }
@@ -1,6 +1,6 @@
1
- MIT License
1
+ The MIT License (MIT)
2
2
 
3
- Copyright (c) 2010 - 2021 Brian Carlson
3
+ Copyright (c) 2014 Iced Development
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
@@ -0,0 +1,105 @@
1
+ pg-connection-string
2
+ ====================
3
+
4
+ [![NPM](https://nodei.co/npm/pg-connection-string.png?compact=true)](https://nodei.co/npm/pg-connection-string/)
5
+
6
+ Functions for dealing with a PostgresSQL connection string
7
+
8
+ `parse` method taken from [node-postgres](https://github.com/brianc/node-postgres.git)
9
+ Copyright (c) 2010-2014 Brian Carlson (brian.m.carlson@gmail.com)
10
+ MIT License
11
+
12
+ ## Usage
13
+
14
+ ```js
15
+ const parse = require('pg-connection-string').parse;
16
+
17
+ const config = parse('postgres://someuser:somepassword@somehost:381/somedatabase')
18
+ ```
19
+
20
+ The resulting config contains a subset of the following properties:
21
+
22
+ * `user` - User with which to authenticate to the server
23
+ * `password` - Corresponding password
24
+ * `host` - Postgres server hostname or, for UNIX domain sockets, the socket filename
25
+ * `port` - port on which to connect
26
+ * `database` - Database name within the server
27
+ * `client_encoding` - string encoding the client will use
28
+ * `ssl`, either a boolean or an object with properties
29
+ * `rejectUnauthorized`
30
+ * `cert`
31
+ * `key`
32
+ * `ca`
33
+ * any other query parameters (for example, `application_name`) are preserved intact.
34
+
35
+ ### ClientConfig Compatibility for TypeScript
36
+
37
+ The pg-connection-string `ConnectionOptions` interface is not compatible with the `ClientConfig` interface that [pg.Client](https://node-postgres.com/apis/client) expects. To remedy this, use the `parseIntoClientConfig` function instead of `parse`:
38
+
39
+ ```ts
40
+ import { ClientConfig } from 'pg';
41
+ import { parseIntoClientConfig } from 'pg-connection-string';
42
+
43
+ const config: ClientConfig = parseIntoClientConfig('postgres://someuser:somepassword@somehost:381/somedatabase')
44
+ ```
45
+
46
+ You can also use `toClientConfig` to convert an existing `ConnectionOptions` interface into a `ClientConfig` interface:
47
+
48
+ ```ts
49
+ import { ClientConfig } from 'pg';
50
+ import { parse, toClientConfig } from 'pg-connection-string';
51
+
52
+ const config = parse('postgres://someuser:somepassword@somehost:381/somedatabase')
53
+ const clientConfig: ClientConfig = toClientConfig(config)
54
+ ```
55
+
56
+ ## Connection Strings
57
+
58
+ The short summary of acceptable URLs is:
59
+
60
+ * `socket:<path>?<query>` - UNIX domain socket
61
+ * `postgres://<user>:<password>@<host>:<port>/<database>?<query>` - TCP connection
62
+
63
+ But see below for more details.
64
+
65
+ ### UNIX Domain Sockets
66
+
67
+ When user and password are not given, the socket path follows `socket:`, as in `socket:/var/run/pgsql`.
68
+ This form can be shortened to just a path: `/var/run/pgsql`.
69
+
70
+ When user and password are given, they are included in the typical URL positions, with an empty `host`, as in `socket://user:pass@/var/run/pgsql`.
71
+
72
+ Query parameters follow a `?` character, including the following special query parameters:
73
+
74
+ * `db=<database>` - sets the database name (urlencoded)
75
+ * `encoding=<encoding>` - sets the `client_encoding` property
76
+
77
+ ### TCP Connections
78
+
79
+ TCP connections to the Postgres server are indicated with `pg:` or `postgres:` schemes (in fact, any scheme but `socket:` is accepted).
80
+ If username and password are included, they should be urlencoded.
81
+ The database name, however, should *not* be urlencoded.
82
+
83
+ Query parameters follow a `?` character, including the following special query parameters:
84
+ * `host=<host>` - sets `host` property, overriding the URL's host
85
+ * `encoding=<encoding>` - sets the `client_encoding` property
86
+ * `ssl=1`, `ssl=true`, `ssl=0`, `ssl=false` - sets `ssl` to true or false, accordingly
87
+ * `uselibpqcompat=true` - use libpq semantics
88
+ * `sslmode=<sslmode>` when `uselibpqcompat=true` is not set
89
+ * `sslmode=disable` - sets `ssl` to false
90
+ * `sslmode=no-verify` - sets `ssl` to `{ rejectUnauthorized: false }`
91
+ * `sslmode=prefer`, `sslmode=require`, `sslmode=verify-ca`, `sslmode=verify-full` - sets `ssl` to true
92
+ * `sslmode=<sslmode>` when `uselibpqcompat=true`
93
+ * `sslmode=disable` - sets `ssl` to false
94
+ * `sslmode=prefer` - sets `ssl` to `{ rejectUnauthorized: false }`
95
+ * `sslmode=require` - sets `ssl` to `{ rejectUnauthorized: false }` unless `sslrootcert` is specified, in which case it behaves like `verify-ca`
96
+ * `sslmode=verify-ca` - sets `ssl` to `{ checkServerIdentity: no-op }` (verify CA, but not server identity). This verifies the presented certificate against the effective CA specified in sslrootcert.
97
+ * `sslmode=verify-full` - sets `ssl` to `{}` (verify CA and server identity)
98
+ * `sslcert=<filename>` - reads data from the given file and includes the result as `ssl.cert`
99
+ * `sslkey=<filename>` - reads data from the given file and includes the result as `ssl.key`
100
+ * `sslrootcert=<filename>` - reads data from the given file and includes the result as `ssl.ca`
101
+
102
+ A bare relative URL, such as `salesdata`, will indicate a database name while leaving other properties empty.
103
+
104
+ > [!CAUTION]
105
+ > Choosing an sslmode other than verify-full has serious security implications. Please read https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS to understand the trade-offs.
@@ -0,0 +1,8 @@
1
+ // ESM wrapper for pg-connection-string
2
+ import connectionString from '../index.js'
3
+
4
+ // Re-export the parse function
5
+ export default connectionString.parse
6
+ export const parse = connectionString.parse
7
+ export const toClientConfig = connectionString.toClientConfig
8
+ export const parseIntoClientConfig = connectionString.parseIntoClientConfig
@@ -0,0 +1,36 @@
1
+ import { ClientConfig } from 'pg'
2
+
3
+ export function parse(connectionString: string, options?: Options): ConnectionOptions
4
+
5
+ export interface Options {
6
+ // Use libpq semantics when interpreting the connection string
7
+ useLibpqCompat?: boolean
8
+ }
9
+
10
+ interface SSLConfig {
11
+ ca?: string
12
+ cert?: string | null
13
+ key?: string
14
+ rejectUnauthorized?: boolean
15
+ }
16
+
17
+ export interface ConnectionOptions {
18
+ host: string | null
19
+ password?: string
20
+ user?: string
21
+ port?: string | null
22
+ database: string | null | undefined
23
+ client_encoding?: string
24
+ ssl?: boolean | string | SSLConfig
25
+
26
+ application_name?: string
27
+ fallback_application_name?: string
28
+ options?: string
29
+ keepalives?: number
30
+
31
+ // We allow any other options to be passed through
32
+ [key: string]: unknown
33
+ }
34
+
35
+ export function toClientConfig(config: ConnectionOptions): ClientConfig
36
+ export function parseIntoClientConfig(connectionString: string): ClientConfig
@@ -0,0 +1,231 @@
1
+ 'use strict'
2
+
3
+ //Parse method copied from https://github.com/brianc/node-postgres
4
+ //Copyright (c) 2010-2014 Brian Carlson (brian.m.carlson@gmail.com)
5
+ //MIT License
6
+
7
+ //parses a connection string
8
+ function parse(str, options = {}) {
9
+ //unix socket
10
+ if (str.charAt(0) === '/') {
11
+ const config = str.split(' ')
12
+ return { host: config[0], database: config[1] }
13
+ }
14
+
15
+ // Check for empty host in URL
16
+
17
+ const config = {}
18
+ let result
19
+ let dummyHost = false
20
+ if (/ |%[^a-f0-9]|%[a-f0-9][^a-f0-9]/i.test(str)) {
21
+ // Ensure spaces are encoded as %20
22
+ str = encodeURI(str).replace(/%25(\d\d)/g, '%$1')
23
+ }
24
+
25
+ try {
26
+ try {
27
+ result = new URL(str, 'postgres://base')
28
+ } catch (e) {
29
+ // The URL is invalid so try again with a dummy host
30
+ result = new URL(str.replace('@/', '@___DUMMY___/'), 'postgres://base')
31
+ dummyHost = true
32
+ }
33
+ } catch (err) {
34
+ // Remove the input from the error message to avoid leaking sensitive information
35
+ err.input && (err.input = '*****REDACTED*****')
36
+ throw err
37
+ }
38
+
39
+ // We'd like to use Object.fromEntries() here but Node.js 10 does not support it
40
+ for (const entry of result.searchParams.entries()) {
41
+ config[entry[0]] = entry[1]
42
+ }
43
+
44
+ config.user = config.user || decodeURIComponent(result.username)
45
+ config.password = config.password || decodeURIComponent(result.password)
46
+
47
+ if (result.protocol == 'socket:') {
48
+ config.host = decodeURI(result.pathname)
49
+ config.database = result.searchParams.get('db')
50
+ config.client_encoding = result.searchParams.get('encoding')
51
+ return config
52
+ }
53
+ const hostname = dummyHost ? '' : result.hostname
54
+ if (!config.host) {
55
+ // Only set the host if there is no equivalent query param.
56
+ config.host = decodeURIComponent(hostname)
57
+ } else if (hostname && /^%2f/i.test(hostname)) {
58
+ // Only prepend the hostname to the pathname if it is not a URL encoded Unix socket host.
59
+ result.pathname = hostname + result.pathname
60
+ }
61
+ if (!config.port) {
62
+ // Only set the port if there is no equivalent query param.
63
+ config.port = result.port
64
+ }
65
+
66
+ const pathname = result.pathname.slice(1) || null
67
+ config.database = pathname ? decodeURI(pathname) : null
68
+
69
+ if (config.ssl === 'true' || config.ssl === '1') {
70
+ config.ssl = true
71
+ }
72
+
73
+ if (config.ssl === '0') {
74
+ config.ssl = false
75
+ }
76
+
77
+ if (config.sslcert || config.sslkey || config.sslrootcert || config.sslmode) {
78
+ config.ssl = {}
79
+ }
80
+
81
+ // Only try to load fs if we expect to read from the disk
82
+ const fs = config.sslcert || config.sslkey || config.sslrootcert ? require('fs') : null
83
+
84
+ if (config.sslcert) {
85
+ config.ssl.cert = fs.readFileSync(config.sslcert).toString()
86
+ }
87
+
88
+ if (config.sslkey) {
89
+ config.ssl.key = fs.readFileSync(config.sslkey).toString()
90
+ }
91
+
92
+ if (config.sslrootcert) {
93
+ config.ssl.ca = fs.readFileSync(config.sslrootcert).toString()
94
+ }
95
+
96
+ if (options.useLibpqCompat && config.uselibpqcompat) {
97
+ throw new Error('Both useLibpqCompat and uselibpqcompat are set. Please use only one of them.')
98
+ }
99
+
100
+ if (config.uselibpqcompat === 'true' || options.useLibpqCompat) {
101
+ switch (config.sslmode) {
102
+ case 'disable': {
103
+ config.ssl = false
104
+ break
105
+ }
106
+ case 'prefer': {
107
+ config.ssl.rejectUnauthorized = false
108
+ break
109
+ }
110
+ case 'require': {
111
+ if (config.sslrootcert) {
112
+ // If a root CA is specified, behavior of `sslmode=require` will be the same as that of `verify-ca`
113
+ config.ssl.checkServerIdentity = function () {}
114
+ } else {
115
+ config.ssl.rejectUnauthorized = false
116
+ }
117
+ break
118
+ }
119
+ case 'verify-ca': {
120
+ if (!config.ssl.ca) {
121
+ throw new Error(
122
+ 'SECURITY WARNING: Using sslmode=verify-ca requires specifying a CA with sslrootcert. If a public CA is used, verify-ca allows connections to a server that somebody else may have registered with the CA, making you vulnerable to Man-in-the-Middle attacks. Either specify a custom CA certificate with sslrootcert parameter or use sslmode=verify-full for proper security.'
123
+ )
124
+ }
125
+ config.ssl.checkServerIdentity = function () {}
126
+ break
127
+ }
128
+ case 'verify-full': {
129
+ break
130
+ }
131
+ }
132
+ } else {
133
+ switch (config.sslmode) {
134
+ case 'disable': {
135
+ config.ssl = false
136
+ break
137
+ }
138
+ case 'prefer':
139
+ case 'require':
140
+ case 'verify-ca':
141
+ case 'verify-full': {
142
+ if (config.sslmode !== 'verify-full') {
143
+ deprecatedSslModeWarning(config.sslmode)
144
+ }
145
+ break
146
+ }
147
+ case 'no-verify': {
148
+ config.ssl.rejectUnauthorized = false
149
+ break
150
+ }
151
+ }
152
+ }
153
+
154
+ return config
155
+ }
156
+
157
+ // convert pg-connection-string ssl config to a ClientConfig.ConnectionOptions
158
+ function toConnectionOptions(sslConfig) {
159
+ const connectionOptions = Object.entries(sslConfig).reduce((c, [key, value]) => {
160
+ // we explicitly check for undefined and null instead of `if (value)` because some
161
+ // options accept falsy values. Example: `ssl.rejectUnauthorized = false`
162
+ if (value !== undefined && value !== null) {
163
+ c[key] = value
164
+ }
165
+
166
+ return c
167
+ }, {})
168
+
169
+ return connectionOptions
170
+ }
171
+
172
+ // convert pg-connection-string config to a ClientConfig
173
+ function toClientConfig(config) {
174
+ const poolConfig = Object.entries(config).reduce((c, [key, value]) => {
175
+ if (key === 'ssl') {
176
+ const sslConfig = value
177
+
178
+ if (typeof sslConfig === 'boolean') {
179
+ c[key] = sslConfig
180
+ }
181
+
182
+ if (typeof sslConfig === 'object') {
183
+ c[key] = toConnectionOptions(sslConfig)
184
+ }
185
+ } else if (value !== undefined && value !== null) {
186
+ if (key === 'port') {
187
+ // when port is not specified, it is converted into an empty string
188
+ // we want to avoid NaN or empty string as a values in ClientConfig
189
+ if (value !== '') {
190
+ const v = parseInt(value, 10)
191
+ if (isNaN(v)) {
192
+ throw new Error(`Invalid ${key}: ${value}`)
193
+ }
194
+
195
+ c[key] = v
196
+ }
197
+ } else {
198
+ c[key] = value
199
+ }
200
+ }
201
+
202
+ return c
203
+ }, {})
204
+
205
+ return poolConfig
206
+ }
207
+
208
+ // parses a connection string into ClientConfig
209
+ function parseIntoClientConfig(str) {
210
+ return toClientConfig(parse(str))
211
+ }
212
+
213
+ function deprecatedSslModeWarning(sslmode) {
214
+ if (!deprecatedSslModeWarning.warned && typeof process !== 'undefined' && process.emitWarning) {
215
+ deprecatedSslModeWarning.warned = true
216
+ process.emitWarning(`SECURITY WARNING: The SSL modes 'prefer', 'require', and 'verify-ca' are treated as aliases for 'verify-full'.
217
+ In the next major version (pg-connection-string v3.0.0 and pg v9.0.0), these modes will adopt standard libpq semantics, which have weaker security guarantees.
218
+
219
+ To prepare for this change:
220
+ - If you want the current behavior, explicitly use 'sslmode=verify-full'
221
+ - If you want libpq compatibility now, use 'uselibpqcompat=true&sslmode=${sslmode}'
222
+
223
+ See https://www.postgresql.org/docs/current/libpq-ssl.html for libpq SSL mode definitions.`)
224
+ }
225
+ }
226
+
227
+ module.exports = parse
228
+
229
+ parse.parse = parse
230
+ parse.toClientConfig = toClientConfig
231
+ parse.parseIntoClientConfig = parseIntoClientConfig
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "pg-connection-string",
3
+ "version": "2.12.0",
4
+ "description": "Functions for dealing with a PostgresSQL connection string",
5
+ "main": "./index.js",
6
+ "types": "./index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./index.d.ts",
10
+ "import": "./esm/index.mjs",
11
+ "require": "./index.js",
12
+ "default": "./index.js"
13
+ }
14
+ },
15
+ "scripts": {
16
+ "test": "nyc --reporter=lcov mocha && npm run check-coverage",
17
+ "check-coverage": "nyc check-coverage --statements 100 --branches 100 --lines 100 --functions 100"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git://github.com/brianc/node-postgres.git",
22
+ "directory": "packages/pg-connection-string"
23
+ },
24
+ "keywords": [
25
+ "pg",
26
+ "connection",
27
+ "string",
28
+ "parse"
29
+ ],
30
+ "author": "Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)",
31
+ "license": "MIT",
32
+ "bugs": {
33
+ "url": "https://github.com/brianc/node-postgres/issues"
34
+ },
35
+ "homepage": "https://github.com/brianc/node-postgres/tree/master/packages/pg-connection-string",
36
+ "devDependencies": {
37
+ "@types/pg": "^8.12.0",
38
+ "chai": "^4.1.1",
39
+ "coveralls": "^3.0.4",
40
+ "istanbul": "^0.4.5",
41
+ "mocha": "^11.7.5",
42
+ "nyc": "^15",
43
+ "tsx": "^4.19.4",
44
+ "typescript": "^4.0.3"
45
+ },
46
+ "files": [
47
+ "index.js",
48
+ "index.d.ts",
49
+ "esm"
50
+ ],
51
+ "gitHead": "c9070cc8d526fca65780cedc25c1966b57cf7532"
52
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.5 (c) 2016, daniel wirtz
3
- * compiled wed, 15 apr 2026 04:40:15 utc
2
+ * protobuf.js v8.0.0 (c) 2016, daniel wirtz
3
+ * compiled tue, 16 dec 2025 22:00:06 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -2610,12 +2610,8 @@ var util = require(35);
2610
2610
  function Message(properties) {
2611
2611
  // not used internally
2612
2612
  if (properties)
2613
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) {
2614
- var key = keys[i];
2615
- if (key === "__proto__")
2616
- continue;
2617
- this[key] = properties[key];
2618
- }
2613
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
2614
+ this[keys[i]] = properties[keys[i]];
2619
2615
  }
2620
2616
 
2621
2617
  /**
@@ -2738,7 +2734,6 @@ Message.prototype.toJSON = function toJSON() {
2738
2734
  };
2739
2735
 
2740
2736
  /*eslint-enable valid-jsdoc*/
2741
-
2742
2737
  },{"35":35}],20:[function(require,module,exports){
2743
2738
  "use strict";
2744
2739
  module.exports = Method;
@@ -3462,9 +3457,10 @@ var Root; // cyclic
3462
3457
 
3463
3458
  /* eslint-disable no-warning-comments */
3464
3459
  // TODO: Replace with embedded proto.
3465
- var editions2023Defaults = {enum_type: "OPEN", field_presence: "EXPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY"};
3466
- var proto2Defaults = {enum_type: "CLOSED", field_presence: "EXPLICIT", json_format: "LEGACY_BEST_EFFORT", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "EXPANDED", utf8_validation: "NONE"};
3467
- var proto3Defaults = {enum_type: "OPEN", field_presence: "IMPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY"};
3460
+ var editions2024Defaults = {enum_type: "OPEN", field_presence: "EXPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY", enforce_naming_style: "STYLE2024", default_symbol_visibility: "EXPORT_TOP_LEVEL" };
3461
+ var editions2023Defaults = {enum_type: "OPEN", field_presence: "EXPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY", enforce_naming_style: "STYLE_LEGACY", default_symbol_visibility: "EXPORT_ALL" };
3462
+ var proto2Defaults = {enum_type: "CLOSED", field_presence: "EXPLICIT", json_format: "LEGACY_BEST_EFFORT", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "EXPANDED", utf8_validation: "NONE", enforce_naming_style: "STYLE_LEGACY", default_symbol_visibility: "EXPORT_ALL" };
3463
+ var proto3Defaults = {enum_type: "OPEN", field_presence: "IMPLICIT", json_format: "ALLOW", message_encoding: "LENGTH_PREFIXED", repeated_field_encoding: "PACKED", utf8_validation: "VERIFY", enforce_naming_style: "STYLE_LEGACY", default_symbol_visibility: "EXPORT_ALL" };
3468
3464
 
3469
3465
  /**
3470
3466
  * Constructs a new reflection object instance.
@@ -3677,6 +3673,8 @@ ReflectionObject.prototype._resolveFeatures = function _resolveFeatures(edition)
3677
3673
  defaults = Object.assign({}, proto3Defaults);
3678
3674
  } else if (edition === "2023") {
3679
3675
  defaults = Object.assign({}, editions2023Defaults);
3676
+ } else if (edition === "2024") {
3677
+ defaults = Object.assign({}, editions2024Defaults);
3680
3678
  } else {
3681
3679
  throw new Error("Unknown edition: " + edition);
3682
3680
  }
@@ -5355,7 +5353,6 @@ var Enum = require(14),
5355
5353
  * @param {Object.<string,*>} [options] Declared options
5356
5354
  */
5357
5355
  function Type(name, options) {
5358
- name = name.replace(/\W/g, "");
5359
5356
  Namespace.call(this, name, options);
5360
5357
 
5361
5358
  /**