decocms 2.281.0 → 2.281.2

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 (226) hide show
  1. package/dist/client/assets/{AlertCircle-BxQaCgH5.js → AlertCircle-BeQFaTo3.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-DvPafpou.js → ArrowNarrowLeft-C-IANgnQ.js} +1 -1
  3. package/dist/client/assets/{CheckCircle-BXxeGcqo.js → CheckCircle-Dh4A5tI_.js} +1 -1
  4. package/dist/client/assets/{ChevronDown-CrxTrcXn.js → ChevronDown-D9aZn2Hi.js} +1 -1
  5. package/dist/client/assets/{ChevronRight-fzPkai24.js → ChevronRight-CkL59Zuk.js} +1 -1
  6. package/dist/client/assets/{ChevronUp-BbLFuIn6.js → ChevronUp-C7hCnblE.js} +1 -1
  7. package/dist/client/assets/{Container-BvBvuKbb.js → Container-CSvdcipc.js} +1 -1
  8. package/dist/client/assets/{LinkExternal01-DbT6EESI.js → LinkExternal01-sdvrsKlM.js} +1 -1
  9. package/dist/client/assets/{Lock01-CaWJFuU-.js → Lock01-CneVnDQd.js} +1 -1
  10. package/dist/client/assets/{Palette-C1a--nf0.js → Palette-Bo0ad1R6.js} +1 -1
  11. package/dist/client/assets/{Play-CY93msn5.js → Play-BhoAd8Uu.js} +1 -1
  12. package/dist/client/assets/{Plus-BZVr8DYe.js → Plus-79r9zazJ.js} +1 -1
  13. package/dist/client/assets/{SearchMd-C9eIKicL.js → SearchMd-00qF-7Ba.js} +1 -1
  14. package/dist/client/assets/{Settings02-B7X_pyal.js → Settings02-B6cIpcv6.js} +1 -1
  15. package/dist/client/assets/{Star01-D0sHRGJP.js → Star01-RArWROxo.js} +1 -1
  16. package/dist/client/assets/{Sun-D9auuaNU.js → Sun-CaIYIMZ6.js} +1 -1
  17. package/dist/client/assets/{Tool01-CrowYf0-.js → Tool01-BK4G_l0X.js} +1 -1
  18. package/dist/client/assets/{Trash01-DS4oT9KI.js → Trash01-PNv-fbRK.js} +1 -1
  19. package/dist/client/assets/{Upload01-CNVpf4nT.js → Upload01-BeVyQxbB.js} +1 -1
  20. package/dist/client/assets/{User01-BFQVnPPl.js → User01-BirINwKI.js} +1 -1
  21. package/dist/client/assets/{Users03-eD4p_y7L.js → Users03-Dpk7x7z4.js} +1 -1
  22. package/dist/client/assets/{X-C8EYjrnS.js → X-KSz9xyi5.js} +1 -1
  23. package/dist/client/assets/{XCircle-CCZmjsk3.js → XCircle-uU-3aWe3.js} +1 -1
  24. package/dist/client/assets/{Zap-Cf5ECRwQ.js → Zap-DvQy6Azt.js} +1 -1
  25. package/dist/client/assets/{ZapSquare-ltoYi26-.js → ZapSquare-Dk1UmO2a.js} +1 -1
  26. package/dist/client/assets/{accordion-KwUoYs08.js → accordion-w6xYXziw.js} +1 -1
  27. package/dist/client/assets/{agent-icon-oD9g1mwD.js → agent-icon-CMOX8nfk.js} +1 -1
  28. package/dist/client/assets/{agents-list-CrpnpHtt.js → agents-list-CeEeRXns.js} +1 -1
  29. package/dist/client/assets/ai-providers-_ruFOoFf.js +1 -0
  30. package/dist/client/assets/{alert-dialog-EHv7SCLp.js → alert-dialog-DtwmYIx7.js} +1 -1
  31. package/dist/client/assets/{auth-catchall-D7l2F51O.js → auth-catchall-CMH1u4oJ.js} +1 -1
  32. package/dist/client/assets/{automation-list-row-DUYCHEU2.js → automation-list-row-Sb9JaQY9.js} +1 -1
  33. package/dist/client/assets/{automations-CPz-FBJP.js → automations-Dmw1cKQC.js} +1 -1
  34. package/dist/client/assets/{avatar-DVFg5UBS.js → avatar-BSJnhSPL.js} +1 -1
  35. package/dist/client/assets/{badge-CEpuOO6h.js → badge-BbahYJz-.js} +1 -1
  36. package/dist/client/assets/{brand-context-w6gl12tg.js → brand-context-9yJi8LtT.js} +1 -1
  37. package/dist/client/assets/{card-CngHfm2n.js → card-BBjkVedQ.js} +1 -1
  38. package/dist/client/assets/{chat-context-Be9aaK6U.js → chat-context-BVA22TkC.js} +1 -1
  39. package/dist/client/assets/{checkbox-DCZkLdlq.js → checkbox-BNYrEZke.js} +1 -1
  40. package/dist/client/assets/{collection-detail-CYHWDRuK.js → collection-detail-WDWjdfFo.js} +1 -1
  41. package/dist/client/assets/{collection-display-button-5JFAZW6R.js → collection-display-button-C_SpzkVL.js} +1 -1
  42. package/dist/client/assets/{collection-search-DOIVhdIq.js → collection-search-3gkmMFfK.js} +1 -1
  43. package/dist/client/assets/{collection-table-wrapper-Bw7EUBa7.js → collection-table-wrapper-Nq245ZaG.js} +1 -1
  44. package/dist/client/assets/{collection-tabs-xS34vPZX.js → collection-tabs-DQAAB0E9.js} +1 -1
  45. package/dist/client/assets/{collections-DjXpvr0c.js → collections-CvC03WFa.js} +1 -1
  46. package/dist/client/assets/{command-DJOBLkaO.js → command-COmac0HY.js} +1 -1
  47. package/dist/client/assets/{connection-card-7nEv8xwt.js → connection-card-C-lcUJmx.js} +1 -1
  48. package/dist/client/assets/{connection-detail-8OghRNyX.js → connection-detail-DXUAuxOs.js} +1 -1
  49. package/dist/client/assets/{connection-form-helpers-CiO0nSGf.js → connection-form-helpers-Beczk_I1.js} +1 -1
  50. package/dist/client/assets/{connections-CzFYE0ru.js → connections-jiDZ88zc.js} +1 -1
  51. package/dist/client/assets/{constants-BUXCK41y.js → constants-BXYBvBo8.js} +1 -1
  52. package/dist/client/assets/{constants-Duv9JUYf.js → constants-K9p6sFeA.js} +1 -1
  53. package/dist/client/assets/{dialog-D16krwkE.js → dialog-Cu_M3bSF.js} +1 -1
  54. package/dist/client/assets/{drawer-BX0Q18X0.js → drawer-C0zWk4g_.js} +1 -1
  55. package/dist/client/assets/{dropdown-menu-CjdH3cnv.js → dropdown-menu-DVLrmulo.js} +1 -1
  56. package/dist/client/assets/{dynamic-plugin-layout-LnDvBseE.js → dynamic-plugin-layout-4eAl2fmh.js} +1 -1
  57. package/dist/client/assets/{empty-state-HrQlq1nn.js → empty-state-BKZHnGIj.js} +1 -1
  58. package/dist/client/assets/{empty-state-CkAWq1uC.js → empty-state-CUC0Gkix.js} +1 -1
  59. package/dist/client/assets/{extract-connection-data-9XD6WNvd.js → extract-connection-data-CvyRIMCz.js} +1 -1
  60. package/dist/client/assets/{features-CYVl713Z.js → features-XCvz9PLL.js} +1 -1
  61. package/dist/client/assets/{form-qTCrGaqv.js → form-Ddm04alF.js} +1 -1
  62. package/dist/client/assets/{general-B2a79noc.js → general-DUSBEOfs.js} +1 -1
  63. package/dist/client/assets/{index-DVTmEE7D.js → index-BH8gPP0f.js} +1 -1
  64. package/dist/client/assets/{index-YYrDBPo1.js → index-BHskyDSR.js} +1 -1
  65. package/dist/client/assets/{index-BBombKt7.js → index-BPDAXzpD.js} +1 -1
  66. package/dist/client/assets/{index-BpigqXCX.js → index-BdfTJahg.js} +1 -1
  67. package/dist/client/assets/{index-BoejYp30.js → index-BhIzdEY1.js} +2 -2
  68. package/dist/client/assets/{index-C_XD7MWY.js → index-BrtLQXUh.js} +1 -1
  69. package/dist/client/assets/{index-e34ed6Pn.js → index-CU16qbkD.js} +5 -5
  70. package/dist/client/assets/{index-DP8VKV0C.js → index-Cg0hncqj.js} +1 -1
  71. package/dist/client/assets/{index-DAl9JCz9.js → index-FLw-zxvs.js} +1 -1
  72. package/dist/client/assets/{index-D_-c2np7.js → index-uAQGGxtu.js} +1 -1
  73. package/dist/client/assets/{infiniteQueryObserver-BLfYLX2L.js → infiniteQueryObserver-BO26Xlha.js} +1 -1
  74. package/dist/client/assets/{input-hIdCxVlM.js → input-Bz8fx1AG.js} +1 -1
  75. package/dist/client/assets/{integration-icon-bKnN2waE.js → integration-icon-Byenx_4j.js} +1 -1
  76. package/dist/client/assets/{label-DJdRi88u.js → label-DaHwCWWB.js} +1 -1
  77. package/dist/client/assets/{layout-BIHsvZTQ.js → layout-C8AFQnZg.js} +1 -1
  78. package/dist/client/assets/{lean-canvas-recruit-modal-DPZgXrE8.js → lean-canvas-recruit-modal-mykHJAKm.js} +1 -1
  79. package/dist/client/assets/{login-DB8h2HWK.js → login-DwiMJDl5.js} +1 -1
  80. package/dist/client/assets/{members-0FgWuNC0.js → members-Cd_WsIS9.js} +1 -1
  81. package/dist/client/assets/{monaco-editor-CHhwvtI4.js → monaco-editor-D27CWon0.js} +1 -1
  82. package/dist/client/assets/{monitoring-stats-row-C6LTe68M.js → monitoring-stats-row-C-XRpFjl.js} +1 -1
  83. package/dist/client/assets/{oauth-callback-k8xXYSid.js → oauth-callback-GuSY-vSr.js} +1 -1
  84. package/dist/client/assets/{oauth-callback-ai-provider-C_-yG4iT.js → oauth-callback-ai-provider-D3FgevI5.js} +1 -1
  85. package/dist/client/assets/{onboarding-B5xnY3QT.js → onboarding-PM_BE0uA.js} +1 -1
  86. package/dist/client/assets/{org-layout-6EKPoipE.js → org-layout-C251Cbcv.js} +1 -1
  87. package/dist/client/assets/{org-plugin-layout-DYZIRSwp.js → org-plugin-layout-BwQLOazi.js} +1 -1
  88. package/dist/client/assets/{plugin-empty-state-BbybNTeM.js → plugin-empty-state-DLXHjQeu.js} +1 -1
  89. package/dist/client/assets/{plugin-header-B2RXVpJh.js → plugin-header-BddmOg85.js} +1 -1
  90. package/dist/client/assets/{plugin-layout-DHLvO9Dh.js → plugin-layout-RqfANRb_.js} +1 -1
  91. package/dist/client/assets/{popover-C90GtPgC.js → popover-BEF8mI0w.js} +1 -1
  92. package/dist/client/assets/{profile-DNZ3qnav.js → profile-DrdPa8Y7.js} +1 -1
  93. package/dist/client/assets/{project-app-view-PfZah6FJ.js → project-app-view-XrA_5t6Q.js} +1 -1
  94. package/dist/client/assets/registry-hvW8DAlR.js +2 -0
  95. package/dist/client/assets/{registry-layout-BGtCYpl3.js → registry-layout-CwCyJT-v.js} +1 -1
  96. package/dist/client/assets/{required-auth-layout-CcZu2eiU.js → required-auth-layout-Cxviv7yN.js} +1 -1
  97. package/dist/client/assets/{reset-password-Baelzqwt.js → reset-password-DYbWh4Wq.js} +1 -1
  98. package/dist/client/assets/{scroll-area-CPiePQfy.js → scroll-area-_gjorSmM.js} +1 -1
  99. package/dist/client/assets/{search-input-CqO18JkA.js → search-input-Dflevf_r.js} +1 -1
  100. package/dist/client/assets/{select-model-DRcCvlGm.js → select-model-BgS5BYlp.js} +1 -1
  101. package/dist/client/assets/{select-CCLwskrC.js → select-ruUaRI3f.js} +1 -1
  102. package/dist/client/assets/{settings-layout-BGlOTmCZ.js → settings-layout-C9QCDWL8.js} +1 -1
  103. package/dist/client/assets/{shell-layout-BYFHDWBl.js → shell-layout-Lnkya_bN.js} +1 -1
  104. package/dist/client/assets/{skeleton-DkloI2z9.js → skeleton-CvZ1yhmk.js} +1 -1
  105. package/dist/client/assets/{sso-Dqmth7wr.js → sso-DVCm0NAv.js} +1 -1
  106. package/dist/client/assets/{store-CYvqBBPo.js → store-BAtOk8g6.js} +1 -1
  107. package/dist/client/assets/store-registry-DyRkwg3g.js +2 -0
  108. package/dist/client/assets/{switch-SQOxx_BP.js → switch-C4VRxkon.js} +1 -1
  109. package/dist/client/assets/{table-Biv5Zl2S.js → table-C1xMho2l.js} +1 -1
  110. package/dist/client/assets/{tabs-BE5QvfFm.js → tabs-MUC8gGmo.js} +1 -1
  111. package/dist/client/assets/{task-status-BahLevpJ.js → task-status-DBTk3ApD.js} +1 -1
  112. package/dist/client/assets/{textarea-O7MTYJio.js → textarea-Dh5aI-9Q.js} +1 -1
  113. package/dist/client/assets/{toggle-group-BBXD8yQY.js → toggle-group-qqPb8p7Z.js} +1 -1
  114. package/dist/client/assets/{tools-list-jfk3mcX8.js → tools-list-5INqbH2J.js} +1 -1
  115. package/dist/client/assets/{types-hhFb4L42.js → types-Bp-YI7R5.js} +1 -1
  116. package/dist/client/assets/{use-ai-providers-DKOqE3I1.js → use-ai-providers-BXn7VXga.js} +1 -1
  117. package/dist/client/assets/{use-collections-CtLjZXHp.js → use-collections-Dg7sh01O.js} +1 -1
  118. package/dist/client/assets/{use-connection-B36YYtyz.js → use-connection-DhM_x-jA.js} +1 -1
  119. package/dist/client/assets/{use-copy-ISngWsJv.js → use-copy-BuEIWb6s.js} +1 -1
  120. package/dist/client/assets/{use-create-virtual-mcp-P3ThMp2c.js → use-create-virtual-mcp-KKiF-MXD.js} +1 -1
  121. package/dist/client/assets/{use-decopilot-events-CqlYsGHg.js → use-decopilot-events-BSRQhWTI.js} +1 -1
  122. package/dist/client/assets/{use-delete-connection-dweYZdv3.js → use-delete-connection-EjeBh_jx.js} +1 -1
  123. package/dist/client/assets/{use-infinite-scroll-D5138Ysw.js → use-infinite-scroll-BvRRlmDj.js} +1 -1
  124. package/dist/client/assets/{use-list-state-BxqDajfT.js → use-list-state-DJ8S20f9.js} +1 -1
  125. package/dist/client/assets/{use-mcp-tools-Rbcl8RAc.js → use-mcp-tools-C0kKBiKr.js} +1 -1
  126. package/dist/client/assets/{use-members-Cpr8Lly2.js → use-members-D4VPX3yK.js} +1 -1
  127. package/dist/client/assets/{use-mobile-CjtYs6gm.js → use-mobile-BXRLCdzR.js} +1 -1
  128. package/dist/client/assets/{use-navigate-to-agent-0m1reJMx.js → use-navigate-to-agent-C1QNfHMd.js} +1 -1
  129. package/dist/client/assets/{use-org-sso-DoUQ063I.js → use-org-sso-C1E2S5f1.js} +1 -1
  130. package/dist/client/assets/{use-organization-settings-j9ISdWd3.js → use-organization-settings-NQDr_YDe.js} +1 -1
  131. package/dist/client/assets/{use-registry-connections-FiU8g9bc.js → use-registry-connections-2buwPIEr.js} +1 -1
  132. package/dist/client/assets/{use-status-sounds-g-sVxPRo.js → use-status-sounds-C5rJSnr7.js} +1 -1
  133. package/dist/client/assets/{use-tasks-CBiZHQE7.js → use-tasks-DoJvFu21.js} +1 -1
  134. package/dist/client/assets/{use-view-mode-DpJ_I2Mv.js → use-view-mode-eHr1pnSD.js} +1 -1
  135. package/dist/client/assets/{use-virtual-mcp-Byg6Gkle.js → use-virtual-mcp-DPQanfrd.js} +1 -1
  136. package/dist/client/assets/useInfiniteQuery-Cozeocmy.js +1 -0
  137. package/dist/client/assets/{user-CehMCPUl.js → user-D-0Dg4hb.js} +1 -1
  138. package/dist/client/assets/{view-mode-toggle-Oi2Jp3cj.js → view-mode-toggle-C9JdTAIx.js} +1 -1
  139. package/dist/client/assets/{workflow-Go__bVq7.js → workflow-Bo7CKW-_.js} +1 -1
  140. package/dist/client/assets/workflow-detail-cv-DGPKy.js +1 -0
  141. package/dist/client/index.html +1 -1
  142. package/dist/server/cli.js +380 -380
  143. package/dist/server/node_modules/ansi-styles/index.d.ts +236 -0
  144. package/dist/server/node_modules/ansi-styles/index.js +223 -0
  145. package/dist/server/node_modules/{slice-ansi → ansi-styles}/license +0 -1
  146. package/dist/server/node_modules/ansi-styles/package.json +54 -0
  147. package/dist/server/node_modules/ansi-styles/readme.md +173 -0
  148. package/dist/server/node_modules/is-unicode-supported/index.d.ts +12 -0
  149. package/dist/server/node_modules/is-unicode-supported/index.js +21 -0
  150. package/dist/server/node_modules/is-unicode-supported/license +9 -0
  151. package/dist/server/node_modules/is-unicode-supported/package.json +47 -0
  152. package/dist/server/node_modules/is-unicode-supported/readme.md +35 -0
  153. package/dist/server/node_modules/mimic-fn/index.d.ts +54 -0
  154. package/dist/server/node_modules/mimic-fn/index.js +13 -0
  155. package/dist/server/node_modules/mimic-fn/license +9 -0
  156. package/dist/server/node_modules/mimic-fn/package.json +42 -0
  157. package/dist/server/node_modules/mimic-fn/readme.md +69 -0
  158. package/dist/server/node_modules/pg/LICENSE +21 -0
  159. package/dist/server/node_modules/pg/README.md +95 -0
  160. package/dist/server/node_modules/pg/esm/index.mjs +20 -0
  161. package/dist/server/node_modules/pg/lib/client.js +743 -0
  162. package/dist/server/node_modules/pg/lib/connection-parameters.js +171 -0
  163. package/dist/server/node_modules/pg/lib/connection.js +221 -0
  164. package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +122 -0
  165. package/dist/server/node_modules/pg/lib/crypto/sasl.js +212 -0
  166. package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +43 -0
  167. package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +89 -0
  168. package/dist/server/node_modules/pg/lib/crypto/utils.js +9 -0
  169. package/dist/server/node_modules/pg/lib/defaults.js +91 -0
  170. package/dist/server/node_modules/pg/lib/index.js +73 -0
  171. package/dist/server/node_modules/pg/lib/native/client.js +323 -0
  172. package/dist/server/node_modules/pg/lib/native/index.js +2 -0
  173. package/dist/server/node_modules/pg/lib/native/query.js +165 -0
  174. package/dist/server/node_modules/pg/lib/query.js +252 -0
  175. package/dist/server/node_modules/pg/lib/result.js +109 -0
  176. package/dist/server/node_modules/pg/lib/stream.js +83 -0
  177. package/dist/server/node_modules/pg/lib/type-overrides.js +35 -0
  178. package/dist/server/node_modules/pg/lib/utils.js +217 -0
  179. package/dist/server/node_modules/pg/package.json +76 -0
  180. package/dist/server/node_modules/pg-int8/LICENSE +13 -0
  181. package/dist/server/node_modules/pg-int8/README.md +16 -0
  182. package/dist/server/node_modules/pg-int8/index.js +100 -0
  183. package/dist/server/node_modules/pg-int8/package.json +24 -0
  184. package/dist/server/node_modules/postgres-array/index.d.ts +4 -0
  185. package/dist/server/node_modules/postgres-array/index.js +97 -0
  186. package/dist/server/node_modules/postgres-array/license +21 -0
  187. package/dist/server/node_modules/postgres-array/package.json +35 -0
  188. package/dist/server/node_modules/postgres-array/readme.md +43 -0
  189. package/dist/server/node_modules/postgres-bytea/index.js +33 -0
  190. package/dist/server/node_modules/postgres-bytea/license +21 -0
  191. package/dist/server/node_modules/postgres-bytea/package.json +34 -0
  192. package/dist/server/node_modules/postgres-bytea/readme.md +34 -0
  193. package/dist/server/node_modules/postgres-interval/index.d.ts +20 -0
  194. package/dist/server/node_modules/postgres-interval/index.js +125 -0
  195. package/dist/server/node_modules/postgres-interval/license +21 -0
  196. package/dist/server/node_modules/postgres-interval/package.json +36 -0
  197. package/dist/server/node_modules/postgres-interval/readme.md +48 -0
  198. package/dist/server/node_modules/restore-cursor/index.d.ts +11 -0
  199. package/dist/server/node_modules/restore-cursor/index.js +11 -0
  200. package/dist/server/node_modules/restore-cursor/license +9 -0
  201. package/dist/server/node_modules/restore-cursor/package.json +55 -0
  202. package/dist/server/node_modules/restore-cursor/readme.md +31 -0
  203. package/dist/server/node_modules/string-width/index.d.ts +39 -0
  204. package/dist/server/node_modules/string-width/index.js +82 -0
  205. package/dist/server/node_modules/string-width/license +9 -0
  206. package/dist/server/node_modules/string-width/package.json +64 -0
  207. package/dist/server/node_modules/string-width/readme.md +66 -0
  208. package/dist/server/node_modules/xtend/.jshintrc +30 -0
  209. package/dist/server/node_modules/xtend/LICENSE +20 -0
  210. package/dist/server/node_modules/xtend/README.md +32 -0
  211. package/dist/server/node_modules/xtend/immutable.js +19 -0
  212. package/dist/server/node_modules/xtend/mutable.js +17 -0
  213. package/dist/server/node_modules/xtend/package.json +55 -0
  214. package/dist/server/node_modules/xtend/test.js +103 -0
  215. package/dist/server/server.js +302 -302
  216. package/package.json +1 -1
  217. package/dist/client/assets/ai-providers-Ev953-TG.js +0 -1
  218. package/dist/client/assets/registry-C8wiys5D.js +0 -2
  219. package/dist/client/assets/store-registry-B7rvRMWn.js +0 -2
  220. package/dist/client/assets/useInfiniteQuery-DwiWoB3G.js +0 -1
  221. package/dist/client/assets/workflow-detail-C5Vcc_6S.js +0 -1
  222. package/dist/server/node_modules/slice-ansi/index.d.ts +0 -19
  223. package/dist/server/node_modules/slice-ansi/index.js +0 -260
  224. package/dist/server/node_modules/slice-ansi/package.json +0 -59
  225. package/dist/server/node_modules/slice-ansi/readme.md +0 -54
  226. package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +0 -752
