@stacksjs/buddy 0.74.61 → 0.74.62

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.
@@ -125,17 +125,31 @@ if [ -n "$DOMAIN" ] && [ -f "$ENVF" ]; then
125
125
  # the obvious way to write this and the wrong one here: the separator would
126
126
  # have to be a newline written as \\n inside a JS template literal, and the
127
127
  # domain would become a regex whose dots match anything.
128
- OTHERS=""
128
+ #
129
+ # The entry is replaced where it stands, and appended only when absent. The
130
+ # list used to be rebuilt as "everyone else, then this domain", which moved
131
+ # the domain to the end. On a shared server only one tenant can be last, so
132
+ # every other tenant's deploy reordered the line, saw a change that was not
133
+ # one, and restarted mail for every domain on the box.
134
+ NEWEX=""
135
+ PLACED=0
129
136
  OLDIFS="$IFS"
130
137
  IFS=','
131
138
  for entry in $ex; do
132
139
  case "$entry" in
133
- "$DOMAIN:"*|"") : ;;
134
- *) OTHERS="\${OTHERS:+$OTHERS,}$entry" ;;
140
+ "") : ;;
141
+ "$DOMAIN:"*)
142
+ if [ "$PLACED" = 0 ]; then
143
+ NEWEX="\${NEWEX:+$NEWEX,}$ENTRY"
144
+ PLACED=1
145
+ fi ;;
146
+ *) NEWEX="\${NEWEX:+$NEWEX,}$entry" ;;
135
147
  esac
136
148
  done
137
149
  IFS="$OLDIFS"
138
- NEWEX="\${OTHERS:+$OTHERS,}$ENTRY"
150
+ if [ "$PLACED" = 0 ]; then
151
+ NEWEX="\${NEWEX:+$NEWEX,}$ENTRY"
152
+ fi
139
153
  if [ "$NEWEX" != "$ex" ]; then
140
154
  if grep -qE '^DKIM_EXTRA_KEYS=' "$ENVF"; then
141
155
  sed -i "s|^DKIM_EXTRA_KEYS=.*|DKIM_EXTRA_KEYS=$NEWEX|" "$ENVF"
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/buddy",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.74.61",
5
+ "version": "0.74.62",
6
6
  "description": "Meet Buddy. The Stacks runtime.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -95,66 +95,66 @@
95
95
  "prepublishOnly": "bun run build"
96
96
  },
