@stacksjs/defaults 0.75.96 → 0.75.97
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.
|
@@ -94,7 +94,11 @@ describe('authorizeFeedbackToken', () => {
|
|
|
94
94
|
|
|
95
95
|
it('refuses an expired token, counting the exact moment as expired', () => {
|
|
96
96
|
const now = new Date('2026-10-07T12:00:00.000Z')
|
|
97
|
-
|
|
97
|
+
// Measured from this test's `now`, not the clock: the shared PAST is a day
|
|
98
|
+
// before the real time, which passed this fixed moment on 2026-10-08 and
|
|
99
|
+
// turned "expired" into a token that expires tomorrow.
|
|
100
|
+
const past = new Date(now.getTime() - 86_400_000).toISOString()
|
|
101
|
+
expect(authorizeFeedbackToken({ boardId: 7, expiresAt: past }, now)).toEqual({ ok: false, reason: 'expired' })
|
|
98
102
|
expect(authorizeFeedbackToken({ boardId: 7, expiresAt: now.toISOString() }, now)).toEqual({ ok: false, reason: 'expired' })
|
|
99
103
|
})
|
|
100
104
|
|
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.97",
|
|
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.97",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@iconify-json/f7": "^1.2.2",
|
|
57
57
|
"@iconify-json/hugeicons": "^1.2.35",
|
|
58
|
-
"@stacksjs/mobile": "^0.75.
|
|
58
|
+
"@stacksjs/mobile": "^0.75.97",
|
|
59
59
|
"@stacksjs/sanitizer": "^0.2.406",
|
|
60
60
|
"@xterm/addon-fit": "^0.11.0",
|
|
61
61
|
"@xterm/xterm": "^6.0.0",
|