@@ -0,0 +1,125 @@
1
+ 'use strict'
2
+
3
+ var extend = require('xtend/mutable')
4
+
5
+ module.exports = PostgresInterval
6
+
7
+ function PostgresInterval (raw) {
8
+ if (!(this instanceof PostgresInterval)) {
9
+ return new PostgresInterval(raw)
10
+ }
11
+ extend(this, parse(raw))
12
+ }
13
+ var properties = ['seconds', 'minutes', 'hours', 'days', 'months', 'years']
14
+ PostgresInterval.prototype.toPostgres = function () {
15
+ var filtered = properties.filter(this.hasOwnProperty, this)
16
+
17
+ // In addition to `properties`, we need to account for fractions of seconds.
18
+ if (this.milliseconds && filtered.indexOf('seconds') < 0) {
19
+ filtered.push('seconds')
20
+ }
21
+
22
+ if (filtered.length === 0) return '0'
23
+ return filtered
24
+ .map(function (property) {
25
+ var value = this[property] || 0
26
+
27
+ // Account for fractional part of seconds,
28
+ // remove trailing zeroes.
29
+ if (property === 'seconds' && this.milliseconds) {
30
+ value = (value + this.milliseconds / 1000).toFixed(6).replace(/\.?0+$/, '')
31
+ }
32
+
33
+ return value + ' ' + property
34
+ }, this)
35
+ .join(' ')
36
+ }
37
+
38
+ var propertiesISOEquivalent = {
39
+ years: 'Y',
40
+ months: 'M',
41
+ days: 'D',
42
+ hours: 'H',
43
+ minutes: 'M',
44
+ seconds: 'S'
45
+ }
46
+ var dateProperties = ['years', 'months', 'days']
47
+ var timeProperties = ['hours', 'minutes', 'seconds']
48
+ // according to ISO 8601
49
+ PostgresInterval.prototype.toISOString = PostgresInterval.prototype.toISO = function () {
50
+ var datePart = dateProperties
51
+ .map(buildProperty, this)
52
+ .join('')
53
+
54
+ var timePart = timeProperties
55
+ .map(buildProperty, this)
56
+ .join('')
57
+
58
+ return 'P' + datePart + 'T' + timePart
59
+
60
+ function buildProperty (property) {
61
+ var value = this[property] || 0
62
+
63
+ // Account for fractional part of seconds,
64
+ // remove trailing zeroes.
65
+ if (property === 'seconds' && this.milliseconds) {
66
+ value = (value + this.milliseconds / 1000).toFixed(6).replace(/0+$/, '')
67
+ }
68
+
69
+ return value + propertiesISOEquivalent[property]
70
+ }
71
+ }
72
+
73
+ var NUMBER = '([+-]?\\d+)'
74
+ var YEAR = NUMBER + '\\s+years?'
75
+ var MONTH = NUMBER + '\\s+mons?'
76
+ var DAY = NUMBER + '\\s+days?'
77
+ var TIME = '([+-])?([\\d]*):(\\d\\d):(\\d\\d)\\.?(\\d{1,6})?'
78
+ var INTERVAL = new RegExp([YEAR, MONTH, DAY, TIME].map(function (regexString) {
79
+ return '(' + regexString + ')?'
80
+ })
81
+ .join('\\s*'))
82
+
83
+ // Positions of values in regex match
84
+ var positions = {
85
+ years: 2,
86
+ months: 4,
87
+ days: 6,
88
+ hours: 9,
89
+ minutes: 10,
90
+ seconds: 11,
91
+ milliseconds: 12
92
+ }
93
+ // We can use negative time
94
+ var negatives = ['hours', 'minutes', 'seconds', 'milliseconds']
95
+
96
+ function parseMilliseconds (fraction) {
97
+ // add omitted zeroes
98
+ var microseconds = fraction + '000000'.slice(fraction.length)
99
+ return parseInt(microseconds, 10) / 1000
100
+ }
101
+
102
+ function parse (interval) {
103
+ if (!interval) return {}
104
+ var matches = INTERVAL.exec(interval)
105
+ var isNegative = matches[8] === '-'
106
+ return Object.keys(positions)
107
+ .reduce(function (parsed, property) {
108
+ var position = positions[property]
109
+ var value = matches[position]
110
+ // no empty string
111
+ if (!value) return parsed
112
+ // milliseconds are actually microseconds (up to 6 digits)
113
+ // with omitted trailing zeroes.
114
+ value = property === 'milliseconds'
115
+ ? parseMilliseconds(value)
116
+ : parseInt(value, 10)
117
+ // no zeros
118
+ if (!value) return parsed
119
+ if (isNegative && ~negatives.indexOf(property)) {
120
+ value *= -1
121
+ }
122
+ parsed[property] = value
123
+ return parsed
124
+ }, {})
125
+ }
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Ben Drucker <bvdrucker@gmail.com> (bendrucker.me)
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
13
+ all 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
21
+ THE SOFTWARE.
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "postgres-interval",
3
+ "main": "index.js",
4
+ "version": "1.2.0",
5
+ "description": "Parse Postgres interval columns",
6
+ "license": "MIT",
7
+ "repository": "bendrucker/postgres-interval",
8
+ "author": {
9
+ "name": "Ben Drucker",
10
+ "email": "bvdrucker@gmail.com",
11
+ "url": "bendrucker.me"
12
+ },
13
+ "engines": {
14
+ "node": ">=0.10.0"
15
+ },
16
+ "scripts": {
17
+ "test": "standard && tape test.js"
18
+ },
19
+ "keywords": [
20
+ "postgres",
21
+ "interval",
22
+ "parser"
23
+ ],
24
+ "dependencies": {
25
+ "xtend": "^4.0.0"
26
+ },
27
+ "devDependencies": {
28
+ "tape": "^4.0.0",
29
+ "standard": "^12.0.1"
30
+ },
31
+ "files": [
32
+ "index.js",
33
+ "index.d.ts",
34
+ "readme.md"
35
+ ]
36
+ }
@@ -0,0 +1,48 @@
1
+ # postgres-interval [![Build Status](https://travis-ci.org/bendrucker/postgres-interval.svg?branch=master)](https://travis-ci.org/bendrucker/postgres-interval) [![Greenkeeper badge](https://badges.greenkeeper.io/bendrucker/postgres-interval.svg)](https://greenkeeper.io/)
2
+
3
+ > Parse Postgres interval columns
4
+
5
+
6
+ ## Install
7
+
8
+ ```
9
+ $ npm install --save postgres-interval
10
+ ```
11
+
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ var parse = require('postgres-interval')
17
+ var interval = parse('01:02:03')
18
+ //=> {hours: 1, minutes: 2, seconds: 3}
19
+ interval.toPostgres()
20
+ // 3 seconds 2 minutes 1 hours
21
+ interval.toISO()
22
+ // P0Y0M0DT1H2M3S
23
+ ```
24
+
25
+ ## API
26
+
27
+ #### `parse(pgInterval)` -> `interval`
28
+
29
+ ##### pgInterval
30
+
31
+ *Required*
32
+ Type: `string`
33
+
34
+ A Postgres interval string.
35
+
36
+ #### `interval.toPostgres()` -> `string`
37
+
38
+ Returns an interval string. This allows the interval object to be passed into prepared statements.
39
+
40
+ #### `interval.toISOString()` -> `string`
41
+
42
+ Returns an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) compliant string.
43
+
44
+ Also available as `interval.toISO()` for backwards compatibility.
45
+
46
+ ## License
47
+
48
+ MIT © [Ben Drucker](http://bendrucker.me)
@@ -0,0 +1,11 @@
1
+ /**
2
+ Gracefully restore the CLI cursor on exit.
3
+
4
+ @example
5
+ ```
6
+ import restoreCursor from 'restore-cursor';
7
+
8
+ restoreCursor();
9
+ ```
10
+ */
11
+ export default function restoreCursor(): void;
@@ -0,0 +1,11 @@
1
+ import process from 'node:process';
2
+ import onetime from 'onetime';
3
+ import signalExit from 'signal-exit';
4
+
5
+ const restoreCursor = onetime(() => {
6
+ signalExit(() => {
7
+ process.stderr.write('\u001B[?25h');
8
+ }, {alwaysLast: true});
9
+ });
10
+
11
+ export default restoreCursor;
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "restore-cursor",
3
+ "version": "4.0.0",
4
+ "description": "Gracefully restore the CLI cursor on exit",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/restore-cursor",
7
+ "funding": "https://github.com/sponsors/sindresorhus",
8
+ "author": {
9
+ "name": "Sindre Sorhus",
10
+ "email": "sindresorhus@gmail.com",
11
+ "url": "https://sindresorhus.com"
12
+ },
13
+ "type": "module",
14
+ "exports": "./index.js",
15
+ "engines": {
16
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
17
+ },
18
+ "scripts": {
19
+ "test": "xo && tsd"
20
+ },
21
+ "files": [
22
+ "index.js",
23
+ "index.d.ts"
24
+ ],
25
+ "keywords": [
26
+ "exit",
27
+ "quit",
28
+ "process",
29
+ "graceful",
30
+ "shutdown",
31
+ "sigterm",
32
+ "sigint",
33
+ "terminate",
34
+ "kill",
35
+ "stop",
36
+ "cli",
37
+ "cursor",
38
+ "ansi",
39
+ "show",
40
+ "term",
41
+ "terminal",
42
+ "console",
43
+ "tty",
44
+ "shell",
45
+ "command-line"
46
+ ],
47
+ "dependencies": {
48
+ "onetime": "^5.1.0",
49
+ "signal-exit": "^3.0.2"
50
+ },
51
+ "devDependencies": {
52
+ "tsd": "^0.7.2",
53
+ "xo": "^0.24.0"
54
+ }
55
+ }
@@ -0,0 +1,31 @@
1
+ # restore-cursor
2
+
3
+ > Gracefully restore the CLI cursor on exit
4
+
5
+ Prevent the cursor you've hidden interactively from remaining hidden if the process crashes.
6
+
7
+ ## Install
8
+
9
+ ```
10
+ $ npm install restore-cursor
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ import restoreCursor from 'restore-cursor';
17
+
18
+ restoreCursor();
19
+ ```
20
+
21
+ ---
22
+
23
+ <div align="center">
24
+ <b>
25
+ <a href="https://tidelift.com/subscription/pkg/npm-restore-cursor?utm_source=npm-restore-cursor&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
26
+ </b>
27
+ <br>
28
+ <sub>
29
+ Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
30
+ </sub>
31
+ </div>
@@ -0,0 +1,39 @@
1
+ export type Options = {
2
+ /**
3
+ Count [ambiguous width characters](https://www.unicode.org/reports/tr11/#Ambiguous) as having narrow width (count of 1) instead of wide width (count of 2).
4
+
5
+ @default true
6
+
7
+ > Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). __If the context cannot be established reliably, they should be treated as narrow characters by default.__
8
+ > - http://www.unicode.org/reports/tr11/
9
+ */
10
+ readonly ambiguousIsNarrow?: boolean;
11
+
12
+ /**
13
+ Whether [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) should be counted.
14
+
15
+ @default false
16
+ */
17
+ readonly countAnsiEscapeCodes?: boolean;
18
+ };
19
+
20
+ /**
21
+ Get the visual width of a string - the number of columns required to display it.
22
+
23
+ Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
24
+
25
+ @example
26
+ ```
27
+ import stringWidth from 'string-width';
28
+
29
+ stringWidth('a');
30
+ //=> 1
31
+
32
+ stringWidth('古');
33
+ //=> 2
34
+
35
+ stringWidth('\u001B[1m古\u001B[22m');
36
+ //=> 2
37
+ ```
38
+ */
39
+ export default function stringWidth(string: string, options?: Options): number;
@@ -0,0 +1,82 @@
1
+ import stripAnsi from 'strip-ansi';
2
+ import {eastAsianWidth} from 'get-east-asian-width';
3
+ import emojiRegex from 'emoji-regex';
4
+
5
+ const segmenter = new Intl.Segmenter();
6
+
7
+ const defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
8
+
9
+ export default function stringWidth(string, options = {}) {
10
+ if (typeof string !== 'string' || string.length === 0) {
11
+ return 0;
12
+ }
13
+
14
+ const {
15
+ ambiguousIsNarrow = true,
16
+ countAnsiEscapeCodes = false,
17
+ } = options;
18
+
19
+ if (!countAnsiEscapeCodes) {
20
+ string = stripAnsi(string);
21
+ }
22
+
23
+ if (string.length === 0) {
24
+ return 0;
25
+ }
26
+
27
+ let width = 0;
28
+ const eastAsianWidthOptions = {ambiguousAsWide: !ambiguousIsNarrow};
29
+
30
+ for (const {segment: character} of segmenter.segment(string)) {
31
+ const codePoint = character.codePointAt(0);
32
+
33
+ // Ignore control characters
34
+ if (codePoint <= 0x1F || (codePoint >= 0x7F && codePoint <= 0x9F)) {
35
+ continue;
36
+ }
37
+
38
+ // Ignore zero-width characters
39
+ if (
40
+ (codePoint >= 0x20_0B && codePoint <= 0x20_0F) // Zero-width space, non-joiner, joiner, left-to-right mark, right-to-left mark
41
+ || codePoint === 0xFE_FF // Zero-width no-break space
42
+ ) {
43
+ continue;
44
+ }
45
+
46
+ // Ignore combining characters
47
+ if (
48
+ (codePoint >= 0x3_00 && codePoint <= 0x3_6F) // Combining diacritical marks
49
+ || (codePoint >= 0x1A_B0 && codePoint <= 0x1A_FF) // Combining diacritical marks extended
50
+ || (codePoint >= 0x1D_C0 && codePoint <= 0x1D_FF) // Combining diacritical marks supplement
51
+ || (codePoint >= 0x20_D0 && codePoint <= 0x20_FF) // Combining diacritical marks for symbols
52
+ || (codePoint >= 0xFE_20 && codePoint <= 0xFE_2F) // Combining half marks
53
+ ) {
54
+ continue;
55
+ }
56
+
57
+ // Ignore surrogate pairs
58
+ if (codePoint >= 0xD8_00 && codePoint <= 0xDF_FF) {
59
+ continue;
60
+ }
61
+
62
+ // Ignore variation selectors
63
+ if (codePoint >= 0xFE_00 && codePoint <= 0xFE_0F) {
64
+ continue;
65
+ }
66
+
67
+ // This covers some of the above cases, but we still keep them for performance reasons.
68
+ if (defaultIgnorableCodePointRegex.test(character)) {
69
+ continue;
70
+ }
71
+
72
+ // TODO: Use `/\p{RGI_Emoji}/v` when targeting Node.js 20.
73
+ if (emojiRegex().test(character)) {
74
+ width += 2;
75
+ continue;
76
+ }
77
+
78
+ width += eastAsianWidth(codePoint, eastAsianWidthOptions);
79
+ }
80
+
81
+ return width;
82
+ }
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "string-width",
3
+ "version": "7.2.0",
4
+ "description": "Get the visual width of a string - the number of columns required to display it",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/string-width",
7
+ "funding": "https://github.com/sponsors/sindresorhus",
8
+ "author": {
9
+ "name": "Sindre Sorhus",
10
+ "email": "sindresorhus@gmail.com",
11
+ "url": "https://sindresorhus.com"
12
+ },
13
+ "type": "module",
14
+ "exports": {
15
+ "types": "./index.d.ts",
16
+ "default": "./index.js"
17
+ },
18
+ "sideEffects": false,
19
+ "engines": {
20
+ "node": ">=18"
21
+ },
22
+ "scripts": {
23
+ "test": "xo && ava && tsd"
24
+ },
25
+ "files": [
26
+ "index.js",
27
+ "index.d.ts"
28
+ ],
29
+ "keywords": [
30
+ "string",
31
+ "character",
32
+ "unicode",
33
+ "width",
34
+ "visual",
35
+ "column",
36
+ "columns",
37
+ "fullwidth",
38
+ "full-width",
39
+ "full",
40
+ "ansi",
41
+ "escape",
42
+ "codes",
43
+ "cli",
44
+ "command-line",
45
+ "terminal",
46
+ "console",
47
+ "cjk",
48
+ "chinese",
49
+ "japanese",
50
+ "korean",
51
+ "fixed-width",
52
+ "east-asian-width"
53
+ ],
54
+ "dependencies": {
55
+ "emoji-regex": "^10.3.0",
56
+ "get-east-asian-width": "^1.0.0",
57
+ "strip-ansi": "^7.1.0"
58
+ },
59
+ "devDependencies": {
60
+ "ava": "^5.3.1",
61
+ "tsd": "^0.29.0",
62
+ "xo": "^0.56.0"
63
+ }
64
+ }
@@ -0,0 +1,66 @@
1
+ # string-width
2
+
3
+ > Get the visual width of a string - the number of columns required to display it
4
+
5
+ Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
6
+
7
+ Useful to be able to measure the actual width of command-line output.
8
+
9
+ ## Install
10
+
11
+ ```sh
12
+ npm install string-width
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```js
18
+ import stringWidth from 'string-width';
19
+
20
+ stringWidth('a');
21
+ //=> 1
22
+
23
+ stringWidth('古');
24
+ //=> 2
25
+
26
+ stringWidth('\u001B[1m古\u001B[22m');
27
+ //=> 2
28
+ ```
29
+
30
+ ## API
31
+
32
+ ### stringWidth(string, options?)
33
+
34
+ #### string
35
+
36
+ Type: `string`
37
+
38
+ The string to be counted.
39
+
40
+ #### options
41
+
42
+ Type: `object`
43
+
44
+ ##### ambiguousIsNarrow
45
+
46
+ Type: `boolean`\
47
+ Default: `true`
48
+
49
+ Count [ambiguous width characters](https://www.unicode.org/reports/tr11/#Ambiguous) as having narrow width (count of 1) instead of wide width (count of 2).
50
+
51
+ > Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). **If the context cannot be established reliably, they should be treated as narrow characters by default.**
52
+ > - http://www.unicode.org/reports/tr11/
53
+
54
+ ##### countAnsiEscapeCodes
55
+
56
+ Type: `boolean`\
57
+ Default: `false`
58
+
59
+ Whether [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) should be counted.
60
+
61
+ ## Related
62
+
63
+ - [string-width-cli](https://github.com/sindresorhus/string-width-cli) - CLI for this module
64
+ - [string-length](https://github.com/sindresorhus/string-length) - Get the real length of a string
65
+ - [widest-line](https://github.com/sindresorhus/widest-line) - Get the visual width of the widest line in a string
66
+ - [get-east-asian-width](https://github.com/sindresorhus/get-east-asian-width) - Determine the East Asian Width of a Unicode character
@@ -0,0 +1,30 @@
1
+ {
2
+ "maxdepth": 4,
3
+ "maxstatements": 200,
4
+ "maxcomplexity": 12,
5
+ "maxlen": 80,
6
+ "maxparams": 5,
7
+
8
+ "curly": true,
9
+ "eqeqeq": true,
10
+ "immed": true,
11
+ "latedef": false,
12
+ "noarg": true,
13
+ "noempty": true,
14
+ "nonew": true,
15
+ "undef": true,
16
+ "unused": "vars",
17
+ "trailing": true,
18
+
19
+ "quotmark": true,
20
+ "expr": true,
21
+ "asi": true,
22
+
23
+ "browser": false,
24
+ "esnext": true,
25
+ "devel": false,
26
+ "node": false,
27
+ "nonstandard": false,
28
+
29
+ "predef": ["require", "module", "__dirname", "__filename"]
30
+ }
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+ Copyright (c) 2012-2014 Raynos.
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ THE SOFTWARE.