@scrabble-solver/scrabble-solver 2.10.9 → 2.10.10
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +4 -4
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/eslint/.cache_8dgz12 +1 -1
- package/.next/cache/next-server.js.nft.json +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/edge-server-production/0.pack +0 -0
- package/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/131.js +24 -17
- package/.next/server/chunks/176.js +11 -5
- package/.next/server/chunks/50.js +712 -1025
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/404.js.nft.json +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/index.json +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/chunks/pages/_app-3272e798504c40d8.js +28 -0
- package/.next/static/css/336e75db2b74b157.css +2 -0
- package/.next/trace +55 -55
- package/package.json +10 -10
- package/src/components/Board/components/Actions/Actions.tsx +6 -0
- package/src/components/Button/Button.module.scss +1 -1
- package/src/components/Modal/Modal.module.scss +3 -1
- package/src/components/Tile/Tile.tsx +2 -2
- package/.next/static/chunks/pages/_app-52cb288dc680bdfe.js +0 -28
- package/.next/static/css/f65b7b2a74f57c1c.css +0 -2
- /package/.next/static/{fZRsz4P0gQ8Wgb9jP8eap → warzWo25tDxo_Eiv9T6f2}/_buildManifest.js +0 -0
- /package/.next/static/{fZRsz4P0gQ8Wgb9jP8eap → warzWo25tDxo_Eiv9T6f2}/_ssgManifest.js +0 -0
|
@@ -28217,7 +28217,7 @@ var Stream = __webpack_require__(81300);
|
|
|
28217
28217
|
/*<replacement>*/
|
|
28218
28218
|
|
|
28219
28219
|
var Buffer = (__webpack_require__(91423).Buffer);
|
|
28220
|
-
var OurUint8Array = global.Uint8Array || function () {};
|
|
28220
|
+
var OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};
|
|
28221
28221
|
function _uint8ArrayToBuffer(chunk) {
|
|
28222
28222
|
return Buffer.from(chunk);
|
|
28223
28223
|
}
|
|
@@ -28787,8 +28787,8 @@ Readable.prototype.pipe = function (dest, pipeOpts) {
|
|
|
28787
28787
|
// also returned false.
|
|
28788
28788
|
// => Check whether `dest` is still a piping destination.
|
|
28789
28789
|
if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {
|
|
28790
|
-
debug('false write response, pause',
|
|
28791
|
-
|
|
28790
|
+
debug('false write response, pause', state.awaitDrain);
|
|
28791
|
+
state.awaitDrain++;
|
|
28792
28792
|
increasedAwaitDrain = true;
|
|
28793
28793
|
}
|
|
28794
28794
|
src.pause();
|
|
@@ -28882,7 +28882,7 @@ Readable.prototype.unpipe = function (dest) {
|
|
|
28882
28882
|
state.flowing = false;
|
|
28883
28883
|
|
|
28884
28884
|
for (var i = 0; i < len; i++) {
|
|
28885
|
-
dests[i].emit('unpipe', this,
|
|
28885
|
+
dests[i].emit('unpipe', this, { hasUnpiped: false });
|
|
28886
28886
|
}return this;
|
|
28887
28887
|
}
|
|
28888
28888
|
|
|
@@ -29492,7 +29492,7 @@ var Stream = __webpack_require__(81300);
|
|
|
29492
29492
|
/*<replacement>*/
|
|
29493
29493
|
|
|
29494
29494
|
var Buffer = (__webpack_require__(91423).Buffer);
|
|
29495
|
-
var OurUint8Array = global.Uint8Array || function () {};
|
|
29495
|
+
var OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};
|
|
29496
29496
|
function _uint8ArrayToBuffer(chunk) {
|
|
29497
29497
|
return Buffer.from(chunk);
|
|
29498
29498
|
}
|
|
@@ -29760,7 +29760,7 @@ Writable.prototype.uncork = function () {
|
|
|
29760
29760
|
if (state.corked) {
|
|
29761
29761
|
state.corked--;
|
|
29762
29762
|
|
|
29763
|
-
if (!state.writing && !state.corked && !state.
|
|
29763
|
+
if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);
|
|
29764
29764
|
}
|
|
29765
29765
|
};
|
|
29766
29766
|
|
|
@@ -30002,7 +30002,7 @@ Writable.prototype.end = function (chunk, encoding, cb) {
|
|
|
30002
30002
|
}
|
|
30003
30003
|
|
|
30004
30004
|
// ignore unnecessary end() calls.
|
|
30005
|
-
if (!state.ending
|
|
30005
|
+
if (!state.ending) endWritable(this, state, cb);
|
|
30006
30006
|
};
|
|
30007
30007
|
|
|
30008
30008
|
function needFinish(state) {
|
|
@@ -30063,11 +30063,9 @@ function onCorkedFinish(corkReq, state, err) {
|
|
|
30063
30063
|
cb(err);
|
|
30064
30064
|
entry = entry.next;
|
|
30065
30065
|
}
|
|
30066
|
-
|
|
30067
|
-
|
|
30068
|
-
|
|
30069
|
-
state.corkedRequestsFree = corkReq;
|
|
30070
|
-
}
|
|
30066
|
+
|
|
30067
|
+
// reuse the free corkReq.
|
|
30068
|
+
state.corkedRequestsFree.next = corkReq;
|
|
30071
30069
|
}
|
|
30072
30070
|
|
|
30073
30071
|
Object.defineProperty(Writable.prototype, 'destroyed', {
|
|
@@ -30161,7 +30159,6 @@ module.exports = function () {
|
|
|
30161
30159
|
|
|
30162
30160
|
BufferList.prototype.concat = function concat(n) {
|
|
30163
30161
|
if (this.length === 0) return Buffer.alloc(0);
|
|
30164
|
-
if (this.length === 1) return this.head.data;
|
|
30165
30162
|
var ret = Buffer.allocUnsafe(n >>> 0);
|
|
30166
30163
|
var p = this.head;
|
|
30167
30164
|
var i = 0;
|
|
@@ -30206,9 +30203,15 @@ function destroy(err, cb) {
|
|
|
30206
30203
|
if (readableDestroyed || writableDestroyed) {
|
|
30207
30204
|
if (cb) {
|
|
30208
30205
|
cb(err);
|
|
30209
|
-
} else if (err
|
|
30210
|
-
|
|
30206
|
+
} else if (err) {
|
|
30207
|
+
if (!this._writableState) {
|
|
30208
|
+
pna.nextTick(emitErrorNT, this, err);
|
|
30209
|
+
} else if (!this._writableState.errorEmitted) {
|
|
30210
|
+
this._writableState.errorEmitted = true;
|
|
30211
|
+
pna.nextTick(emitErrorNT, this, err);
|
|
30212
|
+
}
|
|
30211
30213
|
}
|
|
30214
|
+
|
|
30212
30215
|
return this;
|
|
30213
30216
|
}
|
|
30214
30217
|
|
|
@@ -30226,9 +30229,11 @@ function destroy(err, cb) {
|
|
|
30226
30229
|
|
|
30227
30230
|
this._destroy(err || null, function (err) {
|
|
30228
30231
|
if (!cb && err) {
|
|
30229
|
-
|
|
30230
|
-
|
|
30232
|
+
if (!_this._writableState) {
|
|
30233
|
+
pna.nextTick(emitErrorNT, _this, err);
|
|
30234
|
+
} else if (!_this._writableState.errorEmitted) {
|
|
30231
30235
|
_this._writableState.errorEmitted = true;
|
|
30236
|
+
pna.nextTick(emitErrorNT, _this, err);
|
|
30232
30237
|
}
|
|
30233
30238
|
} else if (cb) {
|
|
30234
30239
|
cb(err);
|
|
@@ -30250,6 +30255,8 @@ function undestroy() {
|
|
|
30250
30255
|
this._writableState.destroyed = false;
|
|
30251
30256
|
this._writableState.ended = false;
|
|
30252
30257
|
this._writableState.ending = false;
|
|
30258
|
+
this._writableState.finalCalled = false;
|
|
30259
|
+
this._writableState.prefinished = false;
|
|
30253
30260
|
this._writableState.finished = false;
|
|
30254
30261
|
this._writableState.errorEmitted = false;
|
|
30255
30262
|
}
|
|
@@ -1769,6 +1769,8 @@ const Actions = /*#__PURE__*/ (0,react__WEBPACK_IMPORTED_MODULE_3__.forwardRef)(
|
|
|
1769
1769
|
const isFiltered = (0,state__WEBPACK_IMPORTED_MODULE_5__/* .useTypedSelector */ .ix)((state)=>(0,state__WEBPACK_IMPORTED_MODULE_5__/* .selectCellIsFiltered */ .id)(state, cell));
|
|
1770
1770
|
const isBlank = cell.tile.isBlank;
|
|
1771
1771
|
const isEmpty = cell.tile.character === _scrabble_solver_constants__WEBPACK_IMPORTED_MODULE_1__.EMPTY_CELL;
|
|
1772
|
+
// On iOS it helps with losing focus too early which makes Actions disappear
|
|
1773
|
+
const handleMouseDown = (event)=>event.preventDefault();
|
|
1772
1774
|
return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
|
1773
1775
|
className: classnames__WEBPACK_IMPORTED_MODULE_2___default()((_Actions_module_scss__WEBPACK_IMPORTED_MODULE_7___default().actions), className),
|
|
1774
1776
|
ref: ref,
|
|
@@ -1783,7 +1785,8 @@ const Actions = /*#__PURE__*/ (0,react__WEBPACK_IMPORTED_MODULE_3__.forwardRef)(
|
|
|
1783
1785
|
}),
|
|
1784
1786
|
tabIndex: disabled ? -1 : undefined,
|
|
1785
1787
|
tooltip: translate("cell.toggle-direction"),
|
|
1786
|
-
onClick: onDirectionToggle
|
|
1788
|
+
onClick: onDirectionToggle,
|
|
1789
|
+
onMouseDown: handleMouseDown
|
|
1787
1790
|
}),
|
|
1788
1791
|
isEmpty && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_Button__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
|
|
1789
1792
|
"aria-label": translate("cell.filter-cell"),
|
|
@@ -1791,7 +1794,8 @@ const Actions = /*#__PURE__*/ (0,react__WEBPACK_IMPORTED_MODULE_3__.forwardRef)(
|
|
|
1791
1794
|
Icon: isFiltered ? icons__WEBPACK_IMPORTED_MODULE_4__/* .Flag */ .WN : icons__WEBPACK_IMPORTED_MODULE_4__/* .FlagFill */ .aR,
|
|
1792
1795
|
tabIndex: disabled ? -1 : undefined,
|
|
1793
1796
|
tooltip: translate("cell.filter-cell"),
|
|
1794
|
-
onClick: onToggleFilterCell
|
|
1797
|
+
onClick: onToggleFilterCell,
|
|
1798
|
+
onMouseDown: handleMouseDown
|
|
1795
1799
|
}),
|
|
1796
1800
|
!isEmpty && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_Button__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
|
|
1797
1801
|
"aria-label": isBlank ? translate("cell.set-not-blank") : translate("cell.set-blank"),
|
|
@@ -1799,7 +1803,8 @@ const Actions = /*#__PURE__*/ (0,react__WEBPACK_IMPORTED_MODULE_3__.forwardRef)(
|
|
|
1799
1803
|
Icon: isBlank ? icons__WEBPACK_IMPORTED_MODULE_4__/* .SquareFill */ .uX : icons__WEBPACK_IMPORTED_MODULE_4__/* .Square */ .bK,
|
|
1800
1804
|
tabIndex: disabled ? -1 : undefined,
|
|
1801
1805
|
tooltip: isBlank ? translate("cell.set-not-blank") : translate("cell.set-blank"),
|
|
1802
|
-
onClick: onToggleBlank
|
|
1806
|
+
onClick: onToggleBlank,
|
|
1807
|
+
onMouseDown: handleMouseDown
|
|
1803
1808
|
})
|
|
1804
1809
|
]
|
|
1805
1810
|
});
|
|
@@ -5993,7 +5998,7 @@ const Tile = ({ "aria-label": ariaLabel , autoFocus , className , character =""
|
|
|
5993
5998
|
ref
|
|
5994
5999
|
]);
|
|
5995
6000
|
(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(()=>{
|
|
5996
|
-
if (!ref.current?.parentElement || !character) {
|
|
6001
|
+
if (!ref.current?.parentElement || !character || isLessThanXs) {
|
|
5997
6002
|
return;
|
|
5998
6003
|
}
|
|
5999
6004
|
ref.current.parentElement.animate(parameters__WEBPACK_IMPORTED_MODULE_6__/* .TILE_APPEAR_KEYFRAMES */ .e2, {
|
|
@@ -6002,7 +6007,8 @@ const Tile = ({ "aria-label": ariaLabel , autoFocus , className , character =""
|
|
|
6002
6007
|
fill: "forwards"
|
|
6003
6008
|
});
|
|
6004
6009
|
}, [
|
|
6005
|
-
character
|
|
6010
|
+
character,
|
|
6011
|
+
isLessThanXs
|
|
6006
6012
|
]);
|
|
6007
6013
|
return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_TilePure__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, {
|
|
6008
6014
|
"aria-label": ariaLabel,
|