verbaly 0.79.0 → 0.81.0
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/dist/devtools.cjs +1 -1
- package/dist/devtools.js +1 -1
- package/package.json +2 -2
package/dist/devtools.cjs
CHANGED
|
@@ -43,7 +43,7 @@ function attachDevtools(instance, options = {}) {
|
|
|
43
43
|
const miss = bound.filter((b) => b.status === "miss");
|
|
44
44
|
const fb = bound.filter((b) => b.status === "fallback");
|
|
45
45
|
const rows = miss.map((b) => `<li><code>${esc(b.key)}</code><span>add to <code>${esc(dir)}/${esc(instance.locale)}.json</code></span></li>`).join("");
|
|
46
|
-
panel.innerHTML = `<div class="verbaly-dt-hd"><b>verbaly</b> · ${esc(instance.locale)}</div><div class="verbaly-dt-stats"><span class="ok">${bound.length - miss.length - fb.length} ok</span><span class="fb">${fb.length} fallback</span><span class="miss">${miss.length} missing</span></div>` + (rows ? `<ul class="verbaly-dt-miss">${rows}</ul>` : "") + `<div class="verbaly-dt-hint">hold <kbd>${options.hotkey ?? "Alt"}</kbd> + hover to inspect</div>`;
|
|
46
|
+
panel.innerHTML = `<div class="verbaly-dt-hd"><b>verbaly</b> · ${esc(instance.locale)}</div><div class="verbaly-dt-stats"><span class="ok">${bound.length - miss.length - fb.length} ok</span><span class="fb">${fb.length} fallback</span><span class="miss">${miss.length} missing</span></div>` + (rows ? `<ul class="verbaly-dt-miss">${rows}</ul>` : "") + `<div class="verbaly-dt-hint">hold <kbd>${esc(options.hotkey ?? "Alt")}</kbd> + hover to inspect</div>`;
|
|
47
47
|
}
|
|
48
48
|
function onMove(e) {
|
|
49
49
|
if (!e[modifier]) {
|
package/dist/devtools.js
CHANGED
|
@@ -42,7 +42,7 @@ function attachDevtools(instance, options = {}) {
|
|
|
42
42
|
const miss = bound.filter((b) => b.status === "miss");
|
|
43
43
|
const fb = bound.filter((b) => b.status === "fallback");
|
|
44
44
|
const rows = miss.map((b) => `<li><code>${esc(b.key)}</code><span>add to <code>${esc(dir)}/${esc(instance.locale)}.json</code></span></li>`).join("");
|
|
45
|
-
panel.innerHTML = `<div class="verbaly-dt-hd"><b>verbaly</b> · ${esc(instance.locale)}</div><div class="verbaly-dt-stats"><span class="ok">${bound.length - miss.length - fb.length} ok</span><span class="fb">${fb.length} fallback</span><span class="miss">${miss.length} missing</span></div>` + (rows ? `<ul class="verbaly-dt-miss">${rows}</ul>` : "") + `<div class="verbaly-dt-hint">hold <kbd>${options.hotkey ?? "Alt"}</kbd> + hover to inspect</div>`;
|
|
45
|
+
panel.innerHTML = `<div class="verbaly-dt-hd"><b>verbaly</b> · ${esc(instance.locale)}</div><div class="verbaly-dt-stats"><span class="ok">${bound.length - miss.length - fb.length} ok</span><span class="fb">${fb.length} fallback</span><span class="miss">${miss.length} missing</span></div>` + (rows ? `<ul class="verbaly-dt-miss">${rows}</ul>` : "") + `<div class="verbaly-dt-hint">hold <kbd>${esc(options.hotkey ?? "Alt")}</kbd> + hover to inspect</div>`;
|
|
46
46
|
}
|
|
47
47
|
function onMove(e) {
|
|
48
48
|
if (!e[modifier]) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verbaly",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.81.0",
|
|
4
4
|
"description": "Effortless i18n: write natural text, ship type-safe, tree-shakeable translations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"i18n",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"esbuild": "^0.28.2",
|
|
75
75
|
"fast-check": "^4.10.2",
|
|
76
76
|
"happy-dom": "^21.0.4",
|
|
77
|
-
"i18next": "^26.7.
|
|
77
|
+
"i18next": "^26.7.2",
|
|
78
78
|
"tinybench": "^6.2.3"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|