openship 0.4.4 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -24
- package/dist/bare-2HYDXQEH.js +23 -0
- package/dist/{bowser-MFQA6OS4.js → bowser-O3AEA6AN.js} +5 -1
- package/dist/{chunk-KD7VO4LG.js → chunk-2ZLR7ULL.js} +255 -65
- package/dist/{chunk-YHXCHW7Q.js → chunk-3JQTL4R4.js} +236 -99
- package/dist/{chunk-E77LJWJK.js → chunk-4TJC4JZQ.js} +20 -9
- package/dist/{chunk-YL67EWYZ.js → chunk-4Z5QO7N6.js} +6 -2
- package/dist/{chunk-WJPCBU7Z.js → chunk-5FNIWBFI.js} +10 -6
- package/dist/{chunk-Y37KHU7L.js → chunk-5MZ624VX.js} +5 -0
- package/dist/{chunk-QKFRZNKN.js → chunk-6APIPIJY.js} +8 -4
- package/dist/{chunk-JZLNHGLW.js → chunk-6APULWSU.js} +153 -133
- package/dist/{chunk-F4DFVG6Q.js → chunk-6B5YCFFV.js} +8 -4
- package/dist/{chunk-XVSAUO2I.js → chunk-AVIB7CT7.js} +5 -1
- package/dist/{chunk-TEYJYSMT.js → chunk-C5OHTYEF.js} +12 -6
- package/dist/{chunk-7UOB5GGQ.js → chunk-DYPH4HCI.js} +5 -0
- package/dist/{chunk-XIFRMKYT.js → chunk-EI575GHN.js} +6 -2
- package/dist/{chunk-4CQWT2WL.js → chunk-FPRHYBY2.js} +5 -0
- package/dist/chunk-FQGJZ2HS.js +248 -0
- package/dist/{chunk-JR2OCMJA.js → chunk-FRNAR33O.js} +6 -2
- package/dist/{chunk-JUJBBF5U.js → chunk-FXTBHTWY.js} +362 -42
- package/dist/chunk-ILFETZOM.js +131 -0
- package/dist/{chunk-5ZCKQ2MI.js → chunk-IXCHURVK.js} +7 -3
- package/dist/{chunk-6ERIMTBC.js → chunk-JYGD5WSN.js} +5 -0
- package/dist/{chunk-4VNS5WPM.js → chunk-KI2EY3WB.js} +4 -0
- package/dist/{chunk-3U4SPZD5.js → chunk-L2VOGB2X.js} +7 -104
- package/dist/{chunk-NB2VEIWG.js → chunk-MZ2WEHHY.js} +7 -3
- package/dist/{chunk-BUBSSKO6.js → chunk-O6ZZF52V.js} +5 -1
- package/dist/{chunk-LBFH7THC.js → chunk-OWED2GRM.js} +5 -1
- package/dist/{chunk-4MG3BVHE.js → chunk-OXWDY22G.js} +6 -2
- package/dist/{chunk-4FABQGQP.js → chunk-Q2CIRAOK.js} +5 -0
- package/dist/{chunk-4LEL3H2Z.js → chunk-RPHRPFEH.js} +5 -0
- package/dist/{chunk-46YJFP4S.js → chunk-SQ77DZOI.js} +1728 -1484
- package/dist/{chunk-S6DSRLNE.js → chunk-TGIINPVM.js} +15 -2
- package/dist/{chunk-U2DPZSXA.js → chunk-TYVME3XD.js} +9 -1
- package/dist/{chunk-HFYDYK4D.js → chunk-V6AN6XLZ.js} +18 -6
- package/dist/{chunk-ZKJOFWBJ.js → chunk-VDMQJHPI.js} +38 -15
- package/dist/{chunk-E6W2JMMU.js → chunk-VFINNTUL.js} +22 -1
- package/dist/{chunk-OJE6YWPQ.js → chunk-VWPEKOH6.js} +6 -2
- package/dist/{chunk-5N7VUGL6.js → chunk-W73X43R7.js} +6 -2
- package/dist/cloud-7QYOGF7F.js +11 -0
- package/dist/cloud-ZSKOS4GY.js +30 -0
- package/dist/detect-SH4FHFBI.js +36 -0
- package/dist/{dist-L3MPOWCA.js → dist-IQJ6H6UZ.js} +6 -2
- package/dist/{dist-es-KE56MWYO.js → dist-es-5DY7K32L.js} +9 -5
- package/dist/dist-es-JSTDUS7Q.js +26 -0
- package/dist/{dist-es-GTAMF674.js → dist-es-OSNJBLXB.js} +8 -4
- package/dist/{dist-es-NRZIQY5B.js → dist-es-RYHIPOTN.js} +17 -13
- package/dist/{dist-es-XQCOTGC7.js → dist-es-VNKHQVIB.js} +7 -3
- package/dist/{dist-es-WZCR7DHQ.js → dist-es-WV4AMOII.js} +11 -7
- package/dist/{dist-es-ZW3HFQUM.js → dist-es-X3B5QYKB.js} +9 -5
- package/dist/docker-U7AF5PTA.js +16 -0
- package/dist/docker-edge-executor-VHW3JPJS.js +13 -0
- package/dist/edge-import-V5CBA47C.js +45 -0
- package/dist/ensure-container-edge-CMYROUSI.js +33 -0
- package/dist/{event-streams-7LGDL56D.js → event-streams-EHRAKL75.js} +7 -3
- package/dist/executor-YPT6RH6O.js +30 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +258 -245
- package/dist/{loadSso-N273C5I7.js → loadSso-46FQRIZS.js} +13 -9
- package/dist/local-executor-V7U5VOZW.js +12 -0
- package/dist/nginx-2GTRUIDE.js +24 -0
- package/dist/noop-FMMFG2EZ.js +11 -0
- package/dist/{openresty-lua-HAO4EUDY.js → openresty-lua-4WLGDSER.js} +13 -3
- package/dist/server/engine/ChangeLog +2289 -0
- package/dist/server/engine/Documentations +5 -0
- package/dist/server/engine/LICENSE +674 -0
- package/dist/server/engine/README.md +34 -0
- package/dist/server/engine/conf/amavisd +150 -0
- package/dist/server/engine/conf/clamav +71 -0
- package/dist/server/engine/conf/core +632 -0
- package/dist/server/engine/conf/dovecot +151 -0
- package/dist/server/engine/conf/fail2ban +72 -0
- package/dist/server/engine/conf/global +698 -0
- package/dist/server/engine/conf/iredapd +52 -0
- package/dist/server/engine/conf/logwatch +28 -0
- package/dist/server/engine/conf/postfix +97 -0
- package/dist/server/engine/conf/postgresql +93 -0
- package/dist/server/engine/conf/spamassassin +39 -0
- package/dist/server/engine/dialog/config_via_dialog.sh +258 -0
- package/dist/server/engine/dialog/optional_components.sh +122 -0
- package/dist/server/engine/dialog/pgsql_config.sh +52 -0
- package/dist/server/engine/dialog/virtual_domain_config.sh +94 -0
- package/dist/server/engine/functions/amavisd.sh +267 -0
- package/dist/server/engine/functions/backend.sh +85 -0
- package/dist/server/engine/functions/clamav.sh +100 -0
- package/dist/server/engine/functions/cleanup.sh +393 -0
- package/dist/server/engine/functions/dovecot.sh +583 -0
- package/dist/server/engine/functions/fail2ban.sh +209 -0
- package/dist/server/engine/functions/iredapd.sh +356 -0
- package/dist/server/engine/functions/optional_components.sh +24 -0
- package/dist/server/engine/functions/packages.sh +522 -0
- package/dist/server/engine/functions/packages_freebsd.sh +179 -0
- package/dist/server/engine/functions/postfix.sh +457 -0
- package/dist/server/engine/functions/postgresql.sh +239 -0
- package/dist/server/engine/functions/spamassassin.sh +49 -0
- package/dist/server/engine/functions/system_accounts.sh +128 -0
- package/dist/server/engine/iRedMail.sh +144 -0
- package/dist/server/engine/pkgs/get_all.sh +338 -0
- package/dist/server/engine/pkgs/pkgs.freebsd.sha256 +3 -0
- package/dist/server/engine/pkgs/pkgs.openbsd.sha256 +6 -0
- package/dist/server/engine/pkgs/pkgs.sha256 +1 -0
- package/dist/server/engine/samples/amavisd/amavisd.conf +677 -0
- package/dist/server/engine/samples/amavisd/amavisd.mysql +278 -0
- package/dist/server/engine/samples/amavisd/amavisd.pgsql +253 -0
- package/dist/server/engine/samples/amavisd/amavisd.schema +942 -0
- package/dist/server/engine/samples/amavisd/default_spam_policy.sql +46 -0
- package/dist/server/engine/samples/dovecot/dovecot-2.4-mariadb.conf +758 -0
- package/dist/server/engine/samples/dovecot/dovecot-2.4-openldap.conf +767 -0
- package/dist/server/engine/samples/dovecot/dovecot-2.4-pgsql.conf +762 -0
- package/dist/server/engine/samples/dovecot/dovecot-last-login.conf +50 -0
- package/dist/server/engine/samples/dovecot/dovecot-ldap.conf +21 -0
- package/dist/server/engine/samples/dovecot/dovecot-share-folder.conf +22 -0
- package/dist/server/engine/samples/dovecot/dovecot-sql.conf +28 -0
- package/dist/server/engine/samples/dovecot/dovecot-used-quota.conf +13 -0
- package/dist/server/engine/samples/dovecot/dovecot.conf +484 -0
- package/dist/server/engine/samples/dovecot/dovecot.sieve +7 -0
- package/dist/server/engine/samples/dovecot/dovecot2-quota-warning.sh +38 -0
- package/dist/server/engine/samples/dovecot/sql/imap_share_folder.mysql +16 -0
- package/dist/server/engine/samples/dovecot/sql/last_login.mysql +12 -0
- package/dist/server/engine/samples/dovecot/sql/used_quota.mysql +26 -0
- package/dist/server/engine/samples/dovecot/systemd/override.conf +3 -0
- package/dist/server/engine/samples/fail2ban/action.d/banned_db.conf +9 -0
- package/dist/server/engine/samples/fail2ban/bin/fail2ban_banned_db +268 -0
- package/dist/server/engine/samples/fail2ban/fail2ban.local +17 -0
- package/dist/server/engine/samples/fail2ban/filter.d/dovecot.iredmail.conf +5 -0
- package/dist/server/engine/samples/fail2ban/filter.d/postfix-pregreet.iredmail.conf +16 -0
- package/dist/server/engine/samples/fail2ban/filter.d/postfix.iredmail.conf +18 -0
- package/dist/server/engine/samples/fail2ban/filter.d/roundcube.iredmail.conf +9 -0
- package/dist/server/engine/samples/fail2ban/jail.d/dovecot.local +8 -0
- package/dist/server/engine/samples/fail2ban/jail.d/nginx-http-auth.local +8 -0
- package/dist/server/engine/samples/fail2ban/jail.d/postfix-pregreet.local +9 -0
- package/dist/server/engine/samples/fail2ban/jail.d/postfix.local +8 -0
- package/dist/server/engine/samples/fail2ban/jail.d/roundcube.local +9 -0
- package/dist/server/engine/samples/fail2ban/jail.d/sogo.local +8 -0
- package/dist/server/engine/samples/fail2ban/jail.d/sshd.local +8 -0
- package/dist/server/engine/samples/fail2ban/jail.local +6 -0
- package/dist/server/engine/samples/fail2ban/openbsd/rc +27 -0
- package/dist/server/engine/samples/fail2ban/sql/fail2ban.mysql +49 -0
- package/dist/server/engine/samples/fail2ban/sql/fail2ban.pgsql +48 -0
- package/dist/server/engine/samples/firewall/firewalld/services/ssh.xml +6 -0
- package/dist/server/engine/samples/firewall/firewalld/zones/iredmail.xml +15 -0
- package/dist/server/engine/samples/firewall/iptables/ip6tables.init.debian +362 -0
- package/dist/server/engine/samples/firewall/iptables/ip6tables.rules +53 -0
- package/dist/server/engine/samples/firewall/iptables/iptables.init.debian +363 -0
- package/dist/server/engine/samples/firewall/iptables/iptables.rules +54 -0
- package/dist/server/engine/samples/firewall/nftables.conf +58 -0
- package/dist/server/engine/samples/freebsd/newsyslog.conf.d/dovecot.conf +3 -0
- package/dist/server/engine/samples/freebsd/newsyslog.conf.d/iredapd.conf +1 -0
- package/dist/server/engine/samples/freebsd/newsyslog.conf.d/mlmmjadmin.conf +1 -0
- package/dist/server/engine/samples/freebsd/newsyslog.conf.d/php-fpm.conf +2 -0
- package/dist/server/engine/samples/freebsd/newsyslog.conf.d/slapd.conf +1 -0
- package/dist/server/engine/samples/freebsd/syslog.d/dovecot.conf +2 -0
- package/dist/server/engine/samples/freebsd/syslog.d/fail2ban.conf +2 -0
- package/dist/server/engine/samples/freebsd/syslog.d/iredapd.conf +2 -0
- package/dist/server/engine/samples/freebsd/syslog.d/mlmmjadmin.conf +2 -0
- package/dist/server/engine/samples/freebsd/syslog.d/php-fpm.conf +2 -0
- package/dist/server/engine/samples/freebsd/syslog.d/slapd.conf +2 -0
- package/dist/server/engine/samples/iredmail/iredmail.mysql +491 -0
- package/dist/server/engine/samples/iredmail/iredmail.pgsql +465 -0
- package/dist/server/engine/samples/iredmail/iredmail.schema +456 -0
- package/dist/server/engine/samples/iredmail/used_quota_triggers_dovecot_2.3.pgsql +40 -0
- package/dist/server/engine/samples/iredmail/used_quota_triggers_dovecot_2.4.pgsql +18 -0
- package/dist/server/engine/samples/logrotate/dovecot +13 -0
- package/dist/server/engine/samples/logrotate/iredapd +13 -0
- package/dist/server/engine/samples/logrotate/mlmmjadmin +13 -0
- package/dist/server/engine/samples/logrotate/openldap +19 -0
- package/dist/server/engine/samples/logrotate/php-fpm +13 -0
- package/dist/server/engine/samples/openbsd/ldapd.conf +58 -0
- package/dist/server/engine/samples/openbsd/pf.conf +28 -0
- package/dist/server/engine/samples/postfix/command_filter.pcre +3 -0
- package/dist/server/engine/samples/postfix/freebsd/mailer.conf +9 -0
- package/dist/server/engine/samples/postfix/helo_access.pcre +180 -0
- package/dist/server/engine/samples/postfix/ldap/catchall_maps.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/recipient_bcc_maps_domain.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/recipient_bcc_maps_user.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/relay_domains.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/sender_bcc_maps_domain.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/sender_bcc_maps_user.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/sender_dependent_relayhost_maps_domain.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/sender_dependent_relayhost_maps_user.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/sender_login_maps.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/transport_maps_domain.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/transport_maps_user.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/virtual_alias_maps.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/virtual_group_maps.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/virtual_group_members_maps.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/virtual_mailbox_domains.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/virtual_mailbox_maps.cf +12 -0
- package/dist/server/engine/samples/postfix/main.cf +282 -0
- package/dist/server/engine/samples/postfix/main.cf.amavisd +7 -0
- package/dist/server/engine/samples/postfix/main.cf.dovecot +8 -0
- package/dist/server/engine/samples/postfix/main.cf.ldap +39 -0
- package/dist/server/engine/samples/postfix/main.cf.mlmmj +5 -0
- package/dist/server/engine/samples/postfix/main.cf.mysql +39 -0
- package/dist/server/engine/samples/postfix/main.cf.pgsql +39 -0
- package/dist/server/engine/samples/postfix/main.cf.postscreen +30 -0
- package/dist/server/engine/samples/postfix/master.cf +87 -0
- package/dist/server/engine/samples/postfix/mysql/catchall_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/domain_alias_catchall_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/domain_alias_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/recipient_bcc_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/recipient_bcc_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/relay_domains.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/sender_bcc_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/sender_bcc_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/sender_dependent_relayhost_maps.cf +6 -0
- package/dist/server/engine/samples/postfix/mysql/sender_login_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/transport_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/transport_maps_maillist.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/transport_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/virtual_alias_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/virtual_mailbox_domains.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/virtual_mailbox_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/catchall_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/domain_alias_catchall_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/domain_alias_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/recipient_bcc_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/recipient_bcc_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/relay_domains.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/sender_bcc_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/sender_bcc_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/sender_dependent_relayhost_maps.cf +6 -0
- package/dist/server/engine/samples/postfix/pgsql/sender_login_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/transport_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/transport_maps_maillist.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/transport_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/virtual_alias_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/virtual_mailbox_domains.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/virtual_mailbox_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/postscreen_access.cidr +6 -0
- package/dist/server/engine/samples/postgresql/sql/add_first_domain_and_user.sql +34 -0
- package/dist/server/engine/samples/postgresql/sql/grant_permissions.sql +14 -0
- package/dist/server/engine/samples/postgresql/sql/init_vmail_db.sql +15 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-dovecot.conf +23 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-fail2ban.conf +2 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-iredapd.conf +12 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-mlmmjadmin.conf +12 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-openldap.conf +2 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-phpfpm.conf +3 -0
- package/dist/server/engine/samples/spamassassin/local.cf +186 -0
- package/dist/server/engine/samples/spamassassin/razor.conf +1 -0
- package/dist/server/engine/samples/systemd/clamd.service.d/override.conf +2 -0
- package/dist/server/engine/samples/systemd/mariadb.service.d/override.conf +3 -0
- package/dist/server/engine/samples/systemd/slapd.service.d/override.conf +6 -0
- package/dist/server/engine/samples/yum/CentOS-Linux-AppStream.repo +6 -0
- package/dist/server/engine/samples/yum/CentOS-Linux-PowerTools.repo +6 -0
- package/dist/server/engine/samples/yum/CentOS-Stream-AppStream.repo +7 -0
- package/dist/server/engine/samples/yum/CentOS-Stream-PowerTools.repo +7 -0
- package/dist/server/engine/samples/yum/symas-openldap.repo +6 -0
- package/dist/server/engine/tools/add_enabled_service.py +60 -0
- package/dist/server/engine/tools/backup_mysql.sh +238 -0
- package/dist/server/engine/tools/backup_openldap.sh +230 -0
- package/dist/server/engine/tools/backup_pgsql.sh +217 -0
- package/dist/server/engine/tools/backup_sogo.sh +156 -0
- package/dist/server/engine/tools/create_mail_user_OpenLDAP.py +335 -0
- package/dist/server/engine/tools/create_mail_user_OpenLDAP.sh +287 -0
- package/dist/server/engine/tools/create_mail_user_SQL.sh +127 -0
- package/dist/server/engine/tools/enable_postscreen.sh +144 -0
- package/dist/server/engine/tools/fail2ban_unban_ip.sh +39 -0
- package/dist/server/engine/tools/find_sasl_login_ip.sh +20 -0
- package/dist/server/engine/tools/find_top_sasl_usernames.sh +28 -0
- package/dist/server/engine/tools/generate_ssl_keys.sh +85 -0
- package/dist/server/engine/tools/kill_high_cpu_sogo_process.sh +32 -0
- package/dist/server/engine/tools/ldap_assign_user_to_groups.py +151 -0
- package/dist/server/engine/tools/ldap_move_members_to_another_group.py +129 -0
- package/dist/server/engine/tools/migrate_sql_alias_table.py +177 -0
- package/dist/server/engine/update/0.9.8/amavisd.mysql +29 -0
- package/dist/server/engine/update/0.9.8/amavisd.pgsql +39 -0
- package/dist/server/engine/update/0.9.8/iredmail.mysql +53 -0
- package/dist/server/engine/update/0.9.8/iredmail.pgsql +61 -0
- package/dist/server/engine/update/0.9.9/iredmail.mysql +2 -0
- package/dist/server/engine/update/0.9.9/iredmail.pgsql +2 -0
- package/dist/server/engine/update/1.0/iredmail.mysql +2 -0
- package/dist/server/engine/update/1.0/iredmail.pgsql +2 -0
- package/dist/server/engine/update/1.2/last_login.mysql +16 -0
- package/dist/server/engine/update/1.4.0/iredmail.mysql +22 -0
- package/dist/server/engine/update/1.4.0/iredmail.pgsql +20 -0
- package/dist/server/engine/update/1.4.1/iredmail.mysql +3 -0
- package/dist/server/engine/update/1.4.1/iredmail.pgsql +3 -0
- package/dist/server/engine/update/1.4.1/sogo.mysql +11 -0
- package/dist/server/engine/update/1.4.1/sogo.pgsql +30 -0
- package/dist/server/engine/update/1.4.1/update-ldap.py +66 -0
- package/dist/server/engine/update/1.4.2/iredmail.mysql +9 -0
- package/dist/server/engine/update/1.4.2/iredmail.pgsql +9 -0
- package/dist/server/engine/update/1.4.2/sogo.pgsql +30 -0
- package/dist/server/engine/update/1.6.0/sogo_view.pgsql +27 -0
- package/dist/server/engine/update/1.6.3/iredmail.mysql +1 -0
- package/dist/server/engine/update/1.7.0/fail2ban.mysql +11 -0
- package/dist/server/engine/update/1.7.0/fail2ban.pgsql +12 -0
- package/dist/server/engine/update/1.7.1/amavisd.mysql +1 -0
- package/dist/server/engine/update/1.7.2/vmail.mysql +30 -0
- package/dist/server/engine/update/1.7.3/deleted_mailboxes.mysql +43 -0
- package/dist/server/engine/update/1.7.3/iredadmin.mysql +26 -0
- package/dist/server/engine/update/1.7.3/vmail.mysql +79 -0
- package/dist/server/engine/update/1.7.3/vmail.pgsql +9 -0
- package/dist/server/engine/update/README.md +1 -0
- package/dist/server/engine/update/ldap/README.md +40 -0
- package/dist/server/engine/update/ldap/update-ldap-dovecot-2.3.py +69 -0
- package/dist/server/index.js +55574 -53675
- package/dist/server/migrations/0071_gh_device_token.sql +3 -0
- package/dist/server/migrations/0072_gh_device_token_method.sql +1 -0
- package/dist/server/migrations/meta/_journal.json +14 -0
- package/dist/setup-HQIZLUOJ.js +20 -0
- package/dist/{signin-DR462ERO.js → signin-ITOPKKUB.js} +13 -9
- package/dist/{sso-oidc-VBZLJUK5.js → sso-oidc-NON2PD7Y.js} +13 -9
- package/dist/{sts-EJLZ4Z77.js → sts-HHFFSAY2.js} +12 -8
- package/package.json +1 -1
- package/dist/bare-ITM45QBX.js +0 -18
- package/dist/cloud-JMPHO3CW.js +0 -7
- package/dist/cloud-W5G6YXAY.js +0 -24
- package/dist/dist-es-4C322O5D.js +0 -22
- package/dist/docker-3FVJMFC3.js +0 -12
- package/dist/docker-edge-executor-ZIWAZWPL.js +0 -9
- package/dist/edge-import-Y34YL6JK.js +0 -39
- package/dist/executor-J7BHW5HF.js +0 -26
- package/dist/nginx-YZWKYKQU.js +0 -16
- package/dist/noop-RRNCIUI5.js +0 -7
- package/dist/setup-5X3WEEHA.js +0 -14
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
LocalExecutor
|
|
3
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TYVME3XD.js";
|
|
4
8
|
import {
|
|
5
9
|
logEntry,
|
|
6
10
|
sq
|
|
7
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FPRHYBY2.js";
|
|
8
12
|
|
|
9
13
|
// ../../packages/adapters/src/system/docker-edge-executor.ts
|
|
10
14
|
import Dockerode from "dockerode";
|
|
@@ -72,6 +76,15 @@ var DockerEdgeExecutor = class {
|
|
|
72
76
|
// ── File ops ─────────────────────────────────────────────────────────────
|
|
73
77
|
// "mounted": the shared volume is in this process's filesystem → node:fs.
|
|
74
78
|
// "container": reach it through the daemon → `docker exec` in the edge.
|
|
79
|
+
/** Same fileMode split as every other file op — never a bare `docker exec mv`. */
|
|
80
|
+
async rename(from, to) {
|
|
81
|
+
if (this.fileMode === "mounted") {
|
|
82
|
+
await this.files.rename(from, to);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
const { code, stderr } = await this.run(`mv ${sq(from)} ${sq(to)}`);
|
|
86
|
+
if (code !== 0) throw new Error(stderr.trim() || `Failed to rename ${from}`);
|
|
87
|
+
}
|
|
75
88
|
async writeFile(path, content) {
|
|
76
89
|
if (this.fileMode === "mounted") return this.files.writeFile(path, content);
|
|
77
90
|
const encoded = Buffer.from(content, "utf8").toString("base64");
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
getLocalExecEnv,
|
|
3
7
|
getLocalShellArgs,
|
|
4
8
|
getLocalShellPath,
|
|
5
9
|
logEntry,
|
|
6
10
|
sq
|
|
7
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FPRHYBY2.js";
|
|
8
12
|
|
|
9
13
|
// ../../packages/adapters/src/system/local-executor.ts
|
|
10
14
|
import { exec, spawn } from "child_process";
|
|
@@ -12,6 +16,7 @@ import {
|
|
|
12
16
|
access,
|
|
13
17
|
mkdir as fsMkdir,
|
|
14
18
|
readFile as fsReadFile,
|
|
19
|
+
rename as fsRename,
|
|
15
20
|
rm as fsRm,
|
|
16
21
|
writeFile as fsWriteFile
|
|
17
22
|
} from "fs/promises";
|
|
@@ -64,6 +69,9 @@ var LocalExecutor = class {
|
|
|
64
69
|
await fsMkdir(dirname(path), { recursive: true });
|
|
65
70
|
await fsWriteFile(path, content, "utf-8");
|
|
66
71
|
}
|
|
72
|
+
async rename(from, to) {
|
|
73
|
+
await fsRename(from, to);
|
|
74
|
+
}
|
|
67
75
|
async readFile(path) {
|
|
68
76
|
return fsReadFile(path, "utf-8");
|
|
69
77
|
}
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
assembleGitClone,
|
|
3
7
|
localGitSshWriter,
|
|
4
8
|
materializeGitSsh,
|
|
5
9
|
sq
|
|
6
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4Z5QO7N6.js";
|
|
7
11
|
import {
|
|
8
12
|
getTarCreateEnv,
|
|
9
13
|
prepareSourceTarArgs
|
|
10
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OXWDY22G.js";
|
|
11
15
|
import {
|
|
12
16
|
packageManagerEnsureCommand
|
|
13
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6APULWSU.js";
|
|
14
18
|
import {
|
|
15
19
|
__commonJS,
|
|
16
20
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KI2EY3WB.js";
|
|
18
22
|
|
|
19
23
|
// ../../node_modules/ignore/index.js
|
|
20
24
|
var require_ignore = __commonJS({
|
|
@@ -763,14 +767,20 @@ function staticNginxTemplateLines(port) {
|
|
|
763
767
|
"}"
|
|
764
768
|
];
|
|
765
769
|
}
|
|
770
|
+
function staticBuilderOutputPath(config) {
|
|
771
|
+
const sourceDir = builderSourceDir(
|
|
772
|
+
normalizeDockerRootDirectory(config.rootDirectory, config.localPath)
|
|
773
|
+
);
|
|
774
|
+
const output = normalizeRelativePath(config.outputDirectory);
|
|
775
|
+
return output ? `${sourceDir}/${output}` : sourceDir;
|
|
776
|
+
}
|
|
766
777
|
function generateStaticDockerfile(config) {
|
|
767
778
|
const sourceDir = builderSourceDir(
|
|
768
779
|
normalizeDockerRootDirectory(config.rootDirectory, config.localPath)
|
|
769
780
|
);
|
|
770
781
|
const envPrefix = buildEnvPrefix(config.envVars);
|
|
771
782
|
const workspacePrepare = config.workspacePrepareCommand?.trim();
|
|
772
|
-
const
|
|
773
|
-
const outputPath = output ? `${sourceDir}/${output}` : sourceDir;
|
|
783
|
+
const outputPath = staticBuilderOutputPath(config);
|
|
774
784
|
const nginxTemplate = staticNginxTemplateLines(config.port).map((line) => `'${line}'`).join(" ");
|
|
775
785
|
const lines = [
|
|
776
786
|
`FROM ${config.buildImage} AS builder`,
|
|
@@ -783,6 +793,7 @@ function generateStaticDockerfile(config) {
|
|
|
783
793
|
lines.push(`WORKDIR ${sourceDir}`);
|
|
784
794
|
const stepsLine = installBuildRunLine(config, envPrefix);
|
|
785
795
|
if (stepsLine) lines.push(stepsLine);
|
|
796
|
+
if (config.staticExtractOnly) return lines.join("\n");
|
|
786
797
|
lines.push(
|
|
787
798
|
`FROM nginx:alpine AS runtime`,
|
|
788
799
|
`RUN rm -f /etc/nginx/conf.d/default.conf`,
|
|
@@ -1085,6 +1096,7 @@ async function createDockerBuildContext(config, opts) {
|
|
|
1085
1096
|
export {
|
|
1086
1097
|
normalizeDockerRelativePath,
|
|
1087
1098
|
resolveDockerfileCandidates,
|
|
1099
|
+
staticBuilderOutputPath,
|
|
1088
1100
|
generateDockerfile,
|
|
1089
1101
|
prepareSourceTree,
|
|
1090
1102
|
resolveServiceDockerfile,
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
prepareStackOutput,
|
|
3
7
|
resolveProjectDir,
|
|
4
8
|
resolveStaticOutputPath,
|
|
5
9
|
runLocalBuild
|
|
6
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MZ2WEHHY.js";
|
|
7
11
|
import {
|
|
8
|
-
probeListeningPort,
|
|
9
12
|
resolveEnvironment
|
|
10
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-L2VOGB2X.js";
|
|
11
14
|
import {
|
|
12
15
|
BuildCancelledError,
|
|
13
16
|
BuildLogger,
|
|
@@ -16,20 +19,23 @@ import {
|
|
|
16
19
|
runBuildPipeline,
|
|
17
20
|
sq,
|
|
18
21
|
transferLocalDirectory
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
LocalExecutor
|
|
22
|
-
} from "./chunk-U2DPZSXA.js";
|
|
22
|
+
} from "./chunk-4Z5QO7N6.js";
|
|
23
23
|
import {
|
|
24
24
|
formatDuration,
|
|
25
25
|
isRemoteConnectionError,
|
|
26
26
|
isRetryableRemoteConnectionError,
|
|
27
27
|
systemDebug
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RPHRPFEH.js";
|
|
29
|
+
import {
|
|
30
|
+
LocalExecutor
|
|
31
|
+
} from "./chunk-TYVME3XD.js";
|
|
29
32
|
import {
|
|
30
33
|
sq as sq2,
|
|
31
34
|
wrapLocalBuildCommand
|
|
32
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FPRHYBY2.js";
|
|
36
|
+
import {
|
|
37
|
+
probeListeningPort
|
|
38
|
+
} from "./chunk-ILFETZOM.js";
|
|
33
39
|
import {
|
|
34
40
|
DeployError,
|
|
35
41
|
LANGUAGES,
|
|
@@ -38,7 +44,7 @@ import {
|
|
|
38
44
|
missingOutputDirectoryMessage,
|
|
39
45
|
packageManagerEnsureCommand,
|
|
40
46
|
safeErrorMessage
|
|
41
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6APULWSU.js";
|
|
42
48
|
|
|
43
49
|
// ../../packages/adapters/src/system/remote-journal.ts
|
|
44
50
|
var OPSH_RUN_VERSION = 1;
|
|
@@ -1760,13 +1766,21 @@ var BareRuntime = class {
|
|
|
1760
1766
|
config.deploymentId,
|
|
1761
1767
|
config.previousDeploymentId
|
|
1762
1768
|
) : stagedDir;
|
|
1763
|
-
const staticRoot =
|
|
1764
|
-
|
|
1769
|
+
const staticRoot = resolveStaticOutputPath(workDir, config.outputDirectory);
|
|
1770
|
+
const abort = async (message) => {
|
|
1765
1771
|
if (workDir !== stagedDir) {
|
|
1766
1772
|
await this.executor.rm(workDir).catch(() => {
|
|
1767
1773
|
});
|
|
1768
1774
|
}
|
|
1769
|
-
throw new Error(
|
|
1775
|
+
throw new Error(message);
|
|
1776
|
+
};
|
|
1777
|
+
if (!await this.executor.exists(staticRoot)) {
|
|
1778
|
+
return abort(missingOutputDirectoryMessage(config.outputDirectory));
|
|
1779
|
+
}
|
|
1780
|
+
if (await this.isEmptyDir(staticRoot)) {
|
|
1781
|
+
return abort(
|
|
1782
|
+
`The output directory "${config.outputDirectory || "."}" is empty \u2014 the build produced no files to serve, so every request would 404. Check the build command and the Output Directory setting.`
|
|
1783
|
+
);
|
|
1770
1784
|
}
|
|
1771
1785
|
return {
|
|
1772
1786
|
deploymentId: config.deploymentId,
|
|
@@ -1774,8 +1788,17 @@ var BareRuntime = class {
|
|
|
1774
1788
|
status: "running"
|
|
1775
1789
|
};
|
|
1776
1790
|
}
|
|
1777
|
-
|
|
1778
|
-
|
|
1791
|
+
/**
|
|
1792
|
+
* Is this an existing directory with no entries? Any inconclusive answer (not a
|
|
1793
|
+
* directory, unreadable, exec failed) returns false — a probe that can't read
|
|
1794
|
+
* must never be the thing that fails a deploy.
|
|
1795
|
+
*/
|
|
1796
|
+
async isEmptyDir(path) {
|
|
1797
|
+
const p = sq(path);
|
|
1798
|
+
const out = await this.executor.exec(`if [ -d ${p} ]; then echo DIR; ls -A ${p} 2>/dev/null | head -1; fi; true`).catch(() => null);
|
|
1799
|
+
if (out === null) return false;
|
|
1800
|
+
const lines = out.split("\n").map((l) => l.trim()).filter(Boolean);
|
|
1801
|
+
return lines.length === 1 && lines[0] === "DIR";
|
|
1779
1802
|
}
|
|
1780
1803
|
async stop(containerId) {
|
|
1781
1804
|
const sv = await this.supervisor();
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
safeErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6APULWSU.js";
|
|
4
8
|
|
|
5
9
|
// ../../packages/adapters/src/infra/openresty-lua.ts
|
|
6
10
|
import { createHash } from "crypto";
|
|
@@ -32,6 +36,20 @@ var OPENRESTY_DEFAULT_PATHS = {
|
|
|
32
36
|
sitesDir: "/usr/local/openresty/nginx/conf/sites-enabled",
|
|
33
37
|
pidPath: "/usr/local/openresty/nginx/logs/nginx.pid"
|
|
34
38
|
};
|
|
39
|
+
var EDGE_HOST_STATE_DIR = "/var/lib/openship/edge";
|
|
40
|
+
var EDGE_CONTAINER_MOUNTS = [
|
|
41
|
+
{ host: `${EDGE_HOST_STATE_DIR}/sites-enabled`, container: OPENRESTY_DEFAULT_PATHS.sitesDir },
|
|
42
|
+
{ host: "/etc/letsencrypt", container: "/etc/letsencrypt" },
|
|
43
|
+
{ host: `${EDGE_HOST_STATE_DIR}/acme`, container: "/var/www/acme" },
|
|
44
|
+
{ host: "/opt/openship/static", container: "/opt/openship/static" }
|
|
45
|
+
];
|
|
46
|
+
var EDGE_HOST_PATHS = {
|
|
47
|
+
bin: OPENRESTY_DEFAULT_PATHS.bin,
|
|
48
|
+
confPath: OPENRESTY_DEFAULT_PATHS.confPath,
|
|
49
|
+
confDir: OPENRESTY_DEFAULT_PATHS.confDir,
|
|
50
|
+
sitesDir: `${EDGE_HOST_STATE_DIR}/sites-enabled`,
|
|
51
|
+
pidPath: OPENRESTY_DEFAULT_PATHS.pidPath
|
|
52
|
+
};
|
|
35
53
|
var KNOWN_CONF_PATHS = [
|
|
36
54
|
"/usr/local/openresty/nginx/conf/nginx.conf",
|
|
37
55
|
"/etc/openresty/nginx.conf",
|
|
@@ -330,6 +348,9 @@ export {
|
|
|
330
348
|
RULES_GUARD_PATH,
|
|
331
349
|
OPENRESTY_MGMT_PORT,
|
|
332
350
|
OPENRESTY_DEFAULT_PATHS,
|
|
351
|
+
EDGE_HOST_STATE_DIR,
|
|
352
|
+
EDGE_CONTAINER_MOUNTS,
|
|
353
|
+
EDGE_HOST_PATHS,
|
|
333
354
|
detectOpenRestyPaths,
|
|
334
355
|
buildReloadCommand,
|
|
335
356
|
ensureOpenRestyConfig,
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
CONFIG_PREFIX_SEPARATOR,
|
|
3
7
|
HttpRequest,
|
|
@@ -13,11 +17,11 @@ import {
|
|
|
13
17
|
loadConfig,
|
|
14
18
|
normalizeProvider,
|
|
15
19
|
toEndpointV1
|
|
16
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-W73X43R7.js";
|
|
17
21
|
import {
|
|
18
22
|
parseRfc7231DateTime,
|
|
19
23
|
v4
|
|
20
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JYGD5WSN.js";
|
|
21
25
|
|
|
22
26
|
// ../../node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js
|
|
23
27
|
var getAllAliases = (name, aliases) => {
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
LazyJsonString,
|
|
3
7
|
NumericValue,
|
|
@@ -15,7 +19,7 @@ import {
|
|
|
15
19
|
splitHeader,
|
|
16
20
|
toBase64,
|
|
17
21
|
toUtf8
|
|
18
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JYGD5WSN.js";
|
|
19
23
|
|
|
20
24
|
// ../../node_modules/@smithy/types/dist-es/middleware.js
|
|
21
25
|
var SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
@@ -1382,7 +1386,7 @@ var HttpProtocol = class extends SerdeContext {
|
|
|
1382
1386
|
});
|
|
1383
1387
|
}
|
|
1384
1388
|
async loadEventStreamCapability() {
|
|
1385
|
-
const { EventStreamSerde } = await import("./event-streams-
|
|
1389
|
+
const { EventStreamSerde } = await import("./event-streams-EHRAKL75.js");
|
|
1386
1390
|
return new EventStreamSerde({
|
|
1387
1391
|
marshaller: this.getEventStreamMarshaller(),
|
|
1388
1392
|
serializer: this.serializer,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
5
|
+
import {
|
|
6
|
+
CloudInfraProvider
|
|
7
|
+
} from "./chunk-5MZ624VX.js";
|
|
8
|
+
import "./chunk-KI2EY3WB.js";
|
|
9
|
+
export {
|
|
10
|
+
CloudInfraProvider
|
|
11
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
5
|
+
import {
|
|
6
|
+
CloudRuntime,
|
|
7
|
+
PAGE_CONTAINER_PREFIX,
|
|
8
|
+
provisionCloudWorkspace
|
|
9
|
+
} from "./chunk-5FNIWBFI.js";
|
|
10
|
+
import "./chunk-SQ77DZOI.js";
|
|
11
|
+
import "./chunk-V6AN6XLZ.js";
|
|
12
|
+
import "./chunk-MZ2WEHHY.js";
|
|
13
|
+
import "./chunk-L2VOGB2X.js";
|
|
14
|
+
import "./chunk-4Z5QO7N6.js";
|
|
15
|
+
import "./chunk-4TJC4JZQ.js";
|
|
16
|
+
import "./chunk-OXWDY22G.js";
|
|
17
|
+
import "./chunk-RPHRPFEH.js";
|
|
18
|
+
import "./chunk-TYVME3XD.js";
|
|
19
|
+
import "./chunk-FXTBHTWY.js";
|
|
20
|
+
import "./chunk-FPRHYBY2.js";
|
|
21
|
+
import "./chunk-FQGJZ2HS.js";
|
|
22
|
+
import "./chunk-ILFETZOM.js";
|
|
23
|
+
import "./chunk-VFINNTUL.js";
|
|
24
|
+
import "./chunk-6APULWSU.js";
|
|
25
|
+
import "./chunk-KI2EY3WB.js";
|
|
26
|
+
export {
|
|
27
|
+
CloudRuntime,
|
|
28
|
+
PAGE_CONTAINER_PREFIX,
|
|
29
|
+
provisionCloudWorkspace
|
|
30
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
5
|
+
import {
|
|
6
|
+
EdgeConflictError,
|
|
7
|
+
EdgeMigrateRequested,
|
|
8
|
+
classifyProxy,
|
|
9
|
+
freeEdgeTargets,
|
|
10
|
+
invalidateEdgeContainer,
|
|
11
|
+
isOurEdgeContainer,
|
|
12
|
+
ourEdgeContainerRunning,
|
|
13
|
+
ourLuaOnHost,
|
|
14
|
+
probeEdge,
|
|
15
|
+
resolveOurEdgeContainer,
|
|
16
|
+
sq,
|
|
17
|
+
stopTargetsForStatus
|
|
18
|
+
} from "./chunk-FQGJZ2HS.js";
|
|
19
|
+
import "./chunk-ILFETZOM.js";
|
|
20
|
+
import "./chunk-VFINNTUL.js";
|
|
21
|
+
import "./chunk-6APULWSU.js";
|
|
22
|
+
import "./chunk-KI2EY3WB.js";
|
|
23
|
+
export {
|
|
24
|
+
EdgeConflictError,
|
|
25
|
+
EdgeMigrateRequested,
|
|
26
|
+
classifyProxy,
|
|
27
|
+
freeEdgeTargets,
|
|
28
|
+
invalidateEdgeContainer,
|
|
29
|
+
isOurEdgeContainer,
|
|
30
|
+
ourEdgeContainerRunning,
|
|
31
|
+
ourLuaOnHost,
|
|
32
|
+
probeEdge,
|
|
33
|
+
resolveOurEdgeContainer,
|
|
34
|
+
sq,
|
|
35
|
+
stopTargetsForStatus
|
|
36
|
+
};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
Analytics,
|
|
3
7
|
AuthenticationError,
|
|
@@ -28,8 +32,8 @@ import {
|
|
|
28
32
|
createStaticHandler,
|
|
29
33
|
createStaticServer,
|
|
30
34
|
startStaticServer
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-AVIB7CT7.js";
|
|
36
|
+
import "./chunk-KI2EY3WB.js";
|
|
33
37
|
export {
|
|
34
38
|
Analytics,
|
|
35
39
|
AuthenticationError,
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
NodeHttpHandler
|
|
3
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OWED2GRM.js";
|
|
4
8
|
import {
|
|
5
9
|
setCredentialFeature
|
|
6
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VWPEKOH6.js";
|
|
7
11
|
import {
|
|
8
12
|
CredentialsProviderError,
|
|
9
13
|
HttpRequest
|
|
10
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-W73X43R7.js";
|
|
11
15
|
import {
|
|
12
16
|
parseRfc3339DateTime,
|
|
13
17
|
sdkStreamMixin
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-JYGD5WSN.js";
|
|
19
|
+
import "./chunk-KI2EY3WB.js";
|
|
16
20
|
|
|
17
21
|
// ../../node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
|
|
18
22
|
import fs from "fs/promises";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
5
|
+
import {
|
|
6
|
+
ENV_ACCOUNT_ID,
|
|
7
|
+
ENV_CREDENTIAL_SCOPE,
|
|
8
|
+
ENV_EXPIRATION,
|
|
9
|
+
ENV_KEY,
|
|
10
|
+
ENV_SECRET,
|
|
11
|
+
ENV_SESSION,
|
|
12
|
+
fromEnv
|
|
13
|
+
} from "./chunk-FRNAR33O.js";
|
|
14
|
+
import "./chunk-VWPEKOH6.js";
|
|
15
|
+
import "./chunk-W73X43R7.js";
|
|
16
|
+
import "./chunk-JYGD5WSN.js";
|
|
17
|
+
import "./chunk-KI2EY3WB.js";
|
|
18
|
+
export {
|
|
19
|
+
ENV_ACCOUNT_ID,
|
|
20
|
+
ENV_CREDENTIAL_SCOPE,
|
|
21
|
+
ENV_EXPIRATION,
|
|
22
|
+
ENV_KEY,
|
|
23
|
+
ENV_SECRET,
|
|
24
|
+
ENV_SESSION,
|
|
25
|
+
fromEnv
|
|
26
|
+
};
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
setCredentialFeature
|
|
3
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VWPEKOH6.js";
|
|
4
8
|
import {
|
|
5
9
|
CredentialsProviderError,
|
|
6
10
|
externalDataInterceptor,
|
|
7
11
|
getProfileName,
|
|
8
12
|
parseKnownFiles
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-W73X43R7.js";
|
|
14
|
+
import "./chunk-JYGD5WSN.js";
|
|
15
|
+
import "./chunk-KI2EY3WB.js";
|
|
12
16
|
|
|
13
17
|
// ../../node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
|
|
14
18
|
import { exec } from "child_process";
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
setCredentialFeature
|
|
3
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VWPEKOH6.js";
|
|
4
8
|
import {
|
|
5
9
|
CredentialsProviderError,
|
|
6
10
|
HttpRequest,
|
|
@@ -8,27 +12,27 @@ import {
|
|
|
8
12
|
getProfileName,
|
|
9
13
|
parseKnownFiles,
|
|
10
14
|
readFile
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-W73X43R7.js";
|
|
16
|
+
import "./chunk-JYGD5WSN.js";
|
|
17
|
+
import "./chunk-KI2EY3WB.js";
|
|
14
18
|
|
|
15
19
|
// ../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
16
20
|
var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
17
21
|
const sourceProvidersMap = {
|
|
18
22
|
EcsContainer: async (options) => {
|
|
19
|
-
const { fromHttp } = await import("./dist-es-
|
|
20
|
-
const { fromContainerMetadata } = await import("./dist-es-
|
|
23
|
+
const { fromHttp } = await import("./dist-es-5DY7K32L.js");
|
|
24
|
+
const { fromContainerMetadata } = await import("./dist-es-VNKHQVIB.js");
|
|
21
25
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
22
26
|
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
23
27
|
},
|
|
24
28
|
Ec2InstanceMetadata: async (options) => {
|
|
25
29
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
26
|
-
const { fromInstanceMetadata } = await import("./dist-es-
|
|
30
|
+
const { fromInstanceMetadata } = await import("./dist-es-VNKHQVIB.js");
|
|
27
31
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
28
32
|
},
|
|
29
33
|
Environment: async (options) => {
|
|
30
34
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
31
|
-
const { fromEnv } = await import("./dist-es-
|
|
35
|
+
const { fromEnv } = await import("./dist-es-JSTDUS7Q.js");
|
|
32
36
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
33
37
|
}
|
|
34
38
|
};
|
|
@@ -63,7 +67,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, caller
|
|
|
63
67
|
const profileData = profiles[profileName];
|
|
64
68
|
const { source_profile, region } = profileData;
|
|
65
69
|
if (!options.roleAssumer) {
|
|
66
|
-
const { getDefaultRoleAssumer } = await import("./sts-
|
|
70
|
+
const { getDefaultRoleAssumer } = await import("./sts-HHFFSAY2.js");
|
|
67
71
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
68
72
|
...options.clientConfig,
|
|
69
73
|
credentialProviderLogger: options.logger,
|
|
@@ -149,7 +153,7 @@ var LoginCredentialsFetcher = class _LoginCredentialsFetcher {
|
|
|
149
153
|
return this.profileData.login_session;
|
|
150
154
|
}
|
|
151
155
|
async refresh(token) {
|
|
152
|
-
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-
|
|
156
|
+
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-ITOPKKUB.js");
|
|
153
157
|
const { logger, userAgentAppId } = this.callerClientConfig ?? {};
|
|
154
158
|
const isH2 = (requestHandler2) => {
|
|
155
159
|
return requestHandler2?.metadata?.handlerProtocol === "h2";
|
|
@@ -392,14 +396,14 @@ var resolveLoginCredentials = async (profileName, options, callerClientConfig) =
|
|
|
392
396
|
|
|
393
397
|
// ../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
394
398
|
var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
395
|
-
var resolveProcessCredentials = async (options, profile) => import("./dist-es-
|
|
399
|
+
var resolveProcessCredentials = async (options, profile) => import("./dist-es-OSNJBLXB.js").then(({ fromProcess }) => fromProcess({
|
|
396
400
|
...options,
|
|
397
401
|
profile
|
|
398
402
|
})().then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
399
403
|
|
|
400
404
|
// ../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
401
405
|
var resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
402
|
-
const { fromSSO } = await import("./dist-es-
|
|
406
|
+
const { fromSSO } = await import("./dist-es-WV4AMOII.js");
|
|
403
407
|
return fromSSO({
|
|
404
408
|
profile,
|
|
405
409
|
logger: options.logger,
|
|
@@ -433,7 +437,7 @@ var resolveStaticCredentials = async (profile, options) => {
|
|
|
433
437
|
|
|
434
438
|
// ../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
435
439
|
var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
436
|
-
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("./dist-es-
|
|
440
|
+
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("./dist-es-X3B5QYKB.js").then(({ fromTokenFile }) => fromTokenFile({
|
|
437
441
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
438
442
|
roleArn: profile.role_arn,
|
|
439
443
|
roleSessionName: profile.role_session_name,
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
1
5
|
import {
|
|
2
6
|
CredentialsProviderError,
|
|
3
7
|
ProviderError,
|
|
4
8
|
loadConfig,
|
|
5
9
|
parseUrl
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-W73X43R7.js";
|
|
11
|
+
import "./chunk-JYGD5WSN.js";
|
|
12
|
+
import "./chunk-KI2EY3WB.js";
|
|
9
13
|
|
|
10
14
|
// ../../node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
|
|
11
15
|
var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.AccessKeyId === "string" && typeof arg.SecretAccessKey === "string" && typeof arg.Token === "string" && typeof arg.Expiration === "string";
|