@scrabble-solver/scrabble-solver 2.10.8 → 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 +15 -15
- 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/images-manifest.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/131.js +24 -17
- package/.next/server/chunks/176.js +443 -288
- package/.next/server/chunks/50.js +712 -1025
- package/.next/server/chunks/664.js +27 -2414
- package/.next/server/chunks/859.js +29 -1
- package/.next/server/font-loader-manifest.js +1 -0
- package/.next/server/font-loader-manifest.json +6 -0
- 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 -12
- package/.next/server/pages/_app.js +13 -133
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js +1 -1
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js +133 -17
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages/api/solve.js +5 -6
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/index.js +34 -154
- 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/main-74c4d6b2b5c362f3.js +1 -0
- package/.next/static/chunks/pages/{404-8cab6d62fe4ead73.js → 404-d5ff00df1c687977.js} +1 -1
- package/.next/static/chunks/pages/_app-3272e798504c40d8.js +28 -0
- package/.next/static/chunks/pages/index-5c2544930e46c5ce.js +1 -0
- package/.next/static/chunks/webpack-6ef43a8d4a395f49.js +1 -0
- package/.next/static/css/336e75db2b74b157.css +2 -0
- package/.next/static/css/{d1cc6b79b211b7b8.css → ec4e47a6b1866fe5.css} +1 -1
- package/.next/static/warzWo25tDxo_Eiv9T6f2/_buildManifest.js +1 -0
- package/.next/trace +55 -55
- package/package.json +12 -11
- package/src/components/Board/Board.module.scss +14 -0
- package/src/components/Board/Board.tsx +117 -19
- package/src/components/Board/BoardPure.tsx +7 -15
- package/src/components/Board/components/Actions/Actions.module.scss +64 -0
- package/src/components/Board/components/Actions/Actions.tsx +74 -0
- package/src/components/Board/components/Actions/index.ts +1 -0
- package/src/components/Board/components/Cell/Cell.module.scss +10 -121
- package/src/components/Board/components/Cell/Cell.tsx +0 -37
- package/src/components/Board/components/Cell/CellPure.tsx +5 -68
- package/src/components/Board/components/index.ts +1 -0
- package/src/components/Board/hooks/useGrid.ts +16 -16
- package/src/components/Modal/Modal.module.scss +3 -1
- package/src/components/Rack/Rack.module.scss +2 -1
- package/src/components/Solver/Solver.module.scss +0 -5
- package/src/components/Solver/Solver.tsx +1 -1
- package/src/components/Tile/Tile.module.scss +0 -26
- package/src/components/Tile/Tile.tsx +5 -3
- package/src/components/Tile/TilePure.tsx +16 -18
- package/src/hooks/useLocalStorage/useLocalStorageBoard.ts +6 -3
- package/src/hooks/useLocalStorage/useLocalStorageConfigId.ts +6 -3
- package/src/hooks/useLocalStorage/useLocalStorageLocale.ts +6 -3
- package/src/hooks/useLocalStorage/useLocalStorageRack.ts +6 -3
- package/src/modals/SettingsModal/components/ConfigSetting/ConfigSetting.module.scss +1 -1
- package/src/modals/SettingsModal/components/LocaleSetting/LocaleSetting.module.scss +2 -2
- package/src/parameters/index.ts +5 -3
- package/src/styles/animations.scss +10 -0
- package/src/styles/global.scss +2 -2
- package/src/styles/mixins.scss +56 -1
- package/src/styles/variables.scss +5 -2
- package/.next/server/chunks/210.js +0 -122
- package/.next/server/chunks/676.js +0 -32
- package/.next/static/Cs23uxWG6AxS72F2yrjHu/_buildManifest.js +0 -1
- package/.next/static/chunks/main-f11614d8aa7ee555.js +0 -1
- package/.next/static/chunks/pages/_app-dcbbb823dc93a031.js +0 -28
- package/.next/static/chunks/pages/index-df1ff01aa82d2d4d.js +0 -1
- package/.next/static/chunks/webpack-59c5c889f52620d6.js +0 -1
- package/.next/static/css/bf2e969b88c4e3dd.css +0 -2
- /package/.next/static/{Cs23uxWG6AxS72F2yrjHu → 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
|
}
|