scrabble-solver 2.18.6 → 2.18.7

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.
Files changed (78) hide show
  1. package/.github/workflows/deploy.yml +17 -13
  2. package/.nx/workspace-data/d/server-process.json +2 -2
  3. package/.nx/workspace-data/file-map.json +1611 -1600
  4. package/.nx/workspace-data/lockfile-dependencies.json +932 -992
  5. package/.nx/workspace-data/lockfile-nodes.json +1467 -2043
  6. package/.nx/workspace-data/nx_files_v2.nxt +0 -0
  7. package/.nx/workspace-data/project-graph.json +2510 -3161
  8. package/README.md +7 -1
  9. package/bun.lock +373 -712
  10. package/e2e/bugs/461-regexp-highlight.spec.ts +33 -0
  11. package/lerna.json +1 -1
  12. package/package.json +9 -9
  13. package/packages/configs/package.json +3 -3
  14. package/packages/constants/package.json +1 -1
  15. package/packages/dictionaries/package.json +4 -4
  16. package/packages/logger/package.json +1 -1
  17. package/packages/scrabble-solver/.next/BUILD_ID +1 -1
  18. package/packages/scrabble-solver/.next/build-manifest.json +17 -17
  19. package/packages/scrabble-solver/.next/cache/.previewinfo +1 -1
  20. package/packages/scrabble-solver/.next/cache/.rscinfo +1 -1
  21. package/packages/scrabble-solver/.next/cache/.tsbuildinfo +1 -1
  22. package/packages/scrabble-solver/.next/cache/webpack/client-production/0.pack +2 -2
  23. package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack +0 -0
  24. package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack.old +0 -0
  25. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack +0 -0
  26. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack.old +0 -0
  27. package/packages/scrabble-solver/.next/cache/webpack/server-production/0.pack +0 -0
  28. package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack +0 -0
  29. package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack.old +0 -0
  30. package/packages/scrabble-solver/.next/diagnostics/framework.json +1 -1
  31. package/packages/scrabble-solver/.next/prerender-manifest.json +4 -4
  32. package/packages/scrabble-solver/.next/react-loadable-manifest.json +7 -7
  33. package/packages/scrabble-solver/.next/routes-manifest.json +1 -1
  34. package/packages/scrabble-solver/.next/server/chunks/30.js +1 -1
  35. package/packages/scrabble-solver/.next/server/chunks/671.js +1 -1
  36. package/packages/scrabble-solver/.next/server/chunks/961.js +1 -1
  37. package/packages/scrabble-solver/.next/server/middleware-build-manifest.js +1 -1
  38. package/packages/scrabble-solver/.next/server/middleware-react-loadable-manifest.js +1 -1
  39. package/packages/scrabble-solver/.next/server/pages/404.html +1 -1
  40. package/packages/scrabble-solver/.next/server/pages/500.html +1 -1
  41. package/packages/scrabble-solver/.next/server/pages/index.html +1 -1
  42. package/packages/scrabble-solver/.next/server/pages/index.js +2 -2
  43. package/packages/scrabble-solver/.next/server/pages/index.js.nft.json +1 -1
  44. package/packages/scrabble-solver/.next/server/pages/index.json +1 -1
  45. package/packages/scrabble-solver/.next/server/pages/not-found.html +1 -1
  46. package/packages/scrabble-solver/.next/server/pages-manifest.json +1 -1
  47. package/packages/scrabble-solver/.next/server/preview-props.json +3 -3
  48. package/packages/scrabble-solver/.next/server/route-cache/PAGES/8a5edab282632443219e051e4ade2d1d5bbc671c781051bf1437897cbdfea0f1/$/index.html +1 -1
  49. package/packages/scrabble-solver/.next/server/route-cache/PAGES/8a5edab282632443219e051e4ade2d1d5bbc671c781051bf1437897cbdfea0f1/$/index.json +1 -1
  50. package/packages/scrabble-solver/.next/server/route-cache/PAGES/8a5edab282632443219e051e4ade2d1d5bbc671c781051bf1437897cbdfea0f1/$/index.meta +1 -1
  51. package/packages/scrabble-solver/.next/static/{3Gq7FQIRlitT1llwNwhr2 → Ghzpowf46w8Go2QM0XsYm}/_buildManifest.js +1 -1
  52. package/packages/scrabble-solver/.next/static/chunks/{744.b06c9a3de4a1d877.js → 363.1e1dca73189c1b3e.js} +1 -1
  53. package/packages/scrabble-solver/.next/static/chunks/{363.cec65b1f9668a75e.js → 601.32e35cfa23379a43.js} +1 -1
  54. package/packages/scrabble-solver/.next/static/chunks/693.1f53805be6ad36d1.js +1 -0
  55. package/packages/scrabble-solver/.next/static/chunks/744-65c858e61915ae87.js +3 -0
  56. package/packages/scrabble-solver/.next/static/chunks/{framework-0cd78dbcb5962d50.js → framework-86d3b250d278cea9.js} +1 -1
  57. package/packages/scrabble-solver/.next/static/chunks/{main-1b24c44d79c86b6e.js → main-1cbcb557c6b1777d.js} +1 -1
  58. package/packages/scrabble-solver/.next/static/chunks/pages/{_app-a32e0cf53e276591.js → _app-7a211db854399bc6.js} +1 -1
  59. package/packages/scrabble-solver/.next/static/chunks/pages/index-cb6ead85a37f9022.js +1 -0
  60. package/packages/scrabble-solver/.next/static/chunks/{webpack-411457e3de3a41ad.js → webpack-315b7d774c197ad3.js} +1 -1
  61. package/packages/scrabble-solver/.next/trace +36 -36
  62. package/packages/scrabble-solver/.next/trace-build +1 -1
  63. package/packages/scrabble-solver/package.json +15 -16
  64. package/packages/scrabble-solver/public/service-worker.js +1 -1
  65. package/packages/scrabble-solver/src/components/Results/Result.tsx +6 -1
  66. package/packages/scrabble-solver/src/lib/createHighlightWords.test.ts +13 -0
  67. package/packages/scrabble-solver/src/lib/createHighlightWords.ts +9 -0
  68. package/packages/scrabble-solver/src/modals/WordsModal/components/WordsTable/WordRow.tsx +6 -1
  69. package/packages/scrabble-solver/tsconfig.tsbuildinfo +1 -1
  70. package/packages/solver/package.json +5 -5
  71. package/packages/types/package.json +2 -2
  72. package/packages/word-definitions/package.json +2 -2
  73. package/packages/word-lists/package.json +3 -3
  74. package/playwright-report/index.html +1 -1
  75. package/packages/scrabble-solver/.next/static/chunks/101-bb2fe4023bf9f5a4.js +0 -3
  76. package/packages/scrabble-solver/.next/static/chunks/693.d295da7c7b873986.js +0 -1
  77. package/packages/scrabble-solver/.next/static/chunks/pages/index-357a0f88e80ff0b0.js +0 -1
  78. /package/packages/scrabble-solver/.next/static/{3Gq7FQIRlitT1llwNwhr2 → Ghzpowf46w8Go2QM0XsYm}/_ssgManifest.js +0 -0
