scrabble-solver 2.15.24 → 2.15.25
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/.claude/settings.local.json +12 -1
- package/.github/workflows/oxfmt.yml +2 -2
- package/.github/workflows/{eslint.yml → oxlint.yml} +2 -2
- package/.nx/workspace-data/file-map.json +1365 -1365
- package/.nx/workspace-data/lockfile-dependencies.hash +1 -1
- package/.nx/workspace-data/lockfile-nodes.hash +1 -1
- package/.nx/workspace-data/nx_files.nxt +0 -0
- package/.nx/workspace-data/parsed-lock-file.dependencies.json +335 -445
- package/.nx/workspace-data/parsed-lock-file.nodes.json +606 -489
- package/.nx/workspace-data/project-graph.json +915 -973
- package/.oxlintrc.json +316 -0
- package/README.md +6 -4
- package/lerna.json +1 -1
- package/package.json +12 -20
- package/packages/configs/build/games/literaki.d.ts +1 -1
- package/packages/configs/package.json +4 -4
- package/packages/constants/package.json +2 -2
- package/packages/dictionaries/package.json +5 -5
- package/packages/logger/package.json +2 -2
- package/packages/scrabble-solver/.next/BUILD_ID +1 -1
- package/packages/scrabble-solver/.next/build-manifest.json +7 -7
- package/packages/scrabble-solver/.next/cache/.previewinfo +1 -1
- package/packages/scrabble-solver/.next/cache/.rscinfo +1 -1
- package/packages/scrabble-solver/.next/cache/.tsbuildinfo +1 -1
- package/packages/scrabble-solver/.next/cache/webpack/client-production/0.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack.old +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack.old +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/server-production/0.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack.old +0 -0
- package/packages/scrabble-solver/.next/diagnostics/framework.json +1 -1
- package/packages/scrabble-solver/.next/prerender-manifest.json +4 -4
- package/packages/scrabble-solver/.next/routes-manifest.json +1 -1
- package/packages/scrabble-solver/.next/server/chunks/30.js +1 -1
- package/packages/scrabble-solver/.next/server/chunks/712.js +1 -1
- package/packages/scrabble-solver/.next/server/middleware-build-manifest.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/404.html +1 -1
- package/packages/scrabble-solver/.next/server/pages/500.html +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.html +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/not-found.html +1 -1
- package/packages/scrabble-solver/.next/static/chunks/{main-ca07941c8a544c9a.js → main-65a5015b46ca9827.js} +1 -1
- package/packages/scrabble-solver/.next/static/chunks/pages/{_app-369e5cb907606ad4.js → _app-c0932b8ca24945cb.js} +1 -1
- package/packages/scrabble-solver/.next/trace +21 -21
- package/packages/scrabble-solver/.next/trace-build +1 -1
- package/packages/scrabble-solver/package.json +10 -10
- package/packages/scrabble-solver/public/service-worker.js +1 -1
- package/packages/scrabble-solver/src/components/Modal/Modal.tsx +0 -1
- package/packages/scrabble-solver/src/hooks/useMedia.ts +0 -1
- package/packages/scrabble-solver/src/pages/_app.tsx +0 -1
- package/packages/scrabble-solver/src/parameters/index.ts +3 -3
- package/packages/scrabble-solver/src/sdk/fetchJson.ts +3 -7
- package/packages/scrabble-solver/src/service-worker/index.ts +0 -1
- package/packages/scrabble-solver/src/service-worker/routeSolveRequests.ts +18 -12
- package/packages/scrabble-solver/src/state/board/slice.ts +6 -4
- package/packages/scrabble-solver/src/state/sagas.ts +1 -2
- package/packages/scrabble-solver/tsconfig.json +0 -1
- package/packages/scrabble-solver/tsconfig.tsbuildinfo +1 -1
- package/packages/solver/build/fillPattern.d.ts +1 -3
- package/packages/solver/package.json +6 -6
- package/packages/types/build/Result.d.ts +1 -1
- package/packages/types/package.json +3 -3
- package/packages/word-definitions/build/languages/english.js +1 -3
- package/packages/word-definitions/package.json +3 -3
- package/packages/word-definitions/src/languages/english.ts +0 -1
- package/packages/word-lists/package.json +3 -3
- package/tsconfig.jest.json +0 -1
- package/tsconfig.json +1 -0
- package/eslint.config.mjs +0 -722
- /package/packages/scrabble-solver/.next/static/{f_g0t0jBAscXxDrNYOuV0 → FDUqldlsD7FXe6iWhIJmu}/_buildManifest.js +0 -0
- /package/packages/scrabble-solver/.next/static/{f_g0t0jBAscXxDrNYOuV0 → FDUqldlsD7FXe6iWhIJmu}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { type Trie } from '@kamilmielnik/trie';
|
|
2
2
|
import { type Config, type Pattern, type Tile } from '@scrabble-solver/types';
|
|
3
3
|
export declare const fillPattern: (trie: Trie, config: Config, pattern: Pattern, tiles: Tile[]) => Pattern[];
|
|
4
|
-
export declare const fillPatternRecursive: (
|
|
5
|
-
/** gets mutated when this function is called */
|
|
6
|
-
results: Pattern[], trie: Trie, config: Config, pattern: Pattern, word: string, tiles: Tile[]) => void;
|
|
4
|
+
export declare const fillPatternRecursive: (results: Pattern[], trie: Trie, config: Config, pattern: Pattern, word: string, tiles: Tile[]) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/solver",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.25",
|
|
4
4
|
"description": "Scrabble Solver 2 - Solver",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://scrabble-solver.org",
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "
|
|
22
|
+
"build": "tsgo --project .",
|
|
23
23
|
"clean": "rimraf build/"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@kamilmielnik/trie": "^4.0.0",
|
|
27
|
-
"@scrabble-solver/types": "^2.15.
|
|
27
|
+
"@scrabble-solver/types": "^2.15.25"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@scrabble-solver/configs": "^2.15.
|
|
31
|
-
"@scrabble-solver/constants": "^2.15.
|
|
32
|
-
"@scrabble-solver/dictionaries": "^2.15.
|
|
30
|
+
"@scrabble-solver/configs": "^2.15.25",
|
|
31
|
+
"@scrabble-solver/constants": "^2.15.25",
|
|
32
|
+
"@scrabble-solver/dictionaries": "^2.15.25"
|
|
33
33
|
},
|
|
34
34
|
"gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
|
|
35
35
|
}
|
|
@@ -18,7 +18,7 @@ export declare class Result {
|
|
|
18
18
|
readonly word: string;
|
|
19
19
|
readonly words: string[];
|
|
20
20
|
readonly wordsCount: number;
|
|
21
|
-
constructor({ cells, id, collisions, points
|
|
21
|
+
constructor({ cells, id, collisions, points }: {
|
|
22
22
|
cells: Cell[];
|
|
23
23
|
id: number;
|
|
24
24
|
collisions: Collision[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/types",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.25",
|
|
4
4
|
"description": "Scrabble Solver 2 - Types",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://scrabble-solver.org",
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "
|
|
22
|
+
"build": "tsgo --project .",
|
|
23
23
|
"clean": "rimraf build/"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@scrabble-solver/constants": "^2.15.
|
|
26
|
+
"@scrabble-solver/constants": "^2.15.25"
|
|
27
27
|
},
|
|
28
28
|
"gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
|
|
29
29
|
}
|
|
@@ -3,9 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.parse = exports.crawl = void 0;
|
|
4
4
|
const cheerio_1 = require("cheerio");
|
|
5
5
|
const lib_1 = require("../lib");
|
|
6
|
-
const DOES_NOT_EXIST_MESSAGE =
|
|
7
|
-
// eslint-disable-next-line max-len
|
|
8
|
-
"The word you've entered isn't in the dictionary. Click on a spelling suggestion below or try again using the search bar above.";
|
|
6
|
+
const DOES_NOT_EXIST_MESSAGE = "The word you've entered isn't in the dictionary. Click on a spelling suggestion below or try again using the search bar above.";
|
|
9
7
|
const crawl = (word) => {
|
|
10
8
|
return (0, lib_1.request)({
|
|
11
9
|
protocol: 'https',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/word-definitions",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.25",
|
|
4
4
|
"description": "Scrabble Solver 2 - Word definitions",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://scrabble-solver.org",
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "
|
|
22
|
+
"build": "tsgo --project .",
|
|
23
23
|
"clean": "rimraf build/"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@scrabble-solver/types": "^2.15.
|
|
26
|
+
"@scrabble-solver/types": "^2.15.25",
|
|
27
27
|
"cheerio": "^1.2.0",
|
|
28
28
|
"follow-redirects": "^1.16.0",
|
|
29
29
|
"striptags": "^3.2.0"
|
|
@@ -4,7 +4,6 @@ import { request } from '../lib';
|
|
|
4
4
|
import type { ParsingResult } from '../types';
|
|
5
5
|
|
|
6
6
|
const DOES_NOT_EXIST_MESSAGE =
|
|
7
|
-
// eslint-disable-next-line max-len
|
|
8
7
|
"The word you've entered isn't in the dictionary. Click on a spelling suggestion below or try again using the search bar above.";
|
|
9
8
|
|
|
10
9
|
export const crawl = (word: string): Promise<string> => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/word-lists",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.25",
|
|
4
4
|
"description": "Scrabble Solver 2 - Word lists",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://scrabble-solver.org",
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "
|
|
22
|
+
"build": "tsgo --project .",
|
|
23
23
|
"clean": "rimraf build/"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@scrabble-solver/types": "^2.15.
|
|
26
|
+
"@scrabble-solver/types": "^2.15.25",
|
|
27
27
|
"cheerio": "^1.2.0",
|
|
28
28
|
"follow-redirects": "^1.16.0",
|
|
29
29
|
"transliteration": "^2.6.1",
|
package/tsconfig.jest.json
CHANGED