@zvndev/darkmown 0.11.0 → 0.11.1
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.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/runtime.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to Darkmown are documented here. Versions follow [semver](https://semver.org); pre-1.0 minor versions may contain breaking changes.
|
|
4
4
|
|
|
5
|
+
## 0.11.1 — 2026-06-17
|
|
6
|
+
|
|
7
|
+
Maintenance release. No functional changes since 0.11.0.
|
|
8
|
+
|
|
9
|
+
- **Fully comment-free shipped runtime.** The last two inline comments in `src/runtime.js` are converted to a strippable form, so the emitted `runtime.js` now contains zero comments (the source stays fully documented). The reactive runtime is ~4.7 KB gzipped.
|
|
10
|
+
|
|
5
11
|
## 0.11.0 — 2026-06-16
|
|
6
12
|
|
|
7
13
|
Three big `.wd` capabilities for building real apps — global state, a full fetch lifecycle, and complete loop ergonomics — plus a leaner runtime.
|
package/package.json
CHANGED
package/src/runtime.js
CHANGED
|
@@ -45,7 +45,7 @@ for (const key of persistKeys) {
|
|
|
45
45
|
for (const name of storeKeys) {
|
|
46
46
|
const stored = localStorage.getItem(`wd:store:${name}`);
|
|
47
47
|
if (stored === null) localStorage.setItem(`wd:store:${name}`, JSON.stringify(state[name] ?? null));
|
|
48
|
-
else try { state[name] = JSON.parse(stored); } catch {
|
|
48
|
+
else try { state[name] = JSON.parse(stored); } catch { /** keep seed */ }
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
function savePersisted() {
|
|
@@ -347,7 +347,7 @@ function renderNow() {
|
|
|
347
347
|
}
|
|
348
348
|
used.add(key);
|
|
349
349
|
fillItem(node, item, { index: i, number: i + 1, first: i === 0, last: i === count - 1, count });
|
|
350
|
-
node.__wdItem = item;
|
|
350
|
+
node.__wdItem = item; /** let per-row actions resolve which row was clicked */
|
|
351
351
|
out.appendChild(node);
|
|
352
352
|
}
|
|
353
353
|
for (const [key, node] of existing) {
|