@@ -0,0 +1,33 @@
1
+ import { expect, test } from '@playwright/test';
2
+
3
+ import * as Lib from '../lib';
4
+
5
+ /*
6
+ * @see https://github.com/kamilmielnik/scrabble-solver/issues/461
7
+ */
8
+ test.describe('#461 - Highlighting ignores regular expressions in filters', () => {
9
+ test('highlights the regular expression matches in the words table', async ({ page }) => {
10
+ await Lib.visitIndex(page);
11
+ await Lib.typeBoard(page, 'cat', 'horizontal', { x: 3, y: 3 });
12
+ await Lib.typeBoard(page, 'dog', 'horizontal', { x: 3, y: 5 });
13
+ await Lib.openWordsModal(page);
14
+
15
+ await Lib.getWordsFilterInput(page).pressSequentially('^d|t$');
16
+
17
+ await Lib.assertWord(page, 0, 'cat');
18
+ await Lib.assertWord(page, 1, 'dog');
19
+ await expect(Lib.getWord(page, 0).locator('mark')).toHaveText('t');
20
+ await expect(Lib.getWord(page, 1).locator('mark')).toHaveText('d');
21
+ });
22
+
23
+ test('highlights the regular expression matches in the results table', async ({ page }) => {
24
+ await Lib.visitIndex(page);
25
+ await Lib.typeBoard(page, 'i', 'horizontal', { x: 7, y: 7 });
26
+ await Lib.typeRack(page, 'q');
27
+ await Lib.solve(page);
28
+
29
+ await Lib.getResultsFilterInput(page).pressSequentially('^q');
30
+
31
+ await expect(Lib.getResult(page, 0).locator('mark')).toHaveText('q');
32
+ });
33
+ });
package/lerna.json CHANGED
@@ -6,6 +6,6 @@
6
6
  "access": "public"