97
97
  "dependencies": {
98
- "@stacksjs/actions": "^0.74.61",
99
- "@stacksjs/ai": "^0.74.61",
100
- "@stacksjs/alias": "^0.74.61",
101
- "@stacksjs/analytics": "^0.74.61",
102
- "@stacksjs/api": "^0.74.61",
103
- "@stacksjs/arrays": "^0.74.61",
104
- "@stacksjs/auth": "^0.74.61",
105
- "@stacksjs/browser-extension": "^0.74.61",
106
- "@stacksjs/build": "^0.74.61",
107
- "@stacksjs/cache": "^0.74.61",
108
- "@stacksjs/chat": "^0.74.61",
98
+ "@stacksjs/actions": "^0.74.62",
99
+ "@stacksjs/ai": "^0.74.62",
100
+ "@stacksjs/alias": "^0.74.62",
101
+ "@stacksjs/analytics": "^0.74.62",
102
+ "@stacksjs/api": "^0.74.62",
103
+ "@stacksjs/arrays": "^0.74.62",
104
+ "@stacksjs/auth": "^0.74.62",
105
+ "@stacksjs/browser-extension": "^0.74.62",
106
+ "@stacksjs/build": "^0.74.62",
107
+ "@stacksjs/cache": "^0.74.62",
108
+ "@stacksjs/chat": "^0.74.62",
109
109
  "@stacksjs/clapp": "^0.2.12",
110
- "@stacksjs/cli": "^0.74.61",
111
- "@stacksjs/cloud": "^0.74.61",
112
- "@stacksjs/cms": "^0.74.61",
113
- "@stacksjs/collections": "^0.74.61",
114
- "@stacksjs/config": "^0.74.61",
115
- "@stacksjs/database": "^0.74.61",
116
- "@stacksjs/desktop-build": "^0.74.61",
117
- "@stacksjs/dns": "^0.74.61",
110
+ "@stacksjs/cli": "^0.74.62",
111
+ "@stacksjs/cloud": "^0.74.62",
112
+ "@stacksjs/cms": "^0.74.62",
113
+ "@stacksjs/collections": "^0.74.62",
114
+ "@stacksjs/config": "^0.74.62",
115
+ "@stacksjs/database": "^0.74.62",
116
+ "@stacksjs/desktop-build": "^0.74.62",
117
+ "@stacksjs/dns": "^0.74.62",
118
118
  "@stacksjs/dnsx": "^0.2.3",
119
- "@stacksjs/email": "^0.74.61",
120
- "@stacksjs/enums": "^0.74.61",
121
- "@stacksjs/env": "^0.74.61",
122
- "@stacksjs/error-handling": "^0.74.61",
123
- "@stacksjs/events": "^0.74.61",
124
- "@stacksjs/features": "^0.74.61",
125
- "@stacksjs/git": "^0.74.61",
119
+ "@stacksjs/email": "^0.74.62",
120
+ "@stacksjs/enums": "^0.74.62",
121
+ "@stacksjs/env": "^0.74.62",
122
+ "@stacksjs/error-handling": "^0.74.62",
123
+ "@stacksjs/events": "^0.74.62",
124
+ "@stacksjs/features": "^0.74.62",
125
+ "@stacksjs/git": "^0.74.62",
126
126
  "@stacksjs/gitit": "^0.2.5",
127
- "@stacksjs/health": "^0.74.61",
127
+ "@stacksjs/health": "^0.74.62",
128
128
  "@stacksjs/httx": "^0.1.10",
129
- "@stacksjs/image": "^0.74.61",
130
- "@stacksjs/lint": "^0.74.61",
131
- "@stacksjs/logging": "^0.74.61",
132
- "@stacksjs/notifications": "^0.74.61",
133
- "@stacksjs/objects": "^0.74.61",
134
- "@stacksjs/orm": "^0.74.61",
135
- "@stacksjs/path": "^0.74.61",
136
- "@stacksjs/payments": "^0.74.61",
137
- "@stacksjs/realtime": "^0.74.61",
138
- "@stacksjs/router": "^0.74.61",
129
+ "@stacksjs/image": "^0.74.62",
130
+ "@stacksjs/lint": "^0.74.62",
131
+ "@stacksjs/logging": "^0.74.62",
132
+ "@stacksjs/notifications": "^0.74.62",
133
+ "@stacksjs/objects": "^0.74.62",
134
+ "@stacksjs/orm": "^0.74.62",
135
+ "@stacksjs/path": "^0.74.62",
136
+ "@stacksjs/payments": "^0.74.62",
137
+ "@stacksjs/realtime": "^0.74.62",
138
+ "@stacksjs/router": "^0.74.62",
139
139
  "@stacksjs/rpx": "^0.11.54",
140
- "@stacksjs/scheduler": "^0.74.61",
141
- "@stacksjs/search-engine": "^0.74.61",
142
- "@stacksjs/security": "^0.74.61",
143
- "@stacksjs/server": "^0.74.61",
144
- "@stacksjs/sites": "^0.74.61",
145
- "@stacksjs/skills": "^0.74.61",
146
- "@stacksjs/storage": "^0.74.61",
147
- "@stacksjs/strings": "^0.74.61",
140
+ "@stacksjs/scheduler": "^0.74.62",
141
+ "@stacksjs/search-engine": "^0.74.62",
142
+ "@stacksjs/security": "^0.74.62",
143
+ "@stacksjs/server": "^0.74.62",
144
+ "@stacksjs/sites": "^0.74.62",
145
+ "@stacksjs/skills": "^0.74.62",
146
+ "@stacksjs/storage": "^0.74.62",
147
+ "@stacksjs/strings": "^0.74.62",
148
148
  "@stacksjs/stx": "^0.2.286",
149
- "@stacksjs/testing": "^0.74.61",
150
- "@stacksjs/tinker": "^0.74.61",
149
+ "@stacksjs/testing": "^0.74.62",
150
+ "@stacksjs/tinker": "^0.74.62",
151
151
  "@stacksjs/tlsx": "^0.13.19",
152
152
  "@stacksjs/ts-cloud": "^0.16.0",
153
- "@stacksjs/tunnel": "^0.74.61",
154
- "@stacksjs/types": "^0.74.61",
155
- "@stacksjs/ui": "^0.74.61",
156
- "@stacksjs/utils": "^0.74.61",
157
- "@stacksjs/validation": "^0.74.61",
153
+ "@stacksjs/tunnel": "^0.74.62",
154
+ "@stacksjs/types": "^0.74.62",
155
+ "@stacksjs/ui": "^0.74.62",
156
+ "@stacksjs/utils": "^0.74.62",
157
+ "@stacksjs/validation": "^0.74.62",
158
158
  "ajv": "^8.20.0",
159
159
  "ajv-formats": "^3.0.1",
160
160
  "bun-plugin-stx": "^0.2.286",