decocms 2.306.6 → 2.306.7
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.
- package/dist/client/assets/{AlertCircle-4Fij-rVg.js → AlertCircle-Cb7fTEMa.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-CxNzupMt.js → ArrowNarrowLeft-tcEBzg5K.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-B9s_0HcJ.js → ArrowUpRight-Ds7CgDkL.js} +1 -1
- package/dist/client/assets/{Check-DC_iCN8Z.js → Check-Dgq0jjpz.js} +1 -1
- package/dist/client/assets/{CheckCircle-ROoANe3f.js → CheckCircle-rZ5sDOOP.js} +1 -1
- package/dist/client/assets/{ChevronDown-CnUhTqwX.js → ChevronDown-CH5lQohM.js} +1 -1
- package/dist/client/assets/{ChevronRight-X2lm_E9M.js → ChevronRight-DfFDUpKj.js} +1 -1
- package/dist/client/assets/{ChevronUp-CgOfWCZA.js → ChevronUp-DCsRkih0.js} +1 -1
- package/dist/client/assets/{Container-BrskPoE3.js → Container-zeFPXb1Q.js} +1 -1
- package/dist/client/assets/{DotsVertical-C2-ev8jy.js → DotsVertical-BljfGuhu.js} +1 -1
- package/dist/client/assets/{LinkExternal01-Bhhv-wHj.js → LinkExternal01-MvI2bZbP.js} +1 -1
- package/dist/client/assets/{Lock01-KbqVCyA7.js → Lock01-CidilFiJ.js} +1 -1
- package/dist/client/assets/{Palette-CmZGtCez.js → Palette-CURRsupy.js} +1 -1
- package/dist/client/assets/{Play-EPgISV5B.js → Play-DLW6aJFn.js} +1 -1
- package/dist/client/assets/{Plus-BYimMcAW.js → Plus-28zZOE9T.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-DIY3NFBI.js → RefreshCcw01-CCzpYBs0.js} +1 -1
- package/dist/client/assets/{SearchMd-DzMVdOJP.js → SearchMd-BpRj1P2W.js} +1 -1
- package/dist/client/assets/{Settings02-BxmxMTOA.js → Settings02-CE5ZLw2I.js} +1 -1
- package/dist/client/assets/{Shield01-B9vNkAc4.js → Shield01-Dtb2_AeI.js} +1 -1
- package/dist/client/assets/{Star01-iULH34rV.js → Star01-ChekdAzX.js} +1 -1
- package/dist/client/assets/{Sun-Dc78AQrj.js → Sun-TuktgENq.js} +1 -1
- package/dist/client/assets/{Tool01-DVcjHQGB.js → Tool01-Cu4I31F8.js} +1 -1
- package/dist/client/assets/{Trash01-CaZrP0UV.js → Trash01-4Dq6ympL.js} +1 -1
- package/dist/client/assets/{User01-7U7nAEDg.js → User01-DKnZn118.js} +1 -1
- package/dist/client/assets/{Users03-CIZBy7k3.js → Users03-rbWg-6tV.js} +1 -1
- package/dist/client/assets/{X-QdBx5oCM.js → X-CAquUT--.js} +1 -1
- package/dist/client/assets/{XCircle-DokNvYvs.js → XCircle-B-00qJpY.js} +1 -1
- package/dist/client/assets/{XClose-BdbZPqCd.js → XClose-_Y5VAjW5.js} +1 -1
- package/dist/client/assets/{Zap-DH1KrJ0w.js → Zap-B8xnzkap.js} +1 -1
- package/dist/client/assets/{ZapSquare-CnxL4Bs1.js → ZapSquare-Cpo7Z7gP.js} +1 -1
- package/dist/client/assets/{accordion-81SrnINF.js → accordion-CyIKHcCT.js} +1 -1
- package/dist/client/assets/{agent-icon-C2zAhw3X.js → agent-icon-D9odI-qh.js} +1 -1
- package/dist/client/assets/{agents-list-CH2sTwpj.js → agents-list-CLJAN1rm.js} +1 -1
- package/dist/client/assets/ai-providers-28dSCs53.js +1 -0
- package/dist/client/assets/{alert-dialog-BytOwrWo.js → alert-dialog-DCT4MTMH.js} +1 -1
- package/dist/client/assets/{auth-catchall-BcUDEqD5.js → auth-catchall-DoKHQvfb.js} +1 -1
- package/dist/client/assets/{automation-list-row-etrXhG1_.js → automation-list-row-C0fNHM9j.js} +1 -1
- package/dist/client/assets/{automations-DFRPWAOO.js → automations-CVam3JT8.js} +1 -1
- package/dist/client/assets/{avatar-D0sdobqD.js → avatar-JoKAxyik.js} +1 -1
- package/dist/client/assets/{badge-tvsCFCHP.js → badge-BXVtVPzt.js} +1 -1
- package/dist/client/assets/{brand-context-Cy-kcB0m.js → brand-context-B00HyWuJ.js} +1 -1
- package/dist/client/assets/{card-BGZ5LqAO.js → card-CkFfla-m.js} +1 -1
- package/dist/client/assets/{chat-context-iq-Q-O9L.js → chat-context-C4lTxfjV.js} +1 -1
- package/dist/client/assets/{checkbox-IEnuEqAm.js → checkbox-Baro7Q1f.js} +1 -1
- package/dist/client/assets/{collection-detail-BnoKU_uS.js → collection-detail-CvBw6hsJ.js} +1 -1
- package/dist/client/assets/{collection-display-button-tJsvfx8o.js → collection-display-button-BSv13jEo.js} +1 -1
- package/dist/client/assets/{collection-search-bjPRZI3g.js → collection-search-BHyuqRiT.js} +1 -1
- package/dist/client/assets/{collection-search-O8QAretn.js → collection-search-jhKWbxqo.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CcyIZki9.js → collection-table-wrapper-hR7H16-N.js} +1 -1
- package/dist/client/assets/{collection-tabs-CqINIlN4.js → collection-tabs-BPF8fjT2.js} +1 -1
- package/dist/client/assets/{collections-DKW_jlNs.js → collections-B60eBxX4.js} +1 -1
- package/dist/client/assets/{command-Cbi8R9Tg.js → command-CJRvOxZ7.js} +1 -1
- package/dist/client/assets/{connection-card-Aj-8CWhX.js → connection-card-ugyEg8FF.js} +1 -1
- package/dist/client/assets/{connection-detail-G5l6bgwi.js → connection-detail-EgRvIktM.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-hlnQqQXV.js → connection-form-helpers-CYrNbtwl.js} +1 -1
- package/dist/client/assets/{connections-CrOLesap.js → connections-I35i0t7r.js} +1 -1
- package/dist/client/assets/{constants-Dm1wnwL3.js → constants-CMPjFkrZ.js} +1 -1
- package/dist/client/assets/{constants-CWAA475A.js → constants-XGFAnuHn.js} +1 -1
- package/dist/client/assets/{dialog-0SvGB_9G.js → dialog-sfEBwtz9.js} +1 -1
- package/dist/client/assets/{domain-settings-CckaLtjm.js → domain-settings-BEv8OnaD.js} +1 -1
- package/dist/client/assets/{drawer-CyXE-C5x.js → drawer--MluJNWl.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BkrpBFy3.js → dropdown-menu-BpPFRti7.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-DAf8nhzs.js → dynamic-plugin-layout-JwST599m.js} +1 -1
- package/dist/client/assets/{empty-state-Crsog8CF.js → empty-state-Be0FdXg2.js} +1 -1
- package/dist/client/assets/{empty-state-CxZybw5m.js → empty-state-Vlkqr5Ha.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CnUKkwJT.js → extract-connection-data-B9BMTKgA.js} +1 -1
- package/dist/client/assets/{features-Ddtjf7i2.js → features-ymCT4sQe.js} +1 -1
- package/dist/client/assets/{form-BMjsxf1O.js → form-DpB6tHPK.js} +1 -1
- package/dist/client/assets/{general-CVe1Krdt.js → general-Bi8iKo_s.js} +1 -1
- package/dist/client/assets/{index-BV4BlnS9.js → index-0dtUnOR1.js} +2 -2
- package/dist/client/assets/{index-hSAfwkZQ.js → index-B-PMmlqs.js} +1 -1
- package/dist/client/assets/{index-CyJ-TyKU.js → index-BAl-Vlym.js} +1 -1
- package/dist/client/assets/{index-WBXV3t9A.js → index-BG0omYxu.js} +1 -1
- package/dist/client/assets/{index-CPDZUQ3g.js → index-BWMPhdit.js} +1 -1
- package/dist/client/assets/{index-CEyiW6G-.js → index-B_IvwEkx.js} +1 -1
- package/dist/client/assets/index-BkJIlnCh.js +1 -0
- package/dist/client/assets/{index-CYY5hWbm.js → index-Bzh6y1DZ.js} +1 -1
- package/dist/client/assets/{index-AqmdpH5c.js → index-CGKwbcyW.js} +1 -1
- package/dist/client/assets/{index-DYUyKEVO.js → index-Cav3nFoE.js} +1 -1
- package/dist/client/assets/{index-tIIHK8_r.js → index-DE4jOyEe.js} +1 -1
- package/dist/client/assets/{index-DvCRkopi.js → index-DlEDBVDU.js} +1 -1
- package/dist/client/assets/{index-CZ5qFDIg.js → index-DqWmbGe9.js} +1 -1
- package/dist/client/assets/{index-DusASzPG.js → index-JYp8Y8Zk.js} +3 -3
- package/dist/client/assets/{index-B8A_ReFj.js → index-mKsCyZ2c.js} +1 -1
- package/dist/client/assets/{index-D85QLvNR.js → index-uTY5VsaX.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-DmPvCV47.js → infiniteQueryObserver-D69C8aZS.js} +1 -1
- package/dist/client/assets/{input-Bs7mkNsF.js → input-Dh3J6cxA.js} +1 -1
- package/dist/client/assets/{integration-icon-DgJZ63kl.js → integration-icon-CDE9CENl.js} +1 -1
- package/dist/client/assets/{label-CB1YxmGr.js → label-BGhcnROH.js} +1 -1
- package/dist/client/assets/{layout-GReGu88m.js → layout-DMQieMve.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-BkH3ZJD2.js → lean-canvas-recruit-modal-DZfH4ZaB.js} +1 -1
- package/dist/client/assets/{login-JiD1cfP5.js → login-HZPNR9xd.js} +1 -1
- package/dist/client/assets/{members-B72381x1.js → members-DXQFXjq8.js} +1 -1
- package/dist/client/assets/{monaco-editor-_r7N6eV-.js → monaco-editor-BaDnBAIf.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-IV0nDqiB.js → monitoring-stats-row-CQqHcgiv.js} +1 -1
- package/dist/client/assets/{oauth-callback-CkFjLbE_.js → oauth-callback-Du4eDSpz.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-By5VSIqz.js → oauth-callback-ai-provider-BhxrV53q.js} +1 -1
- package/dist/client/assets/{onboarding-CCZiORGK.js → onboarding-HMRjmRyP.js} +1 -1
- package/dist/client/assets/{org-layout-DF3EY572.js → org-layout-DoqHSWQn.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-C4CnG2ku.js → org-plugin-layout-DXqded6M.js} +1 -1
- package/dist/client/assets/{pair-Hj9vutgK.js → pair-D1MIu7ah.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-DtiwhoNI.js → plugin-empty-state-BSfCLmcP.js} +1 -1
- package/dist/client/assets/{plugin-header-CjcXnInr.js → plugin-header-2Ks_trAw.js} +1 -1
- package/dist/client/assets/{plugin-layout-BJ0qU511.js → plugin-layout-CdtsQwFc.js} +1 -1
- package/dist/client/assets/{popover-9-i1guS1.js → popover-D4Clv1Kb.js} +1 -1
- package/dist/client/assets/{profile-C0pKX75D.js → profile-CjGu4VCE.js} +1 -1
- package/dist/client/assets/{project-app-view-Btui0VFM.js → project-app-view-Cr2YOe9x.js} +1 -1
- package/dist/client/assets/registry-YuZMNy-0.js +2 -0
- package/dist/client/assets/{registry-layout-Cvjuv72f.js → registry-layout-DGUmz1QL.js} +1 -1
- package/dist/client/assets/{required-auth-layout-Cm0GjYeR.js → required-auth-layout-DMKD_TV3.js} +1 -1
- package/dist/client/assets/{reset-password-DHyMDEUg.js → reset-password-Bn__ApCp.js} +1 -1
- package/dist/client/assets/{roles-BRZ0jwUp.js → roles-C4lGMFwb.js} +1 -1
- package/dist/client/assets/{scroll-area-Dal58SLb.js → scroll-area-yWZqBKom.js} +1 -1
- package/dist/client/assets/{search-input-BSfMPrXv.js → search-input-UA1Jjc1m.js} +1 -1
- package/dist/client/assets/{select-DQy3AX-J.js → select-CG0rwGUX.js} +1 -1
- package/dist/client/assets/{select-model-BjvpQUyU.js → select-model-DcRnjECr.js} +1 -1
- package/dist/client/assets/{settings-layout-Hke-qhRP.js → settings-layout-ePFy_Zf4.js} +1 -1
- package/dist/client/assets/{settings-section-DJf4hau9.js → settings-section-HkZRSntL.js} +1 -1
- package/dist/client/assets/{shell-layout-BcsYrOTT.js → shell-layout-CtEV3YzW.js} +1 -1
- package/dist/client/assets/{skeleton-DLT024S3.js → skeleton-BxQRt9FI.js} +1 -1
- package/dist/client/assets/{sso-BuTvljxJ.js → sso-DElvxw59.js} +1 -1
- package/dist/client/assets/{store-Iw0YIysI.js → store-CQloMsrY.js} +1 -1
- package/dist/client/assets/store-registry-h--qJyio.js +2 -0
- package/dist/client/assets/{switch-ChOgiOZl.js → switch-DydlPJmA.js} +1 -1
- package/dist/client/assets/{table-B48Xy50A.js → table-Cg2S62iB.js} +1 -1
- package/dist/client/assets/{tabs-y647ki3a.js → tabs-BArWG_lg.js} +1 -1
- package/dist/client/assets/{task-status-IiU7o7it.js → task-status-Bi6NGRuA.js} +1 -1
- package/dist/client/assets/{textarea-CT4UCcWE.js → textarea-Dkmw6W4u.js} +1 -1
- package/dist/client/assets/{toggle-group-CgDVnjbj.js → toggle-group-BdQafmUc.js} +1 -1
- package/dist/client/assets/{tools-list-Dl1EqLq_.js → tools-list-C0MslVQp.js} +1 -1
- package/dist/client/assets/{tooltip-DZT-1bal.js → tooltip-XW5rFMNu.js} +1 -1
- package/dist/client/assets/{types-DA7k1cs0.js → types-BU1oqgjO.js} +1 -1
- package/dist/client/assets/{use-ai-providers-Bv-kgplO.js → use-ai-providers-ClmB64W8.js} +1 -1
- package/dist/client/assets/{use-collections-ASqcb463.js → use-collections-BLOTVIAP.js} +1 -1
- package/dist/client/assets/{use-connection-Ck4brnCx.js → use-connection-DGPnnQz6.js} +1 -1
- package/dist/client/assets/{use-copy-qtJD_4jj.js → use-copy-BquaY5FR.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-CTxthd0a.js → use-create-virtual-mcp-gYa1vYVG.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-BliXkuEQ.js → use-debounced-autosave-BFE3ZeG7.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-tgKj5crX.js → use-decopilot-events-nw-lJk37.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DM_4FfQI.js → use-delete-connection-MTPofM5f.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-De_3UNjO.js → use-infinite-scroll-KzNu752x.js} +1 -1
- package/dist/client/assets/{use-list-state-SVk88wog.js → use-list-state-BMUfPc5P.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-rNZ6JWxz.js → use-mcp-tools-DkxVTDC9.js} +1 -1
- package/dist/client/assets/{use-members-Bk-c46d0.js → use-members-DadnCd-C.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-CwcBoswU.js → use-navigate-to-agent-zDaGGVEB.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-Hwc_S6Fw.js → use-org-auth-client-CPZNMqkZ.js} +1 -1
- package/dist/client/assets/{use-org-sso-Cj1DBVz0.js → use-org-sso-DMUwA_K8.js} +1 -1
- package/dist/client/assets/{use-organization-roles--8BRYJrg.js → use-organization-roles-CJVol15S.js} +1 -1
- package/dist/client/assets/{use-organization-settings-gFwljgrZ.js → use-organization-settings-CoHf1k_t.js} +1 -1
- package/dist/client/assets/{use-registry-connections-Dgb2TDlG.js → use-registry-connections-DWMBdekg.js} +1 -1
- package/dist/client/assets/{use-status-sounds-Cn3fBsPH.js → use-status-sounds-j2IA-viC.js} +1 -1
- package/dist/client/assets/{use-tasks-DqNLNkkM.js → use-tasks-DqkYGNHa.js} +1 -1
- package/dist/client/assets/{use-view-mode-D9kCRFMC.js → use-view-mode-Bc5J1h4b.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-BR6mzHHD.js → use-virtual-mcp-Dndzl8Kr.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-BzvZ_TDh.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-ZnAzp1qO.js +1 -0
- package/dist/client/assets/{user-BVu9y1Y7.js → user-Df7A58iD.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-ZI-MN1pO.js → view-mode-toggle-DoidsjaP.js} +1 -1
- package/dist/client/assets/{workflow-D5sDlQLV.js → workflow-DgvsxaIb.js} +1 -1
- package/dist/client/assets/workflow-detail-Bebyclsh.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +90 -38
- package/dist/server/node_modules/ansi-regex/index.d.ts +33 -0
- package/dist/server/node_modules/ansi-regex/index.js +14 -0
- package/dist/server/node_modules/{ansi-styles → ansi-regex}/package.json +20 -13
- package/dist/server/node_modules/ansi-regex/readme.md +66 -0
- package/dist/server/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/dist/server/node_modules/emoji-regex/README.md +107 -0
- package/dist/server/node_modules/emoji-regex/index.d.ts +3 -0
- package/dist/server/node_modules/emoji-regex/index.js +4 -0
- package/dist/server/node_modules/emoji-regex/index.mjs +4 -0
- package/dist/server/node_modules/emoji-regex/package.json +45 -0
- package/dist/server/node_modules/onetime/index.d.ts +64 -0
- package/dist/server/node_modules/onetime/index.js +44 -0
- package/dist/server/node_modules/onetime/package.json +43 -0
- package/dist/server/node_modules/onetime/readme.md +94 -0
- package/dist/server/server.js +89 -37
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-BxrN55-q.js +0 -1
- package/dist/client/assets/index-Bhv1nOmU.js +0 -1
- package/dist/client/assets/registry-Bhz5Jlkf.js +0 -2
- package/dist/client/assets/store-registry-Df9fj_hE.js +0 -2
- package/dist/client/assets/useInfiniteQuery-C_BkERX4.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DFnwwxGS.js +0 -1
- package/dist/client/assets/workflow-detail-BKMBH1Ij.js +0 -1
- package/dist/server/node_modules/ansi-styles/index.d.ts +0 -236
- package/dist/server/node_modules/ansi-styles/index.js +0 -223
- package/dist/server/node_modules/ansi-styles/readme.md +0 -173
- package/dist/server/node_modules/environment/index.d.ts +0 -74
- package/dist/server/node_modules/environment/index.js +0 -47
- package/dist/server/node_modules/environment/package.json +0 -74
- package/dist/server/node_modules/environment/readme.md +0 -94
- package/dist/server/node_modules/escape-string-regexp/index.d.ts +0 -18
- package/dist/server/node_modules/escape-string-regexp/index.js +0 -11
- package/dist/server/node_modules/escape-string-regexp/license +0 -9
- package/dist/server/node_modules/escape-string-regexp/package.json +0 -43
- package/dist/server/node_modules/escape-string-regexp/readme.md +0 -29
- package/dist/server/node_modules/get-east-asian-width/index.d.ts +0 -60
- package/dist/server/node_modules/get-east-asian-width/index.js +0 -30
- package/dist/server/node_modules/get-east-asian-width/license +0 -9
- package/dist/server/node_modules/get-east-asian-width/lookup-data.js +0 -18
- package/dist/server/node_modules/get-east-asian-width/lookup.js +0 -135
- package/dist/server/node_modules/get-east-asian-width/package.json +0 -71
- package/dist/server/node_modules/get-east-asian-width/readme.md +0 -65
- package/dist/server/node_modules/get-east-asian-width/utilities.js +0 -24
- package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/dist/server/node_modules/is-fullwidth-code-point/index.js +0 -12
- package/dist/server/node_modules/is-fullwidth-code-point/license +0 -9
- package/dist/server/node_modules/is-fullwidth-code-point/package.json +0 -53
- package/dist/server/node_modules/is-fullwidth-code-point/readme.md +0 -31
- package/dist/server/node_modules/is-unicode-supported/index.d.ts +0 -12
- package/dist/server/node_modules/is-unicode-supported/index.js +0 -21
- package/dist/server/node_modules/is-unicode-supported/license +0 -9
- package/dist/server/node_modules/is-unicode-supported/package.json +0 -47
- package/dist/server/node_modules/is-unicode-supported/readme.md +0 -35
- package/dist/server/node_modules/pg/LICENSE +0 -21
- package/dist/server/node_modules/pg/README.md +0 -95
- package/dist/server/node_modules/pg/esm/index.mjs +0 -20
- package/dist/server/node_modules/pg/lib/client.js +0 -743
- package/dist/server/node_modules/pg/lib/connection-parameters.js +0 -171
- package/dist/server/node_modules/pg/lib/connection.js +0 -221
- package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +0 -122
- package/dist/server/node_modules/pg/lib/crypto/sasl.js +0 -212
- package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +0 -43
- package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +0 -89
- package/dist/server/node_modules/pg/lib/crypto/utils.js +0 -9
- package/dist/server/node_modules/pg/lib/defaults.js +0 -91
- package/dist/server/node_modules/pg/lib/index.js +0 -73
- package/dist/server/node_modules/pg/lib/native/client.js +0 -323
- package/dist/server/node_modules/pg/lib/native/index.js +0 -2
- package/dist/server/node_modules/pg/lib/native/query.js +0 -165
- package/dist/server/node_modules/pg/lib/query.js +0 -252
- package/dist/server/node_modules/pg/lib/result.js +0 -109
- package/dist/server/node_modules/pg/lib/stream.js +0 -83
- package/dist/server/node_modules/pg/lib/type-overrides.js +0 -35
- package/dist/server/node_modules/pg/lib/utils.js +0 -217
- package/dist/server/node_modules/pg/package.json +0 -76
- package/dist/server/node_modules/restore-cursor/index.d.ts +0 -11
- package/dist/server/node_modules/restore-cursor/index.js +0 -11
- package/dist/server/node_modules/restore-cursor/license +0 -9
- package/dist/server/node_modules/restore-cursor/package.json +0 -55
- package/dist/server/node_modules/restore-cursor/readme.md +0 -31
- package/dist/server/node_modules/string-width/index.d.ts +0 -39
- package/dist/server/node_modules/string-width/index.js +0 -82
- package/dist/server/node_modules/string-width/license +0 -9
- package/dist/server/node_modules/string-width/package.json +0 -64
- package/dist/server/node_modules/string-width/readme.md +0 -66
- package/dist/server/node_modules/xtend/.jshintrc +0 -30
- package/dist/server/node_modules/xtend/LICENSE +0 -20
- package/dist/server/node_modules/xtend/README.md +0 -32
- package/dist/server/node_modules/xtend/immutable.js +0 -19
- package/dist/server/node_modules/xtend/mutable.js +0 -17
- package/dist/server/node_modules/xtend/package.json +0 -55
- package/dist/server/node_modules/xtend/test.js +0 -103
- /package/dist/server/node_modules/{ansi-styles → ansi-regex}/license +0 -0
- /package/dist/server/node_modules/{environment → onetime}/license +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (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.
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "escape-string-regexp",
|
|
3
|
-
"version": "2.0.0",
|
|
4
|
-
"description": "Escape RegExp special characters",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/escape-string-regexp",
|
|
7
|
-
"author": {
|
|
8
|
-
"name": "Sindre Sorhus",
|
|
9
|
-
"email": "sindresorhus@gmail.com",
|
|
10
|
-
"url": "sindresorhus.com"
|
|
11
|
-
},
|
|
12
|
-
"maintainers": [
|
|
13
|
-
"Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)",
|
|
14
|
-
"Joshua Boy Nicolai Appelman <joshua@jbna.nl> (jbna.nl)"
|
|
15
|
-
],
|
|
16
|
-
"engines": {
|
|
17
|
-
"node": ">=8"
|
|
18
|
-
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"test": "xo && ava && tsd"
|
|
21
|
-
},
|
|
22
|
-
"files": [
|
|
23
|
-
"index.js",
|
|
24
|
-
"index.d.ts"
|
|
25
|
-
],
|
|
26
|
-
"keywords": [
|
|
27
|
-
"escape",
|
|
28
|
-
"regex",
|
|
29
|
-
"regexp",
|
|
30
|
-
"re",
|
|
31
|
-
"regular",
|
|
32
|
-
"expression",
|
|
33
|
-
"string",
|
|
34
|
-
"str",
|
|
35
|
-
"special",
|
|
36
|
-
"characters"
|
|
37
|
-
],
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"ava": "^1.4.1",
|
|
40
|
-
"tsd": "^0.7.2",
|
|
41
|
-
"xo": "^0.24.0"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# escape-string-regexp [](https://travis-ci.org/sindresorhus/escape-string-regexp)
|
|
2
|
-
|
|
3
|
-
> Escape RegExp special characters
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Install
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
$ npm install escape-string-regexp
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
const escapeStringRegexp = require('escape-string-regexp');
|
|
17
|
-
|
|
18
|
-
const escapedString = escapeStringRegexp('How much $ for a 🦄?');
|
|
19
|
-
//=> 'How much \\$ for a 🦄\\?'
|
|
20
|
-
|
|
21
|
-
new RegExp(escapedString);
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
You can also use this to escape a string that is inserted into the middle of a regex, for example, into a character class.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## License
|
|
28
|
-
|
|
29
|
-
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export type WidthType = 'fullwidth' | 'halfwidth' | 'wide' | 'narrow' | 'neutral' | 'ambiguous';
|
|
2
|
-
|
|
3
|
-
export type Options = {
|
|
4
|
-
/**
|
|
5
|
-
Whether to treat an `'ambiguous'` character as wide.
|
|
6
|
-
|
|
7
|
-
@default true
|
|
8
|
-
|
|
9
|
-
@example
|
|
10
|
-
```
|
|
11
|
-
import {eastAsianWidth} from 'get-east-asian-width';
|
|
12
|
-
|
|
13
|
-
const codePoint = '⛣'.codePointAt(0);
|
|
14
|
-
|
|
15
|
-
console.log(eastAsianWidth(codePoint));
|
|
16
|
-
//=> 1
|
|
17
|
-
|
|
18
|
-
console.log(eastAsianWidth(codePoint, {ambiguousAsWide: true}));
|
|
19
|
-
//=> 2
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
> 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.__
|
|
23
|
-
> - http://www.unicode.org/reports/tr11/
|
|
24
|
-
*/
|
|
25
|
-
readonly ambiguousAsWide?: boolean;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
Returns the width as a number for the given code point.
|
|
30
|
-
|
|
31
|
-
@param codePoint - A Unicode code point.
|
|
32
|
-
|
|
33
|
-
@example
|
|
34
|
-
```
|
|
35
|
-
import {eastAsianWidth} from 'get-east-asian-width';
|
|
36
|
-
|
|
37
|
-
const codePoint = '字'.codePointAt(0);
|
|
38
|
-
|
|
39
|
-
console.log(eastAsianWidth(codePoint));
|
|
40
|
-
//=> 2
|
|
41
|
-
```
|
|
42
|
-
*/
|
|
43
|
-
export function eastAsianWidth(codePoint: number, options?: Options): 1 | 2;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
Returns the type of “East Asian Width” for the given code point.
|
|
47
|
-
|
|
48
|
-
@param codePoint - A Unicode code point.
|
|
49
|
-
|
|
50
|
-
@example
|
|
51
|
-
```
|
|
52
|
-
import {eastAsianWidthType} from 'get-east-asian-width';
|
|
53
|
-
|
|
54
|
-
const codePoint = '字'.codePointAt(0);
|
|
55
|
-
|
|
56
|
-
console.log(eastAsianWidthType(codePoint));
|
|
57
|
-
//=> 'wide'
|
|
58
|
-
```
|
|
59
|
-
*/
|
|
60
|
-
export function eastAsianWidthType(codePoint: number): WidthType;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {getCategory, isAmbiguous, isFullWidth, isWide} from './lookup.js';
|
|
2
|
-
|
|
3
|
-
function validate(codePoint) {
|
|
4
|
-
if (!Number.isSafeInteger(codePoint)) {
|
|
5
|
-
throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export function eastAsianWidthType(codePoint) {
|
|
10
|
-
validate(codePoint);
|
|
11
|
-
|
|
12
|
-
return getCategory(codePoint);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export function eastAsianWidth(codePoint, {ambiguousAsWide = false} = {}) {
|
|
16
|
-
validate(codePoint);
|
|
17
|
-
|
|
18
|
-
if (
|
|
19
|
-
isFullWidth(codePoint)
|
|
20
|
-
|| isWide(codePoint)
|
|
21
|
-
|| (ambiguousAsWide && isAmbiguous(codePoint))
|
|
22
|
-
) {
|
|
23
|
-
return 2;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return 1;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// Private exports for https://github.com/sindresorhus/is-fullwidth-code-point
|
|
30
|
-
export {isFullWidth as _isFullWidth, isWide as _isWide} from './lookup.js';
|
|
@@ -1,9 +0,0 @@
|
|
|
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.
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated by scripts/build.js
|
|
2
|
-
|
|
3
|
-
// prettier-ignore
|
|
4
|
-
const ambiguousRanges = [161, 161, 164, 164, 167, 168, 170, 170, 173, 174, 176, 180, 182, 186, 188, 191, 198, 198, 208, 208, 215, 216, 222, 225, 230, 230, 232, 234, 236, 237, 240, 240, 242, 243, 247, 250, 252, 252, 254, 254, 257, 257, 273, 273, 275, 275, 283, 283, 294, 295, 299, 299, 305, 307, 312, 312, 319, 322, 324, 324, 328, 331, 333, 333, 338, 339, 358, 359, 363, 363, 462, 462, 464, 464, 466, 466, 468, 468, 470, 470, 472, 472, 474, 474, 476, 476, 593, 593, 609, 609, 708, 708, 711, 711, 713, 715, 717, 717, 720, 720, 728, 731, 733, 733, 735, 735, 768, 879, 913, 929, 931, 937, 945, 961, 963, 969, 1025, 1025, 1040, 1103, 1105, 1105, 8208, 8208, 8211, 8214, 8216, 8217, 8220, 8221, 8224, 8226, 8228, 8231, 8240, 8240, 8242, 8243, 8245, 8245, 8251, 8251, 8254, 8254, 8308, 8308, 8319, 8319, 8321, 8324, 8364, 8364, 8451, 8451, 8453, 8453, 8457, 8457, 8467, 8467, 8470, 8470, 8481, 8482, 8486, 8486, 8491, 8491, 8531, 8532, 8539, 8542, 8544, 8555, 8560, 8569, 8585, 8585, 8592, 8601, 8632, 8633, 8658, 8658, 8660, 8660, 8679, 8679, 8704, 8704, 8706, 8707, 8711, 8712, 8715, 8715, 8719, 8719, 8721, 8721, 8725, 8725, 8730, 8730, 8733, 8736, 8739, 8739, 8741, 8741, 8743, 8748, 8750, 8750, 8756, 8759, 8764, 8765, 8776, 8776, 8780, 8780, 8786, 8786, 8800, 8801, 8804, 8807, 8810, 8811, 8814, 8815, 8834, 8835, 8838, 8839, 8853, 8853, 8857, 8857, 8869, 8869, 8895, 8895, 8978, 8978, 9312, 9449, 9451, 9547, 9552, 9587, 9600, 9615, 9618, 9621, 9632, 9633, 9635, 9641, 9650, 9651, 9654, 9655, 9660, 9661, 9664, 9665, 9670, 9672, 9675, 9675, 9678, 9681, 9698, 9701, 9711, 9711, 9733, 9734, 9737, 9737, 9742, 9743, 9756, 9756, 9758, 9758, 9792, 9792, 9794, 9794, 9824, 9825, 9827, 9829, 9831, 9834, 9836, 9837, 9839, 9839, 9886, 9887, 9919, 9919, 9926, 9933, 9935, 9939, 9941, 9953, 9955, 9955, 9960, 9961, 9963, 9969, 9972, 9972, 9974, 9977, 9979, 9980, 9982, 9983, 10045, 10045, 10102, 10111, 11094, 11097, 12872, 12879, 57344, 63743, 65024, 65039, 65533, 65533, 127232, 127242, 127248, 127277, 127280, 127337, 127344, 127373, 127375, 127376, 127387, 127404, 917760, 917999, 983040, 1048573, 1048576, 1114109];
|
|
5
|
-
|
|
6
|
-
// prettier-ignore
|
|
7
|
-
const fullwidthRanges = [12288, 12288, 65281, 65376, 65504, 65510];
|
|
8
|
-
|
|
9
|
-
// prettier-ignore
|
|
10
|
-
const halfwidthRanges = [8361, 8361, 65377, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65512, 65518];
|
|
11
|
-
|
|
12
|
-
// prettier-ignore
|
|
13
|
-
const narrowRanges = [32, 126, 162, 163, 165, 166, 172, 172, 175, 175, 10214, 10221, 10629, 10630];
|
|
14
|
-
|
|
15
|
-
// prettier-ignore
|
|
16
|
-
const wideRanges = [4352, 4447, 8986, 8987, 9001, 9002, 9193, 9196, 9200, 9200, 9203, 9203, 9725, 9726, 9748, 9749, 9776, 9783, 9800, 9811, 9855, 9855, 9866, 9871, 9875, 9875, 9889, 9889, 9898, 9899, 9917, 9918, 9924, 9925, 9934, 9934, 9940, 9940, 9962, 9962, 9970, 9971, 9973, 9973, 9978, 9978, 9981, 9981, 9989, 9989, 9994, 9995, 10024, 10024, 10060, 10060, 10062, 10062, 10067, 10069, 10071, 10071, 10133, 10135, 10160, 10160, 10175, 10175, 11035, 11036, 11088, 11088, 11093, 11093, 11904, 11929, 11931, 12019, 12032, 12245, 12272, 12287, 12289, 12350, 12353, 12438, 12441, 12543, 12549, 12591, 12593, 12686, 12688, 12773, 12783, 12830, 12832, 12871, 12880, 42124, 42128, 42182, 43360, 43388, 44032, 55203, 63744, 64255, 65040, 65049, 65072, 65106, 65108, 65126, 65128, 65131, 94176, 94180, 94192, 94198, 94208, 101589, 101631, 101662, 101760, 101874, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110951, 110960, 111355, 119552, 119638, 119648, 119670, 126980, 126980, 127183, 127183, 127374, 127374, 127377, 127386, 127488, 127490, 127504, 127547, 127552, 127560, 127568, 127569, 127584, 127589, 127744, 127776, 127789, 127797, 127799, 127868, 127870, 127891, 127904, 127946, 127951, 127955, 127968, 127984, 127988, 127988, 127992, 128062, 128064, 128064, 128066, 128252, 128255, 128317, 128331, 128334, 128336, 128359, 128378, 128378, 128405, 128406, 128420, 128420, 128507, 128591, 128640, 128709, 128716, 128716, 128720, 128722, 128725, 128728, 128732, 128735, 128747, 128748, 128756, 128764, 128992, 129003, 129008, 129008, 129292, 129338, 129340, 129349, 129351, 129535, 129648, 129660, 129664, 129674, 129678, 129734, 129736, 129736, 129741, 129756, 129759, 129770, 129775, 129784, 131072, 196605, 196608, 262141];
|
|
17
|
-
|
|
18
|
-
export {ambiguousRanges, fullwidthRanges, halfwidthRanges, narrowRanges, wideRanges};
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ambiguousRanges,
|
|
3
|
-
fullwidthRanges,
|
|
4
|
-
halfwidthRanges,
|
|
5
|
-
narrowRanges,
|
|
6
|
-
wideRanges,
|
|
7
|
-
} from './lookup-data.js';
|
|
8
|
-
import {isInRange} from './utilities.js';
|
|
9
|
-
|
|
10
|
-
const minimumAmbiguousCodePoint = ambiguousRanges[0];
|
|
11
|
-
const maximumAmbiguousCodePoint = ambiguousRanges.at(-1);
|
|
12
|
-
const minimumFullWidthCodePoint = fullwidthRanges[0];
|
|
13
|
-
const maximumFullWidthCodePoint = fullwidthRanges.at(-1);
|
|
14
|
-
const minimumHalfWidthCodePoint = halfwidthRanges[0];
|
|
15
|
-
const maximumHalfWidthCodePoint = halfwidthRanges.at(-1);
|
|
16
|
-
const minimumNarrowCodePoint = narrowRanges[0];
|
|
17
|
-
const maximumNarrowCodePoint = narrowRanges.at(-1);
|
|
18
|
-
const minimumWideCodePoint = wideRanges[0];
|
|
19
|
-
const maximumWideCodePoint = wideRanges.at(-1);
|
|
20
|
-
|
|
21
|
-
const commonCjkCodePoint = 0x4E_00;
|
|
22
|
-
const [wideFastPathStart, wideFastPathEnd] = findWideFastPathRange(wideRanges);
|
|
23
|
-
|
|
24
|
-
// Use a hot-path range so common `isWide` calls can skip binary search.
|
|
25
|
-
// The range containing U+4E00 covers common CJK ideographs;
|
|
26
|
-
// fallback to the largest range for resilience to Unicode table changes.
|
|
27
|
-
function findWideFastPathRange(ranges) {
|
|
28
|
-
let fastPathStart = ranges[0];
|
|
29
|
-
let fastPathEnd = ranges[1];
|
|
30
|
-
|
|
31
|
-
for (let index = 0; index < ranges.length; index += 2) {
|
|
32
|
-
const start = ranges[index];
|
|
33
|
-
const end = ranges[index + 1];
|
|
34
|
-
|
|
35
|
-
if (
|
|
36
|
-
commonCjkCodePoint >= start
|
|
37
|
-
&& commonCjkCodePoint <= end
|
|
38
|
-
) {
|
|
39
|
-
return [start, end];
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
if ((end - start) > (fastPathEnd - fastPathStart)) {
|
|
43
|
-
fastPathStart = start;
|
|
44
|
-
fastPathEnd = end;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
return [fastPathStart, fastPathEnd];
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export const isAmbiguous = codePoint => {
|
|
52
|
-
if (
|
|
53
|
-
codePoint < minimumAmbiguousCodePoint
|
|
54
|
-
|| codePoint > maximumAmbiguousCodePoint
|
|
55
|
-
) {
|
|
56
|
-
return false;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
return isInRange(ambiguousRanges, codePoint);
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
export const isFullWidth = codePoint => {
|
|
63
|
-
if (
|
|
64
|
-
codePoint < minimumFullWidthCodePoint
|
|
65
|
-
|| codePoint > maximumFullWidthCodePoint
|
|
66
|
-
) {
|
|
67
|
-
return false;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
return isInRange(fullwidthRanges, codePoint);
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
const isHalfWidth = codePoint => {
|
|
74
|
-
if (
|
|
75
|
-
codePoint < minimumHalfWidthCodePoint
|
|
76
|
-
|| codePoint > maximumHalfWidthCodePoint
|
|
77
|
-
) {
|
|
78
|
-
return false;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
return isInRange(halfwidthRanges, codePoint);
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
const isNarrow = codePoint => {
|
|
85
|
-
if (
|
|
86
|
-
codePoint < minimumNarrowCodePoint
|
|
87
|
-
|| codePoint > maximumNarrowCodePoint
|
|
88
|
-
) {
|
|
89
|
-
return false;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
return isInRange(narrowRanges, codePoint);
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
export const isWide = codePoint => {
|
|
96
|
-
if (
|
|
97
|
-
codePoint >= wideFastPathStart
|
|
98
|
-
&& codePoint <= wideFastPathEnd
|
|
99
|
-
) {
|
|
100
|
-
return true;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
if (
|
|
104
|
-
codePoint < minimumWideCodePoint
|
|
105
|
-
|| codePoint > maximumWideCodePoint
|
|
106
|
-
) {
|
|
107
|
-
return false;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
return isInRange(wideRanges, codePoint);
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
export function getCategory(codePoint) {
|
|
114
|
-
if (isAmbiguous(codePoint)) {
|
|
115
|
-
return 'ambiguous';
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
if (isFullWidth(codePoint)) {
|
|
119
|
-
return 'fullwidth';
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
if (isHalfWidth(codePoint)) {
|
|
123
|
-
return 'halfwidth';
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
if (isNarrow(codePoint)) {
|
|
127
|
-
return 'narrow';
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
if (isWide(codePoint)) {
|
|
131
|
-
return 'wide';
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
return 'neutral';
|
|
135
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "get-east-asian-width",
|
|
3
|
-
"version": "1.5.0",
|
|
4
|
-
"description": "Determine the East Asian Width of a Unicode character",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/get-east-asian-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 && tsc index.d.ts",
|
|
24
|
-
"build": "node scripts/build.js",
|
|
25
|
-
"prepublish": "npm run build"
|
|
26
|
-
},
|
|
27
|
-
"files": [
|
|
28
|
-
"index.js",
|
|
29
|
-
"index.d.ts",
|
|
30
|
-
"lookup.js",
|
|
31
|
-
"lookup-data.js",
|
|
32
|
-
"utilities.js"
|
|
33
|
-
],
|
|
34
|
-
"keywords": [
|
|
35
|
-
"unicode",
|
|
36
|
-
"east-asian-width",
|
|
37
|
-
"eastasianwidth",
|
|
38
|
-
"character",
|
|
39
|
-
"string",
|
|
40
|
-
"width",
|
|
41
|
-
"text",
|
|
42
|
-
"layout",
|
|
43
|
-
"alignment",
|
|
44
|
-
"fullwidth",
|
|
45
|
-
"halfwidth",
|
|
46
|
-
"ambiguous",
|
|
47
|
-
"narrow",
|
|
48
|
-
"wide",
|
|
49
|
-
"neutral",
|
|
50
|
-
"typography",
|
|
51
|
-
"japanese",
|
|
52
|
-
"chinese",
|
|
53
|
-
"korean",
|
|
54
|
-
"codepoint",
|
|
55
|
-
"text-processing",
|
|
56
|
-
"i18n",
|
|
57
|
-
"l10n"
|
|
58
|
-
],
|
|
59
|
-
"devDependencies": {
|
|
60
|
-
"ava": "^5.3.1",
|
|
61
|
-
"outdent": "^0.8.0",
|
|
62
|
-
"simplify-ranges": "^0.1.0",
|
|
63
|
-
"typescript": "^5.2.2",
|
|
64
|
-
"xo": "^0.56.0"
|
|
65
|
-
},
|
|
66
|
-
"xo": {
|
|
67
|
-
"ignores": [
|
|
68
|
-
"lookup-data.js"
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# get-east-asian-width
|
|
2
|
-
|
|
3
|
-
> Determine the [East Asian Width](https://unicode.org/reports/tr11/) of a Unicode character
|
|
4
|
-
|
|
5
|
-
> East Asian Width categorizes Unicode characters based on their occupied space in East Asian typography, which helps in text layout and alignment, particularly in languages like Japanese, Chinese, and Korean.
|
|
6
|
-
|
|
7
|
-
Unlike other similar packages, this package uses the latest Unicode data (which changes each year).
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
npm install get-east-asian-width
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
import {eastAsianWidth, eastAsianWidthType} from 'get-east-asian-width';
|
|
19
|
-
|
|
20
|
-
const codePoint = '字'.codePointAt(0);
|
|
21
|
-
|
|
22
|
-
console.log(eastAsianWidth(codePoint));
|
|
23
|
-
//=> 2
|
|
24
|
-
|
|
25
|
-
console.log(eastAsianWidthType(codePoint));
|
|
26
|
-
//=> 'wide'
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## `eastAsianWidth(codePoint: number, options?: object): 1 | 2`
|
|
30
|
-
|
|
31
|
-
Returns the width as a number for the given code point.
|
|
32
|
-
|
|
33
|
-
### options
|
|
34
|
-
|
|
35
|
-
Type: `object`
|
|
36
|
-
|
|
37
|
-
#### ambiguousAsWide
|
|
38
|
-
|
|
39
|
-
Type: `boolean`\
|
|
40
|
-
Default: `false`
|
|
41
|
-
|
|
42
|
-
Whether to treat an `'ambiguous'` character as wide.
|
|
43
|
-
|
|
44
|
-
```js
|
|
45
|
-
import {eastAsianWidth} from 'get-east-asian-width';
|
|
46
|
-
|
|
47
|
-
const codePoint = '⛣'.codePointAt(0);
|
|
48
|
-
|
|
49
|
-
console.log(eastAsianWidth(codePoint));
|
|
50
|
-
//=> 1
|
|
51
|
-
|
|
52
|
-
console.log(eastAsianWidth(codePoint, {ambiguousAsWide: true}));
|
|
53
|
-
//=> 2
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
> 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.**
|
|
57
|
-
> - http://www.unicode.org/reports/tr11/
|
|
58
|
-
|
|
59
|
-
## `eastAsianWidthType(codePoint: number): 'fullwidth' | 'halfwidth' | 'wide' | 'narrow' | 'neutral' | 'ambiguous'`
|
|
60
|
-
|
|
61
|
-
Returns the type of “East Asian Width” for the given code point.
|
|
62
|
-
|
|
63
|
-
## Related
|
|
64
|
-
|
|
65
|
-
- [string-width](https://github.com/sindresorhus/string-width) - Get the visual width of a string
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Binary search on a sorted flat array of [start, end] pairs.
|
|
3
|
-
|
|
4
|
-
@param {number[]} ranges - Flat array of inclusive [start, end] range pairs, e.g. [0, 5, 10, 20].
|
|
5
|
-
@param {number} codePoint - The value to search for.
|
|
6
|
-
@returns {boolean} Whether the value falls within any of the ranges.
|
|
7
|
-
*/
|
|
8
|
-
export const isInRange = (ranges, codePoint) => {
|
|
9
|
-
let low = 0;
|
|
10
|
-
let high = Math.floor(ranges.length / 2) - 1;
|
|
11
|
-
while (low <= high) {
|
|
12
|
-
const mid = Math.floor((low + high) / 2);
|
|
13
|
-
const i = mid * 2;
|
|
14
|
-
if (codePoint < ranges[i]) {
|
|
15
|
-
high = mid - 1;
|
|
16
|
-
} else if (codePoint > ranges[i + 1]) {
|
|
17
|
-
low = mid + 1;
|
|
18
|
-
} else {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return false;
|
|
24
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms).
|
|
3
|
-
|
|
4
|
-
@param codePoint - The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
|
|
5
|
-
|
|
6
|
-
@example
|
|
7
|
-
```
|
|
8
|
-
import isFullwidthCodePoint from 'is-fullwidth-code-point';
|
|
9
|
-
|
|
10
|
-
isFullwidthCodePoint('谢'.codePointAt(0));
|
|
11
|
-
//=> true
|
|
12
|
-
|
|
13
|
-
isFullwidthCodePoint('a'.codePointAt(0));
|
|
14
|
-
//=> false
|
|
15
|
-
```
|
|
16
|
-
*/
|
|
17
|
-
export default function isFullwidthCodePoint(codePoint: number): boolean;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
_isFullWidth as isFullWidth,
|
|
3
|
-
_isWide as isWide,
|
|
4
|
-
} from 'get-east-asian-width';
|
|
5
|
-
|
|
6
|
-
export default function isFullwidthCodePoint(codePoint) {
|
|
7
|
-
if (!Number.isInteger(codePoint)) {
|
|
8
|
-
return false;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
return isFullWidth(codePoint) || isWide(codePoint);
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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.
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "is-fullwidth-code-point",
|
|
3
|
-
"version": "5.1.0",
|
|
4
|
-
"description": "Check if the character represented by a given Unicode code point is fullwidth",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/is-fullwidth-code-point",
|
|
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
|
-
"fullwidth",
|
|
31
|
-
"full-width",
|
|
32
|
-
"full",
|
|
33
|
-
"width",
|
|
34
|
-
"unicode",
|
|
35
|
-
"character",
|
|
36
|
-
"string",
|
|
37
|
-
"codepoint",
|
|
38
|
-
"code",
|
|
39
|
-
"point",
|
|
40
|
-
"is",
|
|
41
|
-
"detect",
|
|
42
|
-
"check",
|
|
43
|
-
"east-asian-width"
|
|
44
|
-
],
|
|
45
|
-
"devDependencies": {
|
|
46
|
-
"ava": "^5.3.1",
|
|
47
|
-
"tsd": "^0.29.0",
|
|
48
|
-
"xo": "^0.56.0"
|
|
49
|
-
},
|
|
50
|
-
"dependencies": {
|
|
51
|
-
"get-east-asian-width": "^1.3.1"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# is-fullwidth-code-point
|
|
2
|
-
|
|
3
|
-
> Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
npm install is-fullwidth-code-point
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import isFullwidthCodePoint from 'is-fullwidth-code-point';
|
|
15
|
-
|
|
16
|
-
isFullwidthCodePoint('谢'.codePointAt(0));
|
|
17
|
-
//=> true
|
|
18
|
-
|
|
19
|
-
isFullwidthCodePoint('a'.codePointAt(0));
|
|
20
|
-
//=> false
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## API
|
|
24
|
-
|
|
25
|
-
### isFullwidthCodePoint(codePoint)
|
|
26
|
-
|
|
27
|
-
#### codePoint
|
|
28
|
-
|
|
29
|
-
Type: `number`
|
|
30
|
-
|
|
31
|
-
The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
|