hyperbook 0.113.3 → 0.113.4
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/asset-manifest.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": 1,
|
|
3
|
-
"version": "0.113.
|
|
3
|
+
"version": "0.113.4",
|
|
4
4
|
"bundles": {
|
|
5
5
|
"blockflow": {
|
|
6
|
-
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.
|
|
6
|
+
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.4/blockflow.tar.gz",
|
|
7
7
|
"sha256": "78ff52d909e18d26e0b254ffa31c0977aa263dfcd0a1e59b400252cff775c38d",
|
|
8
8
|
"bytes": 77496168,
|
|
9
9
|
"files": {
|
|
@@ -1854,7 +1854,7 @@
|
|
|
1854
1854
|
}
|
|
1855
1855
|
},
|
|
1856
1856
|
"onlineide": {
|
|
1857
|
-
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.
|
|
1857
|
+
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.4/onlineide.tar.gz",
|
|
1858
1858
|
"sha256": "7b719e7ac5feb118276b0e41472db9117c24ad36f57bd1ac6c11634972695d16",
|
|
1859
1859
|
"bytes": 19880188,
|
|
1860
1860
|
"files": {
|
|
@@ -2278,7 +2278,7 @@
|
|
|
2278
2278
|
}
|
|
2279
2279
|
},
|
|
2280
2280
|
"sqlide": {
|
|
2281
|
-
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.
|
|
2281
|
+
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.4/sqlide.tar.gz",
|
|
2282
2282
|
"sha256": "2eae75b9d3d02efa907943c3b4ed4960f50f601cbf89d6365fd9fac3e90be149",
|
|
2283
2283
|
"bytes": 7962401,
|
|
2284
2284
|
"files": {
|
|
@@ -2397,7 +2397,7 @@
|
|
|
2397
2397
|
}
|
|
2398
2398
|
},
|
|
2399
2399
|
"excalidraw": {
|
|
2400
|
-
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.
|
|
2400
|
+
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.4/excalidraw.tar.gz",
|
|
2401
2401
|
"sha256": "11d7da549303b5f31e69d6c8b402ad27eb18bb6b139169fa17ced6aabced074e",
|
|
2402
2402
|
"bytes": 15587730,
|
|
2403
2403
|
"files": {
|
|
@@ -2642,7 +2642,7 @@
|
|
|
2642
2642
|
}
|
|
2643
2643
|
},
|
|
2644
2644
|
"openscad": {
|
|
2645
|
-
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.
|
|
2645
|
+
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.4/openscad.tar.gz",
|
|
2646
2646
|
"sha256": "481a1ec86fed04d30c6be78ecf3ccfef2fd3483736aeaf797728d456cae4a3cb",
|
|
2647
2647
|
"bytes": 9632010,
|
|
2648
2648
|
"files": {
|
|
@@ -2660,7 +2660,7 @@
|
|
|
2660
2660
|
}
|
|
2661
2661
|
},
|
|
2662
2662
|
"geogebra": {
|
|
2663
|
-
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.
|
|
2663
|
+
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.4/geogebra.tar.gz",
|
|
2664
2664
|
"sha256": "29b17dfad78db2700d3594fdf2a18223ffb3f823683986de1b07fa144d90f740",
|
|
2665
2665
|
"bytes": 33231124,
|
|
2666
2666
|
"files": {
|
|
@@ -3106,7 +3106,7 @@
|
|
|
3106
3106
|
}
|
|
3107
3107
|
},
|
|
3108
3108
|
"pyide": {
|
|
3109
|
-
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.
|
|
3109
|
+
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.4/pyide.tar.gz",
|
|
3110
3110
|
"sha256": "7107f8a1ddf9baf9a3d5bdd93c7c4b9902b7f17bf245d868eba9043d004850eb",
|
|
3111
3111
|
"bytes": 336772760,
|
|
3112
3112
|
"files": {
|
|
@@ -3535,7 +3535,7 @@
|
|
|
3535
3535
|
}
|
|
3536
3536
|
},
|
|
3537
3537
|
"typst": {
|
|
3538
|
-
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.
|
|
3538
|
+
"url": "https://github.com/openpatch/hyperbook/releases/download/hyperbook-assets-v0.113.4/typst.tar.gz",
|
|
3539
3539
|
"sha256": "3a3b9f3af069b2fa5ac2b659aac7507336f3519f2b9d62ecbb87071f80ebff39",
|
|
3540
3540
|
"bytes": 17067045,
|
|
3541
3541
|
"files": {
|
|
@@ -608,7 +608,7 @@ var multievent = {
|
|
|
608
608
|
/\{v\{(.*?)\}\}/gms,
|
|
609
609
|
"<table align='center' class='MulEvHaManTab' style='border-collapse:collapse;' border='0' cellspacing='0' cellpadding='6'><tr><td valign='middle' align='center' style='min-width:10em;font-family:sans-serif;' class='MulEvHaManTd'><span class='MulEvHaManAusg'>$1</span></td></tr><tr><td align='center' ><span class='MulEvHaManFehl' style='text-decoration:line-through;color:#e00;font-size:smaller;font-family:sans-serif;'> </span><br /></td></tr><tr><td align='center'><input maxlength='2' onkeydown='this.value=\"\"' onkeyup='multievent.MulEvHaMan(this.id);multievent.Auswertung(\"" +
|
|
610
610
|
clNr +
|
|
611
|
-
"\")' class='MulEvHaManInp' data-MulEvHaMan='$1' data-Nummer='0' data-BuchstSind='' data-Fehler='1' data-BegriffeSind='' style='text-align:center;font-size:1em;width:
|
|
611
|
+
"\")' class='MulEvHaManInp' data-MulEvHaMan='$1' data-Nummer='0' data-BuchstSind='' data-Fehler='1' data-BegriffeSind='' style='text-align:center;font-size:1em;width:2.4em;font-family:sans-serif;padding:2px;border:1px solid #999;border-radius:3px;background-color:#eee;'/></td></tr></table>",
|
|
612
612
|
);
|
|
613
613
|
IN = IN.replace(
|
|
614
614
|
/\{w\{(.*?)\}\}/gms,
|
|
@@ -926,26 +926,18 @@ var multievent = {
|
|
|
926
926
|
}
|
|
927
927
|
var IB = 0;
|
|
928
928
|
for (var k = 0; k < iW.length; k++) {
|
|
929
|
-
var s = Inp[j].style;
|
|
930
929
|
if (IB < iW[k].length) {
|
|
931
930
|
IB = iW[k].length;
|
|
932
931
|
}
|
|
933
|
-
if (IB <= 1) {
|
|
934
|
-
s.width = "1.2em";
|
|
935
|
-
}
|
|
936
|
-
if (IB == 2) {
|
|
937
|
-
s.width = "2.4em";
|
|
938
|
-
}
|
|
939
|
-
if (IB == 3) {
|
|
940
|
-
s.width = "3.6em";
|
|
941
|
-
}
|
|
942
|
-
if (IB == 4) {
|
|
943
|
-
s.width = "4.8em";
|
|
944
|
-
}
|
|
945
|
-
if (IB > 4) {
|
|
946
|
-
s.width = IB * 1.2 + "em";
|
|
947
|
-
}
|
|
948
932
|
}
|
|
933
|
+
if (InpStil == "zahl") {
|
|
934
|
+
// Numbers can be entered in other notations (3,5 vs 3.50),
|
|
935
|
+
// so leave some room beyond the length of the solution.
|
|
936
|
+
IB++;
|
|
937
|
+
}
|
|
938
|
+
// At least three characters wide, otherwise short answers get
|
|
939
|
+
// fields that are too small to tap and type into (e.g. on iPads).
|
|
940
|
+
Inp[j].style.width = Math.max(IB, 3) * 1.2 + "em";
|
|
949
941
|
}
|
|
950
942
|
}
|
|
951
943
|
|
package/dist/index.js
CHANGED
|
@@ -202071,7 +202071,7 @@ module.exports = /*#__PURE__*/JSON.parse('["blockflow","onlineide","sqlide","exc
|
|
|
202071
202071
|
/***/ ((module) => {
|
|
202072
202072
|
|
|
202073
202073
|
"use strict";
|
|
202074
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.113.
|
|
202074
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.113.4","author":"Mike Barkmin","homepage":"https://github.com/openpatch/hyperbook#readme","license":"MIT","bin":{"hyperbook":"./dist/index.js"},"files":["dist"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/openpatch/hyperbook.git","directory":"packages/hyperbook"},"bugs":{"url":"https://github.com/openpatch/hyperbook/issues"},"engines":{"node":">=18"},"scripts":{"version":"pnpm build","lint":"tsc --noEmit","test":"vitest","dev":"ncc build ./index.ts -w -o dist/","build":"rimraf dist && ncc build ./index.ts -o ./dist/ --no-cache --no-source-map-register --external favicons --external sharp && node postbuild.mjs"},"dependencies":{"favicons":"^7.3.1"},"devDependencies":{"@hyperbook/fs":"workspace:*","@hyperbook/markdown":"workspace:*","@hyperbook/types":"workspace:*","@pnpm/exportable-manifest":"1000.4.2","@types/archiver":"8.0.0","@types/async-retry":"1.4.9","@types/cross-spawn":"6.0.6","@types/lunr":"^2.3.7","@types/node":"26.2.0","@types/prompts":"2.4.9","@types/ws":"^8.18.1","@vercel/ncc":"0.44.1","archiver":"8.0.0","async-retry":"1.3.3","chalk":"6.0.0","chokidar":"5.0.0","commander":"15.0.0","cpy":"13.2.2","create-hyperbook":"workspace:*","cross-spawn":"7.0.6","domutils":"^4.0.2","unzipper":"^0.12.5","got":"15.1.0","htmlparser2":"^12.0.0","lunr":"^2.3.9","lunr-languages":"^1.21.0","mime":"^4.1.0","prompts":"2.4.2","rimraf":"6.1.3","tar":"7.5.22","update-check":"1.5.4","vfile":"^6.0.3","vitest":"^4.1.10","ws":"^8.21.3"}}');
|
|
202075
202075
|
|
|
202076
202076
|
/***/ })
|
|
202077
202077
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyperbook",
|
|
3
|
-
"version": "0.113.
|
|
3
|
+
"version": "0.113.4",
|
|
4
4
|
"author": "Mike Barkmin",
|
|
5
5
|
"homepage": "https://github.com/openpatch/hyperbook#readme",
|
|
6
6
|
"license": "MIT",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"vitest": "^4.1.10",
|
|
60
60
|
"ws": "^8.21.3",
|
|
61
61
|
"@hyperbook/fs": "0.30.0",
|
|
62
|
-
"@hyperbook/markdown": "0.86.
|
|
62
|
+
"@hyperbook/markdown": "0.86.3",
|
|
63
63
|
"@hyperbook/types": "0.28.0",
|
|
64
64
|
"create-hyperbook": "0.4.5"
|
|
65
65
|
},
|