@stacksjs/defaults 0.75.627 → 0.75.628
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.
|
@@ -219,6 +219,8 @@ session in a deployed app starts from, instead of asking for a host and a path.
|
|
|
219
219
|
It needs `@stacksjs/ts-cloud` 0.16.126 or newer and says so on an older one.
|
|
220
220
|
|
|
221
221
|
## Gotchas
|
|
222
|
+
|
|
223
|
+
- **The web firewall comes from `security.waf`.** Box deploys run zig-waf in detection mode by default; `config/security.ts` `waf` tunes it (see `stacks-security`), and `infrastructure.compute.waf` in `config/cloud.ts` overrides it field by field. `compute.waf: false` turns it off.
|
|
222
224
|
- The API reachability guard recognises `serve:api`, source `serve/api.js`
|
|
223
225
|
entrypoints and compiled `storage/framework/runtime/production/api.js`
|
|
224
226
|
bundles, including wrapper commands and custom site names. Page sites still
|
|
@@ -21,7 +21,7 @@ Browser runtime bindings are documented separately in `stacks-auto-imports`.
|
|
|
21
21
|
| `@stacksjs/auth` | [`stacks-auth`](../stacks-auth/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/auth/src/index.ts) | 136 |
|
|
22
22
|
| `@stacksjs/browser` | [`stacks-browser`](../stacks-browser/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/browser/src/index.ts) | 10 |
|
|
23
23
|
| `@stacksjs/browser-extension` | [`stacks-browser-extension`](../stacks-browser-extension/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/browser-extension/src/index.ts) | 9 |
|
|
24
|
-
| `@stacksjs/buddy` | [`stacks-buddy`](../stacks-buddy/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/buddy/src/index.ts) |
|
|
24
|
+
| `@stacksjs/buddy` | [`stacks-buddy`](../stacks-buddy/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/buddy/src/index.ts) | 214 |
|
|
25
25
|
| `@stacksjs/build` | [`stacks-build`](../stacks-build/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/build/src/index.ts) | 7 |
|
|
26
26
|
| `@stacksjs/cache` | [`stacks-cache`](../stacks-cache/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cache/src/index.ts) | 24 |
|
|
27
27
|
| `@stacksjs/calendar-api` | [`stacks-calendar`](../stacks-calendar/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/calendar-api/src/index.ts) | 5 |
|
|
@@ -222,7 +222,7 @@ Read the entrypoint and package export map for re-exported or type-only surfaces
|
|
|
222
222
|
|
|
223
223
|
Local source modules: [src/commands/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/buddy/src/commands/index.ts).
|
|
224
224
|
|
|
225
|
-
Evidence directory: [
|
|
225
|
+
Evidence directory: [214 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/buddy/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
226
226
|
|
|
227
227
|
### @stacksjs/build
|
|
228
228
|
|
|
@@ -189,6 +189,14 @@ import { eraseSubject, exportSubjectData, pruneRetainedData } from '@stacksjs/or
|
|
|
189
189
|
- Base64 is encoding, not hashing. Never use `base64Encode()` for credentials.
|
|
190
190
|
- MD5 and base64 password verification are intentionally absent from the main security API.
|
|
191
191
|
- The firewall config is used by cloud deployment for WAF rules
|
|
192
|
+
- `security.waf` configures the zig-waf web application firewall on box deploys (Hetzner, `ssh`):
|
|
193
|
+
`mode` (`off` | `detection` | `blocking`, default `detection`), `paranoiaLevel`, thresholds,
|
|
194
|
+
`maxBodyBytes`, `bypassPaths`, reviewed `exclusions` (`{ ruleId, pathPattern?, reason }`) and
|
|
195
|
+
`forward` (Guardian ingest URL and per-host token, usually from `GUARDIAN_INGEST_URL` /
|
|
196
|
+
`GUARDIAN_INGEST_TOKEN`). It becomes ts-cloud's `infrastructure.compute.waf`; an explicit
|
|
197
|
+
`compute.waf` in `config/cloud.ts` still wins field by field and the deploy warns about it.
|
|
198
|
+
Nothing ever switches to `blocking` by itself: read the detection log first. On AWS deploys the
|
|
199
|
+
zig-waf-only options are reported, not applied.
|
|
192
200
|
- The firewall rate limit is per-minute per-IP at the WAF (`firewall.rateLimitPerMinute`)
|
|
193
201
|
- Application rate limits (`.rateLimit()`, `rateLimit()`, the login lockout) share the Redis cache when it is configured and count per process otherwise; see `stacks-router`
|
|
194
202
|
|
package/ide/vscode/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"publisher": "Stacks",
|
|
3
3
|
"name": "vscode-stacks",
|
|
4
4
|
"displayName": "Stacks",
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.628",
|
|
6
6
|
"description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.628",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@iconify-json/f7": "^1.2.2",
|
|
47
47
|
"@iconify-json/hugeicons": "^1.2.35",
|
|
48
|
-
"@stacksjs/mobile": "0.75.
|
|
48
|
+
"@stacksjs/mobile": "0.75.628",
|
|
49
49
|
"@stacksjs/sanitizer": "^0.2.908",
|
|
50
50
|
"@stacksjs/stx": "^0.2.908",
|
|
51
|
-
"@stacksjs/strings": "0.75.
|
|
51
|
+
"@stacksjs/strings": "0.75.628",
|
|
52
52
|
"@xterm/addon-fit": "^0.11.0",
|
|
53
53
|
"@xterm/xterm": "^6.0.0",
|
|
54
54
|
"ts-qr-codes": "^0.1.8",
|
|
55
|
-
"@stacksjs/support": "0.75.
|
|
56
|
-
"@stacksjs/browser": "0.75.
|
|
55
|
+
"@stacksjs/support": "0.75.628",
|
|
56
|
+
"@stacksjs/browser": "0.75.628"
|
|
57
57
|
}
|
|
58
58
|
}
|