From 25da742afa914f45e6e999fb60edfe91d146bd7a Mon Sep 17 00:00:00 2001 From: Gordon Martin Date: Sat, 10 Oct 2026 17:18:28 +0100 Subject: [PATCH 1/4] Fix chess page layout. The chess page contents had a max width of 800px set which was squishing all the elements together. This seemed to be derived from a 'scroller' CSS element - I'm not sure how it was being added but it must've been something to do with the 'Scroller' vdom element being created. I removed this element since the chess app doesn't scroll infinitely like the posts page, etc. Anything that does scroll in the app has its own internal scroll handling. I also removed the 'Chess' section title as I don't think this adds anything. I also set a default font size of 14px in the ssb-chess-mithril top element's CSS as the font size was a bit small. There's still a lot of room for improvement in the UI but this at least makes the chat usuable, etc ':D --- lib/depject/page/html/render/chess.js | 52 ++--- package-lock.json | 282 ++++---------------------- package.json | 2 +- 3 files changed, 63 insertions(+), 273 deletions(-) diff --git a/lib/depject/page/html/render/chess.js b/lib/depject/page/html/render/chess.js index 7576df2a..f447a878 100644 --- a/lib/depject/page/html/render/chess.js +++ b/lib/depject/page/html/render/chess.js @@ -12,49 +12,39 @@ exports.needs = nest({ exports.gives = nest("page.html.render"); exports.create = function (api) { - const i18n = api.intl.sync.i18n; return nest("page.html.render", function channel(path) { if (path !== "/chess") return; - const prepend = [ - h("PageHeading", [ - h("h1", [h("strong", i18n("Chess"))]), - h("div.meta", []), - ]), - ]; - - const page = h("Scroller", { style: { overflow: "auto" } }, [ + const page = h("div.wrapper", [ - h("section.prepend", prepend), h( "section.content", - h("div", { id: "ssb-chess-mithril-plugin" }), + h("div", { id: "ssb-chess-mithril-plugin", style: {'margin-top':'20px'} }), ), - ]), - ]); + ]); - onceTrue(api.sbot.obs.connection, (ssb) => { - const loadChess = () => { - const attachToElement = document.getElementById( - "ssb-chess-mithril-plugin", - ); + onceTrue(api.sbot.obs.connection, (ssb) => { + const loadChess = () => { + const attachToElement = document.getElementById( + "ssb-chess-mithril-plugin", + ); - if (!attachToElement) { - console.log("no element, loop"); - setTimeout(() => { - loadChess(); - }, 500); - return; - } + if (!attachToElement) { + console.log("no element, loop"); + setTimeout(() => { + loadChess(); + }, 500); + return; + } - const dataAccess = new SsbChessDataAccess.SbotClassic(ssb); + const dataAccess = new SsbChessDataAccess.SbotClassic(ssb); - SsbChessMithril(attachToElement, dataAccess); - }; + SsbChessMithril(attachToElement, dataAccess); + }; - loadChess(); - }); + loadChess(); + }); - return page; + return page; }); }; diff --git a/package-lock.json b/package-lock.json index a54f7498..60d21304 100644 --- a/package-lock.json +++ b/package-lock.json @@ -78,7 +78,7 @@ "ssb-blobs": "^2.0.1", "ssb-book-schema": "^1.0.3", "ssb-chess-data-access": "2.1.4", - "ssb-chess-mithril": "2.0.7", + "ssb-chess-mithril": "2.0.8", "ssb-client": "^4.9.0", "ssb-config": "^3.4.4", "ssb-conn": "~1.0.0", @@ -123,6 +123,24 @@ "standard": "^16.0.3" } }, + "../ssb-chess-mithril": { + "version": "2.0.8", + "license": "GPL-3.0", + "dependencies": { + "chessground": "7.6.8", + "howler": "^2.0.15", + "human-time": "0.0.2", + "hyperscript": "^2.0.2", + "mithril": "1.1.7", + "mutant": "3.29.0", + "pubsub-js": "^1.7.0", + "pull-scroll": "^1.0.9", + "pull-stream": "^3.6.14", + "ramda": "^0.25.0", + "ssb-chess": "4.0.4", + "ssb-embedded-chat": "2.0.1" + } + }, "node_modules/@babel/code-frame": { "version": "7.12.11", "dev": true, @@ -709,6 +727,7 @@ "dev": true, "license": "BSD-2-Clause", "optional": true, + "peer": true, "dependencies": { "cross-dirname": "^0.1.0", "debug": "^4.3.4", @@ -730,6 +749,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { "ms": "^2.1.3" }, @@ -749,6 +769,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -759,7 +780,8 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true, "license": "MIT", - "optional": true + "optional": true, + "peer": true }, "node_modules/@eslint/eslintrc": { "version": "0.2.2", @@ -1265,7 +1287,6 @@ "node_modules/acorn": { "version": "7.1.1", "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -3149,13 +3170,6 @@ "version": "3.0.1", "license": "MIT" }, - "node_modules/chessground": { - "version": "7.6.8", - "resolved": "https://registry.npmjs.org/chessground/-/chessground-7.6.8.tgz", - "integrity": "sha512-8Yj9e7qnmunRguPWLeTyPLJJb6mcAyb1JihacqT3aMDTQbKMyBr2w93VAakvlJGDRB1pJsliR7bBl2FfUl08mw==", - "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", - "license": "GPL-3.0" - }, "node_modules/chloride": { "version": "2.4.0", "license": "MIT", @@ -3697,7 +3711,8 @@ "integrity": "sha512-+R08/oI0nl3vfPcqftZRpytksBXDzOUveBq/NBVx0sUp1axwzPQrKinNx5yd5sxPu8j1wIy8AfnVQ+5eFdha6Q==", "dev": true, "license": "MIT", - "optional": true + "optional": true, + "peer": true }, "node_modules/cross-spawn": { "version": "4.0.2", @@ -4275,7 +4290,6 @@ "resolved": "https://registry.npmjs.org/electron/-/electron-44.7.0.tgz", "integrity": "sha512-aUq9/zLAAFYc+a9gy6cd0C3Y/N/RmovLCD8TV8LhIzNhuND6HEgsu96jJz9cbAxvckSPv+Trf2PKEjktoZgFkw==", "license": "MIT", - "peer": true, "dependencies": { "@electron-internal/extract-zip": "^1.0.1", "@electron/get": "^5.0.0", @@ -4618,6 +4632,7 @@ "dev": true, "hasInstallScript": true, "license": "MIT", + "peer": true, "dependencies": { "@electron/asar": "^3.2.1", "debug": "^4.1.1", @@ -4638,6 +4653,7 @@ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ms": "^2.1.3" }, @@ -4656,6 +4672,7 @@ "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "graceful-fs": "^4.1.2", "jsonfile": "^4.0.0", @@ -4670,7 +4687,8 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/electron-winstaller/node_modules/universalify": { "version": "0.1.2", @@ -4678,6 +4696,7 @@ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 4.0.0" } @@ -5054,7 +5073,6 @@ "version": "7.13.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "^7.0.0", "@eslint/eslintrc": "^0.2.1", @@ -5207,7 +5225,6 @@ "version": "2.22.1", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "array-includes": "^3.1.1", "array.prototype.flat": "^1.2.3", @@ -5257,7 +5274,6 @@ "version": "11.1.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "eslint-plugin-es": "^3.0.0", "eslint-utils": "^2.0.0", @@ -5285,7 +5301,6 @@ "version": "4.2.1", "dev": true, "license": "ISC", - "peer": true, "engines": { "node": ">=6" } @@ -5294,7 +5309,6 @@ "version": "7.21.5", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "array-includes": "^3.1.1", "array.prototype.flatmap": "^1.2.3", @@ -5605,15 +5619,6 @@ "node": ">= 8" } }, - "node_modules/esm": { - "version": "3.2.25", - "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz", - "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/espree": { "version": "7.3.1", "dev": true, @@ -6799,12 +6804,6 @@ "dev": true, "license": "ISC" }, - "node_modules/howler": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/howler/-/howler-2.2.4.tgz", - "integrity": "sha512-iARIBPgcQrwtEr+tALF+rapJ8qSc+Set2GJQl7xT1MQzWaVkFebdJhR3alVlSiUf5U7nAANKuj3aWpwerocD5w==", - "license": "MIT" - }, "node_modules/html-element": { "version": "1.3.0", "license": "MIT", @@ -6944,12 +6943,6 @@ "version": "1.1.0", "license": "MIT" }, - "node_modules/human-time": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/human-time/-/human-time-0.0.2.tgz", - "integrity": "sha512-sbYI90YhYmstslPTb70BLGjy6mdESa0lxL7uDR4fIVAx9Iobz8fLEqi7FqF4Q/6vblrzZALg//MsYJlIPBU8SA==", - "license": "MIT" - }, "node_modules/hyperscript": { "version": "1.4.7", "license": "MIT", @@ -8454,16 +8447,6 @@ "node": ">= 18" } }, - "node_modules/mithril": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/mithril/-/mithril-1.1.7.tgz", - "integrity": "sha512-1SAkGeVrIVvkUHlPHvR3pXdWzNfTzmS/fBAe+rC2ApEBfZFFc+idi8Qg/M5JoW/sZkIDXSfQYVgvENMIhBIVAg==", - "license": "MIT", - "bin": { - "bundle": "bundler/bin/bundle", - "ospec": "ospec/bin/ospec" - } - }, "node_modules/mkdirp": { "version": "3.0.1", "license": "MIT", @@ -9740,7 +9723,6 @@ "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -9942,6 +9924,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "dependencies": { "commander": "^9.4.0" }, @@ -9959,6 +9942,7 @@ "dev": true, "license": "MIT", "optional": true, + "peer": true, "engines": { "node": "^12.20.0 || >=14" } @@ -9972,7 +9956,6 @@ "node_modules/prettier": { "version": "2.2.1", "license": "MIT", - "peer": true, "bin": { "prettier": "bin-prettier.js" }, @@ -10331,12 +10314,6 @@ "version": "1.0.2", "license": "ISC" }, - "node_modules/pubsub-js": { - "version": "1.9.5", - "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.5.tgz", - "integrity": "sha512-5MZ0I9i5JWVO7SizvOviKvZU2qaBbl2KQX150FAA+fJBwYpwOUId7aNygURWSdPzlsA/xZ/InUKXqBbzM0czTA==", - "license": "MIT" - }, "node_modules/pull-abortable": { "version": "4.1.1", "license": "MIT" @@ -10479,12 +10456,6 @@ "version": "1.0.0", "license": "Fair" }, - "node_modules/pull-high-watermark": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/pull-high-watermark/-/pull-high-watermark-0.2.0.tgz", - "integrity": "sha512-kgiY2WwebW6i6oCC2ZuwJhHb/6zQ5rY/NwxbZu7Rp2sMVwWIAHGB0Pf3s0sffxdAHL3WkJKVWFeatTFLkRgjtA==", - "license": "MIT" - }, "node_modules/pull-inactivity": { "version": "2.1.3", "license": "MIT", @@ -10604,15 +10575,6 @@ "pull-defer": "^0.2.2" } }, - "node_modules/pull-resolve": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/pull-resolve/-/pull-resolve-1.2.0.tgz", - "integrity": "sha512-GYJ5SzJhdwtXURApxfzXpwl/0au1KH/vLBrAkFX/uU+LmreRojd8ymio6reesICCFuP4fwstddbZDymSEeRT0g==", - "license": "Apache-2.0", - "dependencies": { - "pull-stream": "^3.6.7" - } - }, "node_modules/pull-scan": { "version": "1.0.0", "license": "ISC", @@ -10620,23 +10582,6 @@ "pull-stream": "^3.4.5" } }, - "node_modules/pull-scroll": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/pull-scroll/-/pull-scroll-1.0.9.tgz", - "integrity": "sha512-tsw2+El+rf16Q55OivttX5sUUBv4DHXWbJnbyBeIzcKfmfLzGEbJTFiQU+Op55UXO3uQVDk2X5qVnbD1EpwxdQ==", - "license": "MIT", - "dependencies": { - "obv": "0.0.1", - "pull-pause": "0.0.0", - "pull-stream": "^3.0.1" - } - }, - "node_modules/pull-scroll/node_modules/pull-pause": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/pull-pause/-/pull-pause-0.0.0.tgz", - "integrity": "sha512-bbnrVNBeQUO5Vj1ejvl/XHyNAbR3qyZHmOYeTGxCyt1+g7ZM33YeMO9OeebUMKiAstZB/Rc3qrxAMB8mETQ01Q==", - "license": "MIT" - }, "node_modules/pull-sink-through": { "version": "0.0.0", "license": "MIT" @@ -10822,12 +10767,6 @@ "version": "1.0.0", "license": "CC0-1.0" }, - "node_modules/ramda": { - "version": "0.25.0", - "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.25.0.tgz", - "integrity": "sha512-GXpfrYVPwx3K7RQ6aYT8KPS8XViSXUVJT1ONhoKPE9VAleW42YE+U+8VEyGWt41EnEQW7gwecYJriTI0pKoecQ==", - "license": "MIT" - }, "node_modules/randexp": { "version": "0.4.6", "license": "MIT", @@ -11549,7 +11488,6 @@ "node_modules/secret-stack": { "version": "6.3.2", "license": "MIT", - "peer": true, "dependencies": { "debug": "^4.1.0", "hoox": "0.0.1", @@ -12170,29 +12108,6 @@ "version": "1.1.0", "license": "CC0-1.0" }, - "node_modules/ssb-chess": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/ssb-chess/-/ssb-chess-4.0.4.tgz", - "integrity": "sha512-LAk7eCRn6ZDRZNoxVl0sPJZHVv4iyg7hbs4grMU+1s3E4KXxelVy5kTCLZCcJMsdszZQFBdtwiFd7EUGFJgJWQ==", - "license": "GPL-2.0", - "dependencies": { - "bluebird": "^3.7.2", - "lodash": "^4.18.1", - "mutant": "3.29.0", - "mutant-pull-reduce": "^1.1.0", - "pubsub-js": "1.5.7", - "pull-abortable": "^4.1.1", - "pull-async-filter": "^1.0.0", - "pull-cat": "^1.1.11", - "pull-high-watermark": "^0.2.0", - "pull-many": "^1.0.8", - "pull-resolve": "^1.2.0", - "pull-scan": "^1.0.0", - "pull-stream": "^3.6.14", - "ssb-chess-index": "2.0.0", - "tiny-worker": "2.3.0" - } - }, "node_modules/ssb-chess-data-access": { "version": "2.1.4", "license": "MIT", @@ -12206,72 +12121,9 @@ "ssb-ooo-about": "2.0.0" } }, - "node_modules/ssb-chess-index": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ssb-chess-index/-/ssb-chess-index-2.0.0.tgz", - "integrity": "sha512-BlILk0XjGFqqeKpBFbayKCHZ+pVWNZInv0mSt6SEqQpK1rUnDCnJlrWox8ajb5yXc8xJz24bupd9MUVK/y1D1Q==", - "license": "MIT", - "dependencies": { - "pull-many": "^1.0.9", - "pull-scan": "^1.0.0", - "pull-stream": "^3.6.14" - } - }, "node_modules/ssb-chess-mithril": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/ssb-chess-mithril/-/ssb-chess-mithril-2.0.7.tgz", - "integrity": "sha512-udteX1KbUUohsGar+toyX2rTDcO1pch0NiV+k5JAMf7zQDtAU4r2Y/CekHFWHHOhXGC35E8IVtL2otFNsbwluA==", - "license": "GPL-3.0", - "dependencies": { - "chessground": "7.6.8", - "howler": "^2.0.15", - "human-time": "0.0.2", - "hyperscript": "^2.0.2", - "lodash": "^4.17.11", - "mithril": "1.1.7", - "mutant": "3.29.0", - "pubsub-js": "^1.7.0", - "pull-scroll": "^1.0.9", - "pull-stream": "^3.6.14", - "ramda": "^0.25.0", - "ssb-chess": "4.0.4", - "ssb-embedded-chat": "2.0.1" - } - }, - "node_modules/ssb-chess-mithril/node_modules/browser-split": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/browser-split/-/browser-split-0.0.0.tgz", - "integrity": "sha512-CNXO3AXAS1H/kOGQkPjucm1161/XoF3aVkMfujqwk85XN/D/MkQMvoB81lXyX/2rerZS+hPAYYRR3mAW05awjQ==", - "license": "MIT" - }, - "node_modules/ssb-chess-mithril/node_modules/html-element": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/html-element/-/html-element-2.3.1.tgz", - "integrity": "sha512-xnFt2ZkbFcjc+JoAtg3Hl89VeEZDjododu4VCPkRvFmBTHHA9U1Nt6hLUWfW2O+6Sl/rT1hHK/PivleX3PdBJQ==", - "license": "MIT", - "dependencies": { - "class-list": "~0.1.1" - }, - "engines": { - "node": ">=4.2" - } - }, - "node_modules/ssb-chess-mithril/node_modules/hyperscript": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hyperscript/-/hyperscript-2.0.2.tgz", - "integrity": "sha512-uggBAYfHFC5WyZQXlJ61BNZbPmJbschcvfYNhYdZWCp+0J8KYb5Du8nQuk8Ru+ThoCNb01B0tPtnTRqnrFBkVg==", - "license": "MIT", - "dependencies": { - "browser-split": "0.0.0", - "class-list": "~0.1.0", - "html-element": "^2.0.0" - } - }, - "node_modules/ssb-chess/node_modules/pubsub-js": { - "version": "1.5.7", - "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.5.7.tgz", - "integrity": "sha512-0nPU66GrK84OooIIJ0Pv2lAeagLz/Cd9oqUaA1VEn3X/cOlUXTEfxMypg+YuPODtRwLg5QKm4RVBh6NkBUxcOQ==", - "license": "MIT" + "resolved": "../ssb-chess-mithril", + "link": true }, "node_modules/ssb-client": { "version": "4.9.0", @@ -12843,54 +12695,6 @@ "ssb-ref": "^2.9.1" } }, - "node_modules/ssb-embedded-chat": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ssb-embedded-chat/-/ssb-embedded-chat-2.0.1.tgz", - "integrity": "sha512-W7sh9Qt4jI4JS5kSJ9FEPS3ETU+Bgd2ZFtTFbAvtfH5Nbg3yEeo7ZwS3cnCNwylfoV7nHS0G2e9hlnkKfux9FA==", - "license": "GPL-3.0", - "dependencies": { - "hyperscript": "2.0.2", - "pull-abortable": "^4.1.1", - "pull-cat": "^1.1.11", - "pull-scroll": "1.0.9", - "pull-stream": "3.6.0" - } - }, - "node_modules/ssb-embedded-chat/node_modules/browser-split": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/browser-split/-/browser-split-0.0.0.tgz", - "integrity": "sha512-CNXO3AXAS1H/kOGQkPjucm1161/XoF3aVkMfujqwk85XN/D/MkQMvoB81lXyX/2rerZS+hPAYYRR3mAW05awjQ==", - "license": "MIT" - }, - "node_modules/ssb-embedded-chat/node_modules/html-element": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/html-element/-/html-element-2.3.1.tgz", - "integrity": "sha512-xnFt2ZkbFcjc+JoAtg3Hl89VeEZDjododu4VCPkRvFmBTHHA9U1Nt6hLUWfW2O+6Sl/rT1hHK/PivleX3PdBJQ==", - "license": "MIT", - "dependencies": { - "class-list": "~0.1.1" - }, - "engines": { - "node": ">=4.2" - } - }, - "node_modules/ssb-embedded-chat/node_modules/hyperscript": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hyperscript/-/hyperscript-2.0.2.tgz", - "integrity": "sha512-uggBAYfHFC5WyZQXlJ61BNZbPmJbschcvfYNhYdZWCp+0J8KYb5Du8nQuk8Ru+ThoCNb01B0tPtnTRqnrFBkVg==", - "license": "MIT", - "dependencies": { - "browser-split": "0.0.0", - "class-list": "~0.1.0", - "html-element": "^2.0.0" - } - }, - "node_modules/ssb-embedded-chat/node_modules/pull-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/pull-stream/-/pull-stream-3.6.0.tgz", - "integrity": "sha512-aq4STXzOOVZkIq3jeMmxgpnSR3OoCBAwN3sGA4JuIVrLozy3gx2mtG0xPoGmuHauxgvTgfrE+G3DZ2m9N1Q0Qg==", - "license": "MIT" - }, "node_modules/ssb-friends": { "version": "4.4.4", "license": "MIT", @@ -14162,6 +13966,7 @@ "integrity": "sha512-yYrrsWnrXMcdsnu/7YMYAofM1ktpL5By7vZhf15CrXijWWrEYZks5AXBudalfSWJLlnen/QUJUB5aoB0kqZUGA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "mkdirp": "^0.5.1", "rimraf": "~2.6.2" @@ -14216,6 +14021,7 @@ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -14237,6 +14043,7 @@ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true, "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -14247,6 +14054,7 @@ "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "minimist": "^1.2.6" }, @@ -14261,6 +14069,7 @@ "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, "license": "ISC", + "peer": true, "dependencies": { "glob": "^7.1.3" }, @@ -14325,15 +14134,6 @@ "version": "1.0.3", "license": "MIT" }, - "node_modules/tiny-worker": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/tiny-worker/-/tiny-worker-2.3.0.tgz", - "integrity": "sha512-pJ70wq5EAqTAEl9IkGzA+fN0836rycEuz2Cn6yeZ6FRzlVS5IDOkFHpIoEsksPRQV34GDqXm65+OlnZqUSyK2g==", - "license": "BSD-3-Clause", - "dependencies": { - "esm": "^3.2.25" - } - }, "node_modules/tinyglobby": { "version": "0.2.17", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", diff --git a/package.json b/package.json index 73622250..0a8d821f 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "text-node-searcher": "^1.1.1", "xtend": "^4.0.2", "ssb-chess-data-access": "2.1.4", - "ssb-chess-mithril": "2.0.7" + "ssb-chess-mithril": "2.0.8" }, "devDependencies": { "@electron/notarize": "^3.1.2", From 37a759bc5b3e23254bfd11addf66e873c9782589 Mon Sep 17 00:00:00 2001 From: Gordon Martin Date: Sat, 10 Oct 2026 22:58:55 +0100 Subject: [PATCH 2/4] Reattempt build --- lib/depject/page/html/render/chess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/depject/page/html/render/chess.js b/lib/depject/page/html/render/chess.js index f447a878..fb45064b 100644 --- a/lib/depject/page/html/render/chess.js +++ b/lib/depject/page/html/render/chess.js @@ -19,7 +19,7 @@ exports.create = function (api) { h("div.wrapper", [ h( "section.content", - h("div", { id: "ssb-chess-mithril-plugin", style: {'margin-top':'20px'} }), + h("div", { id: "ssb-chess-mithril-plugin", style: { 'margin-top':'20px' } }), ), ]); From f19f551b45ab6ed11a2b4811b4a9039133f539ca Mon Sep 17 00:00:00 2001 From: Gordon Martin Date: Sat, 10 Oct 2026 23:08:24 +0100 Subject: [PATCH 3/4] i think the chess packages might have been symlinked locally and messed up the package lock or something --- package-lock.json | 252 ++++++++++++++++++++++++++++++++++++++++++---- package.json | 6 +- 2 files changed, 233 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index 60d21304..6b53ca96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -77,8 +77,8 @@ "ssb-blob-files": "^1.2.0", "ssb-blobs": "^2.0.1", "ssb-book-schema": "^1.0.3", - "ssb-chess-data-access": "2.1.4", - "ssb-chess-mithril": "2.0.8", + "ssb-chess-data-access": "^2.1.4", + "ssb-chess-mithril": "^2.0.8", "ssb-client": "^4.9.0", "ssb-config": "^3.4.4", "ssb-conn": "~1.0.0", @@ -123,24 +123,6 @@ "standard": "^16.0.3" } }, - "../ssb-chess-mithril": { - "version": "2.0.8", - "license": "GPL-3.0", - "dependencies": { - "chessground": "7.6.8", - "howler": "^2.0.15", - "human-time": "0.0.2", - "hyperscript": "^2.0.2", - "mithril": "1.1.7", - "mutant": "3.29.0", - "pubsub-js": "^1.7.0", - "pull-scroll": "^1.0.9", - "pull-stream": "^3.6.14", - "ramda": "^0.25.0", - "ssb-chess": "4.0.4", - "ssb-embedded-chat": "2.0.1" - } - }, "node_modules/@babel/code-frame": { "version": "7.12.11", "dev": true, @@ -3170,6 +3152,13 @@ "version": "3.0.1", "license": "MIT" }, + "node_modules/chessground": { + "version": "7.6.8", + "resolved": "https://registry.npmjs.org/chessground/-/chessground-7.6.8.tgz", + "integrity": "sha512-8Yj9e7qnmunRguPWLeTyPLJJb6mcAyb1JihacqT3aMDTQbKMyBr2w93VAakvlJGDRB1pJsliR7bBl2FfUl08mw==", + "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "license": "GPL-3.0" + }, "node_modules/chloride": { "version": "2.4.0", "license": "MIT", @@ -5619,6 +5608,15 @@ "node": ">= 8" } }, + "node_modules/esm": { + "version": "3.2.25", + "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz", + "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/espree": { "version": "7.3.1", "dev": true, @@ -6804,6 +6802,12 @@ "dev": true, "license": "ISC" }, + "node_modules/howler": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/howler/-/howler-2.2.4.tgz", + "integrity": "sha512-iARIBPgcQrwtEr+tALF+rapJ8qSc+Set2GJQl7xT1MQzWaVkFebdJhR3alVlSiUf5U7nAANKuj3aWpwerocD5w==", + "license": "MIT" + }, "node_modules/html-element": { "version": "1.3.0", "license": "MIT", @@ -6943,6 +6947,12 @@ "version": "1.1.0", "license": "MIT" }, + "node_modules/human-time": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/human-time/-/human-time-0.0.2.tgz", + "integrity": "sha512-sbYI90YhYmstslPTb70BLGjy6mdESa0lxL7uDR4fIVAx9Iobz8fLEqi7FqF4Q/6vblrzZALg//MsYJlIPBU8SA==", + "license": "MIT" + }, "node_modules/hyperscript": { "version": "1.4.7", "license": "MIT", @@ -8447,6 +8457,16 @@ "node": ">= 18" } }, + "node_modules/mithril": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/mithril/-/mithril-1.1.7.tgz", + "integrity": "sha512-1SAkGeVrIVvkUHlPHvR3pXdWzNfTzmS/fBAe+rC2ApEBfZFFc+idi8Qg/M5JoW/sZkIDXSfQYVgvENMIhBIVAg==", + "license": "MIT", + "bin": { + "bundle": "bundler/bin/bundle", + "ospec": "ospec/bin/ospec" + } + }, "node_modules/mkdirp": { "version": "3.0.1", "license": "MIT", @@ -10314,6 +10334,12 @@ "version": "1.0.2", "license": "ISC" }, + "node_modules/pubsub-js": { + "version": "1.9.5", + "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.9.5.tgz", + "integrity": "sha512-5MZ0I9i5JWVO7SizvOviKvZU2qaBbl2KQX150FAA+fJBwYpwOUId7aNygURWSdPzlsA/xZ/InUKXqBbzM0czTA==", + "license": "MIT" + }, "node_modules/pull-abortable": { "version": "4.1.1", "license": "MIT" @@ -10456,6 +10482,12 @@ "version": "1.0.0", "license": "Fair" }, + "node_modules/pull-high-watermark": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/pull-high-watermark/-/pull-high-watermark-0.2.0.tgz", + "integrity": "sha512-kgiY2WwebW6i6oCC2ZuwJhHb/6zQ5rY/NwxbZu7Rp2sMVwWIAHGB0Pf3s0sffxdAHL3WkJKVWFeatTFLkRgjtA==", + "license": "MIT" + }, "node_modules/pull-inactivity": { "version": "2.1.3", "license": "MIT", @@ -10575,6 +10607,15 @@ "pull-defer": "^0.2.2" } }, + "node_modules/pull-resolve": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pull-resolve/-/pull-resolve-1.2.0.tgz", + "integrity": "sha512-GYJ5SzJhdwtXURApxfzXpwl/0au1KH/vLBrAkFX/uU+LmreRojd8ymio6reesICCFuP4fwstddbZDymSEeRT0g==", + "license": "Apache-2.0", + "dependencies": { + "pull-stream": "^3.6.7" + } + }, "node_modules/pull-scan": { "version": "1.0.0", "license": "ISC", @@ -10582,6 +10623,23 @@ "pull-stream": "^3.4.5" } }, + "node_modules/pull-scroll": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/pull-scroll/-/pull-scroll-1.0.9.tgz", + "integrity": "sha512-tsw2+El+rf16Q55OivttX5sUUBv4DHXWbJnbyBeIzcKfmfLzGEbJTFiQU+Op55UXO3uQVDk2X5qVnbD1EpwxdQ==", + "license": "MIT", + "dependencies": { + "obv": "0.0.1", + "pull-pause": "0.0.0", + "pull-stream": "^3.0.1" + } + }, + "node_modules/pull-scroll/node_modules/pull-pause": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/pull-pause/-/pull-pause-0.0.0.tgz", + "integrity": "sha512-bbnrVNBeQUO5Vj1ejvl/XHyNAbR3qyZHmOYeTGxCyt1+g7ZM33YeMO9OeebUMKiAstZB/Rc3qrxAMB8mETQ01Q==", + "license": "MIT" + }, "node_modules/pull-sink-through": { "version": "0.0.0", "license": "MIT" @@ -10767,6 +10825,12 @@ "version": "1.0.0", "license": "CC0-1.0" }, + "node_modules/ramda": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.25.0.tgz", + "integrity": "sha512-GXpfrYVPwx3K7RQ6aYT8KPS8XViSXUVJT1ONhoKPE9VAleW42YE+U+8VEyGWt41EnEQW7gwecYJriTI0pKoecQ==", + "license": "MIT" + }, "node_modules/randexp": { "version": "0.4.6", "license": "MIT", @@ -12108,8 +12172,33 @@ "version": "1.1.0", "license": "CC0-1.0" }, + "node_modules/ssb-chess": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/ssb-chess/-/ssb-chess-4.0.4.tgz", + "integrity": "sha512-LAk7eCRn6ZDRZNoxVl0sPJZHVv4iyg7hbs4grMU+1s3E4KXxelVy5kTCLZCcJMsdszZQFBdtwiFd7EUGFJgJWQ==", + "license": "GPL-2.0", + "dependencies": { + "bluebird": "^3.7.2", + "lodash": "^4.18.1", + "mutant": "3.29.0", + "mutant-pull-reduce": "^1.1.0", + "pubsub-js": "1.5.7", + "pull-abortable": "^4.1.1", + "pull-async-filter": "^1.0.0", + "pull-cat": "^1.1.11", + "pull-high-watermark": "^0.2.0", + "pull-many": "^1.0.8", + "pull-resolve": "^1.2.0", + "pull-scan": "^1.0.0", + "pull-stream": "^3.6.14", + "ssb-chess-index": "2.0.0", + "tiny-worker": "2.3.0" + } + }, "node_modules/ssb-chess-data-access": { "version": "2.1.4", + "resolved": "https://registry.npmjs.org/ssb-chess-data-access/-/ssb-chess-data-access-2.1.4.tgz", + "integrity": "sha512-fp6t5zLzczMfFuy4OpzzPlMN3K/x2oKFjly3uNrQDnWUqqhvhAAPE230F1GdaHayIU+l9Oq8geXpaRLhaBRYZA==", "license": "MIT", "dependencies": { "pull-abortable": "^4.1.1", @@ -12121,9 +12210,71 @@ "ssb-ooo-about": "2.0.0" } }, + "node_modules/ssb-chess-index": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ssb-chess-index/-/ssb-chess-index-2.0.0.tgz", + "integrity": "sha512-BlILk0XjGFqqeKpBFbayKCHZ+pVWNZInv0mSt6SEqQpK1rUnDCnJlrWox8ajb5yXc8xJz24bupd9MUVK/y1D1Q==", + "license": "MIT", + "dependencies": { + "pull-many": "^1.0.9", + "pull-scan": "^1.0.0", + "pull-stream": "^3.6.14" + } + }, "node_modules/ssb-chess-mithril": { - "resolved": "../ssb-chess-mithril", - "link": true + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/ssb-chess-mithril/-/ssb-chess-mithril-2.0.8.tgz", + "integrity": "sha512-lLNzjuqzw/Xr2nCB+ZSFvsgbs2Eh/4Sh0GvFC3RxCW1MIXUh23p2wXxv17f7zdS3yTvDsQqjwYiBrnuFkqCGlg==", + "license": "GPL-3.0", + "dependencies": { + "chessground": "7.6.8", + "howler": "^2.0.15", + "human-time": "0.0.2", + "hyperscript": "^2.0.2", + "mithril": "1.1.7", + "mutant": "3.29.0", + "pubsub-js": "^1.7.0", + "pull-scroll": "^1.0.9", + "pull-stream": "^3.6.14", + "ramda": "^0.25.0", + "ssb-chess": "4.0.4", + "ssb-embedded-chat": "2.0.1" + } + }, + "node_modules/ssb-chess-mithril/node_modules/browser-split": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/browser-split/-/browser-split-0.0.0.tgz", + "integrity": "sha512-CNXO3AXAS1H/kOGQkPjucm1161/XoF3aVkMfujqwk85XN/D/MkQMvoB81lXyX/2rerZS+hPAYYRR3mAW05awjQ==", + "license": "MIT" + }, + "node_modules/ssb-chess-mithril/node_modules/html-element": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/html-element/-/html-element-2.3.1.tgz", + "integrity": "sha512-xnFt2ZkbFcjc+JoAtg3Hl89VeEZDjododu4VCPkRvFmBTHHA9U1Nt6hLUWfW2O+6Sl/rT1hHK/PivleX3PdBJQ==", + "license": "MIT", + "dependencies": { + "class-list": "~0.1.1" + }, + "engines": { + "node": ">=4.2" + } + }, + "node_modules/ssb-chess-mithril/node_modules/hyperscript": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hyperscript/-/hyperscript-2.0.2.tgz", + "integrity": "sha512-uggBAYfHFC5WyZQXlJ61BNZbPmJbschcvfYNhYdZWCp+0J8KYb5Du8nQuk8Ru+ThoCNb01B0tPtnTRqnrFBkVg==", + "license": "MIT", + "dependencies": { + "browser-split": "0.0.0", + "class-list": "~0.1.0", + "html-element": "^2.0.0" + } + }, + "node_modules/ssb-chess/node_modules/pubsub-js": { + "version": "1.5.7", + "resolved": "https://registry.npmjs.org/pubsub-js/-/pubsub-js-1.5.7.tgz", + "integrity": "sha512-0nPU66GrK84OooIIJ0Pv2lAeagLz/Cd9oqUaA1VEn3X/cOlUXTEfxMypg+YuPODtRwLg5QKm4RVBh6NkBUxcOQ==", + "license": "MIT" }, "node_modules/ssb-client": { "version": "4.9.0", @@ -12695,6 +12846,54 @@ "ssb-ref": "^2.9.1" } }, + "node_modules/ssb-embedded-chat": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ssb-embedded-chat/-/ssb-embedded-chat-2.0.1.tgz", + "integrity": "sha512-W7sh9Qt4jI4JS5kSJ9FEPS3ETU+Bgd2ZFtTFbAvtfH5Nbg3yEeo7ZwS3cnCNwylfoV7nHS0G2e9hlnkKfux9FA==", + "license": "GPL-3.0", + "dependencies": { + "hyperscript": "2.0.2", + "pull-abortable": "^4.1.1", + "pull-cat": "^1.1.11", + "pull-scroll": "1.0.9", + "pull-stream": "3.6.0" + } + }, + "node_modules/ssb-embedded-chat/node_modules/browser-split": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/browser-split/-/browser-split-0.0.0.tgz", + "integrity": "sha512-CNXO3AXAS1H/kOGQkPjucm1161/XoF3aVkMfujqwk85XN/D/MkQMvoB81lXyX/2rerZS+hPAYYRR3mAW05awjQ==", + "license": "MIT" + }, + "node_modules/ssb-embedded-chat/node_modules/html-element": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/html-element/-/html-element-2.3.1.tgz", + "integrity": "sha512-xnFt2ZkbFcjc+JoAtg3Hl89VeEZDjododu4VCPkRvFmBTHHA9U1Nt6hLUWfW2O+6Sl/rT1hHK/PivleX3PdBJQ==", + "license": "MIT", + "dependencies": { + "class-list": "~0.1.1" + }, + "engines": { + "node": ">=4.2" + } + }, + "node_modules/ssb-embedded-chat/node_modules/hyperscript": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hyperscript/-/hyperscript-2.0.2.tgz", + "integrity": "sha512-uggBAYfHFC5WyZQXlJ61BNZbPmJbschcvfYNhYdZWCp+0J8KYb5Du8nQuk8Ru+ThoCNb01B0tPtnTRqnrFBkVg==", + "license": "MIT", + "dependencies": { + "browser-split": "0.0.0", + "class-list": "~0.1.0", + "html-element": "^2.0.0" + } + }, + "node_modules/ssb-embedded-chat/node_modules/pull-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/pull-stream/-/pull-stream-3.6.0.tgz", + "integrity": "sha512-aq4STXzOOVZkIq3jeMmxgpnSR3OoCBAwN3sGA4JuIVrLozy3gx2mtG0xPoGmuHauxgvTgfrE+G3DZ2m9N1Q0Qg==", + "license": "MIT" + }, "node_modules/ssb-friends": { "version": "4.4.4", "license": "MIT", @@ -14134,6 +14333,15 @@ "version": "1.0.3", "license": "MIT" }, + "node_modules/tiny-worker": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/tiny-worker/-/tiny-worker-2.3.0.tgz", + "integrity": "sha512-pJ70wq5EAqTAEl9IkGzA+fN0836rycEuz2Cn6yeZ6FRzlVS5IDOkFHpIoEsksPRQV34GDqXm65+OlnZqUSyK2g==", + "license": "BSD-3-Clause", + "dependencies": { + "esm": "^3.2.25" + } + }, "node_modules/tinyglobby": { "version": "0.2.17", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", diff --git a/package.json b/package.json index 0a8d821f..76381dec 100644 --- a/package.json +++ b/package.json @@ -88,6 +88,8 @@ "ssb-blob-files": "^1.2.0", "ssb-blobs": "^2.0.1", "ssb-book-schema": "^1.0.3", + "ssb-chess-data-access": "^2.1.4", + "ssb-chess-mithril": "^2.0.8", "ssb-client": "^4.9.0", "ssb-config": "^3.4.4", "ssb-conn": "~1.0.0", @@ -121,9 +123,7 @@ "ssb-ws": "^6.2.3", "suggest-box": "github:mmckegg/suggest-box#scroll-selection-into-view", "text-node-searcher": "^1.1.1", - "xtend": "^4.0.2", - "ssb-chess-data-access": "2.1.4", - "ssb-chess-mithril": "2.0.8" + "xtend": "^4.0.2" }, "devDependencies": { "@electron/notarize": "^3.1.2", From 1a0f8ba7c5ac8f20540a26ff9ebfb68916aa5aa4 Mon Sep 17 00:00:00 2001 From: Gordon Martin Date: Sun, 11 Oct 2026 00:03:08 +0100 Subject: [PATCH 4/4] Bump to version of ssb-chess-mithril with some stale dependencies and code removed. --- package-lock.json | 24 ++++++++++++------------ package.json | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6b53ca96..a47a1187 100644 --- a/package-lock.json +++ b/package-lock.json @@ -78,7 +78,7 @@ "ssb-blobs": "^2.0.1", "ssb-book-schema": "^1.0.3", "ssb-chess-data-access": "^2.1.4", - "ssb-chess-mithril": "^2.0.8", + "ssb-chess-mithril": "2.0.9", "ssb-client": "^4.9.0", "ssb-config": "^3.4.4", "ssb-conn": "~1.0.0", @@ -12173,9 +12173,9 @@ "license": "CC0-1.0" }, "node_modules/ssb-chess": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/ssb-chess/-/ssb-chess-4.0.4.tgz", - "integrity": "sha512-LAk7eCRn6ZDRZNoxVl0sPJZHVv4iyg7hbs4grMU+1s3E4KXxelVy5kTCLZCcJMsdszZQFBdtwiFd7EUGFJgJWQ==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/ssb-chess/-/ssb-chess-4.0.5.tgz", + "integrity": "sha512-iT6TgXh7alif1WIDYj9LJSm8eLAEZ2tJ0xWSac/yLkCAnVd7b2iCCpCW9psehMUGuFJLVypS8Id8J1cMAGvm/Q==", "license": "GPL-2.0", "dependencies": { "bluebird": "^3.7.2", @@ -12222,9 +12222,9 @@ } }, "node_modules/ssb-chess-mithril": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/ssb-chess-mithril/-/ssb-chess-mithril-2.0.8.tgz", - "integrity": "sha512-lLNzjuqzw/Xr2nCB+ZSFvsgbs2Eh/4Sh0GvFC3RxCW1MIXUh23p2wXxv17f7zdS3yTvDsQqjwYiBrnuFkqCGlg==", + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/ssb-chess-mithril/-/ssb-chess-mithril-2.0.9.tgz", + "integrity": "sha512-zovDFhTfqRg+O2fKClIt1cIcBh1h/fdc41g3d3mmwk6rtwKrJ2RntrwZc4dP7a/dL846I+VsnsAibx80/SQhNw==", "license": "GPL-3.0", "dependencies": { "chessground": "7.6.8", @@ -12237,8 +12237,8 @@ "pull-scroll": "^1.0.9", "pull-stream": "^3.6.14", "ramda": "^0.25.0", - "ssb-chess": "4.0.4", - "ssb-embedded-chat": "2.0.1" + "ssb-chess": "4.0.5", + "ssb-embedded-chat": "2.0.2" } }, "node_modules/ssb-chess-mithril/node_modules/browser-split": { @@ -12847,9 +12847,9 @@ } }, "node_modules/ssb-embedded-chat": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ssb-embedded-chat/-/ssb-embedded-chat-2.0.1.tgz", - "integrity": "sha512-W7sh9Qt4jI4JS5kSJ9FEPS3ETU+Bgd2ZFtTFbAvtfH5Nbg3yEeo7ZwS3cnCNwylfoV7nHS0G2e9hlnkKfux9FA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ssb-embedded-chat/-/ssb-embedded-chat-2.0.2.tgz", + "integrity": "sha512-ei2xU2MsXGPJ87Um6QnWGazplBcMqlMIU4IqcMfDfF2JIyqJs/fmtPQsSxqXk1SXRew/4T+eiHgXTAFzkYQFEw==", "license": "GPL-3.0", "dependencies": { "hyperscript": "2.0.2", diff --git a/package.json b/package.json index 76381dec..12ff7e45 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "ssb-blobs": "^2.0.1", "ssb-book-schema": "^1.0.3", "ssb-chess-data-access": "^2.1.4", - "ssb-chess-mithril": "^2.0.8", + "ssb-chess-mithril": "2.0.9", "ssb-client": "^4.9.0", "ssb-config": "^3.4.4", "ssb-conn": "~1.0.0",