@stacksjs/defaults 0.75.581 → 0.75.582
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.
|
@@ -351,6 +351,7 @@ SQLite's SQL on a Turso or `sqld` server. Configure `TURSO_DATABASE_URL`
|
|
|
351
351
|
retention: 7, // days
|
|
352
352
|
pruneFrequency: 24, // hours
|
|
353
353
|
excludedQueries: ['query_logs'],
|
|
354
|
+
logHousekeeping: false, // true also records the queue's own polling of jobs, queue_workers, queue_circuit_state
|
|
354
355
|
analysis: { enabled: true, analyzeAll: false, explainPlan: true, suggestions: true }
|
|
355
356
|
}
|
|
356
357
|
}
|
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.582",
|
|
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.582",
|
|
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.582",
|
|
49
49
|
"@stacksjs/sanitizer": "^0.2.872",
|
|
50
50
|
"@stacksjs/stx": "^0.2.872",
|
|
51
|
-
"@stacksjs/strings": "0.75.
|
|
51
|
+
"@stacksjs/strings": "0.75.582",
|
|
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.582",
|
|
56
|
+
"@stacksjs/browser": "0.75.582"
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -16,9 +16,23 @@ declare const selectedWorkspace: string | null
|
|
|
16
16
|
declare const consentAction: string
|
|
17
17
|
declare const csrfToken: string
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
/*
|
|
20
|
+
* This file is a page as well as the action's template, so `/auth/oauth/consent`
|
|
21
|
+
* can be asked for on its own: by a visitor, a crawler, or the server warming
|
|
22
|
+
* its pages at start. Nothing hands it a request then. Reading `consent`
|
|
23
|
+
* directly threw "consent is not defined", which left every variable in this
|
|
24
|
+
* script undefined and rendered an empty shell with a warning on each visit.
|
|
25
|
+
* `typeof` is the one read of an undeclared name that does not throw. Without
|
|
26
|
+
* an authorization request there is nothing to consent to, so it is a 404.
|
|
27
|
+
*/
|
|
28
|
+
const hasRequest = typeof consent !== 'undefined'
|
|
29
|
+
if (!hasRequest)
|
|
30
|
+
notFound()
|
|
31
|
+
|
|
32
|
+
const clientTypeLabel = hasRequest && consent.client.type === 'public' ? 'Public client' : 'Confidential client'
|
|
20
33
|
</script>
|
|
21
34
|
|
|
35
|
+
@if (hasRequest)
|
|
22
36
|
<main class="flex items-center justify-center px-4 py-10 sm:px-6 min-h-dvh text-neutral-950 dark:text-white bg-neutral-50 dark:bg-neutral-950">
|
|
23
37
|
<section class="max-w-xl w-full" aria-labelledby="oauth-consent-title">
|
|
24
38
|
<div class="flex gap-2 items-center justify-center mb-5 text-neutral-500 text-sm dark:text-neutral-400">
|
|
@@ -132,3 +146,4 @@ const clientTypeLabel = consent.client.type === 'public' ? 'Public client' : 'Co
|
|
|
132
146
|
</p>
|
|
133
147
|
</section>
|
|
134
148
|
</main>
|
|
149
|
+
@endif
|