7
7
  },
8
8
  "tagVersionPrefix": "",
9
- "version": "2.18.6",
9
+ "version": "2.18.7",
10
10
  "$schema": "node_modules/lerna/schemas/lerna-schema.json"
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scrabble-solver",
3
- "version": "2.18.6",
3
+ "version": "2.18.7",
4
4
  "description": "Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Crossplay, Literaki, Kelimelik, and Wyrazy. Quickly find the top-scoring words using the given board and tiles.",
5
5
  "keywords": [
6
6
  "scrabble",
@@ -80,23 +80,23 @@
80
80
  "packages/scrabble-solver"
81
81
  ],
82
82
  "dependencies": {
83
- "@scrabble-solver/scrabble-solver": "2.18.6",
83
+ "@scrabble-solver/scrabble-solver": "2.18.7",
84
84
  "open-cli": "9.0.0",
85
85
  "wait-on": "9.5.1"
86
86
  },
87
87
  "devDependencies": {
88
- "@playwright/test": "1.64.0",
89
- "@types/bun": "1.4.2",
90
- "@types/node": "26.6.4",
88
+ "@playwright/test": "1.64.1",
89
+ "@types/bun": "1.4.3",
90
+ "@types/node": "26.6.5",
91
91
  "eslint-import-resolver-typescript": "4.4.5",
92
92
  "eslint-plugin-import": "2.32.0",
93
93
  "eslint-plugin-playwright": "2.12.1",
94
94
  "eslint-plugin-react": "7.37.5",
95
- "lerna": "10.0.1",
95
+ "lerna": "10.1.1",
96
96
  "np": "12.1.1",
97
- "oxfmt": "0.72.0",
98
- "oxlint": "1.87.0",
99
- "oxlint-tsgolint": "7.0.2003",
97
+ "oxfmt": "0.74.0",
98
+ "oxlint": "1.89.0",
99
+ "oxlint-tsgolint": "7.0.2004",
100
100
  "rimraf": "6.1.3",
101
101
  "start-server-and-test": "3.0.13",
102
102
  "typescript": "7.0.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/configs",
3
- "version": "2.18.6",
3
+ "version": "2.18.7",
4
4
  "description": "Game and language configs for Scrabble Solver: board layouts, bonus squares, tile distributions, and points for 8 games and 9 locales.",
5
5
  "keywords": [
6
6
  "scrabble",
@@ -33,8 +33,8 @@
33
33
  "clean": "rimraf build/"
34
34
  },
35
35
  "dependencies": {
36
- "@scrabble-solver/constants": "2.18.6",
37
- "@scrabble-solver/types": "2.18.6"
36
+ "@scrabble-solver/constants": "2.18.7",
37
+ "@scrabble-solver/types": "2.18.7"
38
38
  },
39
39
  "gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
40
40
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/constants",
3
- "version": "2.18.6",
3
+ "version": "2.18.7",
4
4
  "description": "Shared constants for Scrabble Solver (blank tile, bonus markers).",
5
5
  "keywords": [
6
6
  "scrabble",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/dictionaries",
3
- "version": "2.18.6",
3
+ "version": "2.18.7",
4
4
  "description": "Dictionary manager for Scrabble Solver: downloads per-locale word lists and serves them as GADDAG automata with layered disk/memory caching.",
5
5
  "keywords": [
6
6
  "scrabble",
@@ -38,9 +38,9 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@kamilmielnik/gaddag": "3.0.0",
41
- "@scrabble-solver/logger": "2.18.6",
42
- "@scrabble-solver/types": "2.18.6",
43
- "@scrabble-solver/word-lists": "2.18.6"
41
+ "@scrabble-solver/logger": "2.18.7",
42
+ "@scrabble-solver/types": "2.18.7",
43
+ "@scrabble-solver/word-lists": "2.18.7"
44
44
  },
45
45
  "gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
46
46
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/logger",
3
- "version": "2.18.6",
3
+ "version": "2.18.7",
4
4
  "description": "JSON-lines event log for Scrabble Solver, with CSV export.",
5
5
  "keywords": [
6
6
  "logger",
@@ -1 +1 @@
1
- 3Gq7FQIRlitT1llwNwhr2
1
+ Ghzpowf46w8Go2QM0XsYm
@@ -4,37 +4,37 @@
4
4
  ],
5
5
  "devFiles": [],
6
6
  "lowPriorityFiles": [
7
- "static/3Gq7FQIRlitT1llwNwhr2/_buildManifest.js",
8
- "static/3Gq7FQIRlitT1llwNwhr2/_ssgManifest.js"
7
+ "static/Ghzpowf46w8Go2QM0XsYm/_buildManifest.js",
8
+ "static/Ghzpowf46w8Go2QM0XsYm/_ssgManifest.js"
9
9
  ],
10
10
  "rootMainFiles": [],
11
11
  "rootMainFilesTree": {},
12
12
  "pages": {
13
13
  "/": [
14
- "static/chunks/webpack-411457e3de3a41ad.js",
15
- "static/chunks/framework-0cd78dbcb5962d50.js",
16
- "static/chunks/main-1b24c44d79c86b6e.js",
17
- "static/chunks/101-bb2fe4023bf9f5a4.js",
14
+ "static/chunks/webpack-315b7d774c197ad3.js",
15
+ "static/chunks/framework-86d3b250d278cea9.js",
16
+ "static/chunks/main-1cbcb557c6b1777d.js",
17
+ "static/chunks/744-65c858e61915ae87.js",
18
18
  "static/css/8b8087461767360a.css",
19
- "static/chunks/pages/index-357a0f88e80ff0b0.js"
19
+ "static/chunks/pages/index-cb6ead85a37f9022.js"
20
20
  ],
21
21
  "/_app": [
22
- "static/chunks/webpack-411457e3de3a41ad.js",
23
- "static/chunks/framework-0cd78dbcb5962d50.js",
24
- "static/chunks/main-1b24c44d79c86b6e.js",
22
+ "static/chunks/webpack-315b7d774c197ad3.js",
23
+ "static/chunks/framework-86d3b250d278cea9.js",
24
+ "static/chunks/main-1cbcb557c6b1777d.js",
25
25
  "static/css/4dbcacc1122ac6b9.css",
26
- "static/chunks/pages/_app-a32e0cf53e276591.js"
26
+ "static/chunks/pages/_app-7a211db854399bc6.js"
27
27
  ],
28
28
  "/_error": [
29
- "static/chunks/webpack-411457e3de3a41ad.js",
30
- "static/chunks/framework-0cd78dbcb5962d50.js",
31
- "static/chunks/main-1b24c44d79c86b6e.js",
29
+ "static/chunks/webpack-315b7d774c197ad3.js",
30
+ "static/chunks/framework-86d3b250d278cea9.js",
31
+ "static/chunks/main-1cbcb557c6b1777d.js",
32
32
  "static/chunks/pages/_error-f0290a98eb3ed0ec.js"
33
33
  ],
34
34
  "/not-found": [
35
- "static/chunks/webpack-411457e3de3a41ad.js",
36
- "static/chunks/framework-0cd78dbcb5962d50.js",
37
- "static/chunks/main-1b24c44d79c86b6e.js",
35
+ "static/chunks/webpack-315b7d774c197ad3.js",
36
+ "static/chunks/framework-86d3b250d278cea9.js",
37
+ "static/chunks/main-1cbcb557c6b1777d.js",
38
38
  "static/css/dee878eb64099d92.css",
39
39
  "static/chunks/pages/not-found-a59f9deeeff63d17.js"
40
40
  ]
@@ -1 +1 @@
1
- {"previewModeId":"d8e3fde4a1def90c109e48e7ad08ec6d","previewModeSigningKey":"bff4b04efbcb115b9bef67c39cc9ac0a3f3f2d4d87ce4bac263b860058c7238e","previewModeEncryptionKey":"49a118425018e86fdb052f75056343f1f1b6e4f963a071521a7184d951bedec1","expireAt":1792689885972}
1
+ {"previewModeId":"c354da5637d060f702ad855534a32098","previewModeSigningKey":"b67ac6262b868f15cdf7e4434a469c17c6451d23f5b4fee6edc736b74f5f9789","previewModeEncryptionKey":"a0928d60b5bd10db2349b2590a2e8ccb5649e0771ef78d633663a9c5855eed61","expireAt":1793742993713}
@@ -1 +1 @@
1
- {"encryption.key":"4dIZVngk6d4c7jX+6XqO33qf065x8Igp19bSZHrGqoU=","encryption.expire_at":1792689885970}
1
+ {"encryption.key":"mX1DCpoaDydLyq3xPwmH3sJQFPZONTc+Km15ABPq2lM=","encryption.expire_at":1793742993711}