@stacksjs/defaults 0.75.250 → 0.75.251
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.
|
@@ -52,8 +52,12 @@ re-exported CacheLock contract and selected driver separately.
|
|
|
52
52
|
and prefix. Clone-on-read/write is enabled by default.
|
|
53
53
|
`createRedisCache(options?)` accepts URL or host/port/credentials/database/TLS
|
|
54
54
|
plus TTL/prefix options. `createSingleStoreCache(options?)` exposes the
|
|
55
|
-
experimental SQL-backed cache. `
|
|
56
|
-
of
|
|
55
|
+
experimental SQL-backed cache. `createSqliteCache(options?)` keeps entries in
|
|
56
|
+
a table of a SQLite file (`path`, `table`, `prefix`, `stdTTL`), so they outlive
|
|
57
|
+
the process: use it for results that are expensive and safe to keep across
|
|
58
|
+
deploys, pointing `path` at a file the deploy preserves (the app's own SQLite
|
|
59
|
+
database works; the table is the driver's alone). `createCache(driver,
|
|
60
|
+
options?)` selects one of memory, redis, singlestore or sqlite.
|
|
57
61
|
|
|
58
62
|
The `cache` export is the same memory instance as `memory`. Use an explicit
|
|
59
63
|
Redis instance for application data that must be shared across processes.
|
|
@@ -79,7 +83,8 @@ are distinct from StacksCache and auth's RateLimiter.
|
|
|
79
83
|
## Source and verification
|
|
80
84
|
|
|
81
85
|
`storage/framework/core/cache/src/drivers/index.ts` is the facade/factory
|
|
82
|
-
contract. `drivers/singlestore.ts` owns the experimental backend
|
|
86
|
+
contract. `drivers/singlestore.ts` owns the experimental backend and
|
|
87
|
+
`drivers/sqlite.ts` the durable file-backed one (`sqlite-cache.test.ts`).
|
|
83
88
|
Retained tests: `ttl.test.ts`, `getorset-timeout.test.ts`,
|
|
84
89
|
`tagged-flush-race.test.ts`, `redis-contract.test.ts` and
|
|
85
90
|
`cache-factory.test.ts` under `core/cache/tests/`.
|
|
@@ -23,7 +23,7 @@ Browser runtime bindings are documented separately in `stacks-auto-imports`.
|
|
|
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) | 7 |
|
|
24
24
|
| `@stacksjs/buddy` | [`stacks-buddy`](../stacks-buddy/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/buddy/src/index.ts) | 153 |
|
|
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) | 2 |
|
|
26
|
-
| `@stacksjs/cache` | [`stacks-cache`](../stacks-cache/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cache/src/index.ts) |
|
|
26
|
+
| `@stacksjs/cache` | [`stacks-cache`](../stacks-cache/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cache/src/index.ts) | 12 |
|
|
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) | 2 |
|
|
28
28
|
| `@stacksjs/charts` | [`stacks-charts`](../stacks-charts/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/charts/src/index.ts) | 3 |
|
|
29
29
|
| `@stacksjs/chat` | [`stacks-chat`](../stacks-chat/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/chat/src/index.ts) | 5 |
|
|
@@ -233,7 +233,7 @@ Read the entrypoint and package export map for re-exported or type-only surfaces
|
|
|
233
233
|
|
|
234
234
|
Local source modules: [src/drivers/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cache/src/drivers/index.ts), [src/key.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cache/src/key.ts).
|
|
235
235
|
|
|
236
|
-
Evidence directory: [
|
|
236
|
+
Evidence directory: [12 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cache/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
237
237
|
|
|
238
238
|
### @stacksjs/calendar-api
|
|
239
239
|
|
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.251",
|
|
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.251",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@iconify-json/f7": "^1.2.2",
|
|
46
46
|
"@iconify-json/hugeicons": "^1.2.35",
|
|
47
|
-
"@stacksjs/mobile": "0.75.
|
|
47
|
+
"@stacksjs/mobile": "0.75.251",
|
|
48
48
|
"@stacksjs/sanitizer": "^0.2.534",
|
|
49
49
|
"@xterm/addon-fit": "^0.11.0",
|
|
50
50
|
"@xterm/xterm": "^6.0.0",
|