@scrabble-solver/scrabble-solver 2.15.18 → 2.15.20

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 (90) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +16 -16
  3. package/.next/cache/.previewinfo +1 -1
  4. package/.next/cache/.rscinfo +1 -1
  5. package/.next/cache/.tsbuildinfo +1 -1
  6. package/.next/cache/webpack/client-production/0.pack +0 -0
  7. package/.next/cache/webpack/client-production/index.pack +0 -0
  8. package/.next/cache/webpack/client-production/index.pack.old +0 -0
  9. package/.next/cache/webpack/edge-server-production/index.pack +0 -0
  10. package/.next/cache/webpack/edge-server-production/index.pack.old +0 -0
  11. package/.next/cache/webpack/server-production/0.pack +0 -0
  12. package/.next/cache/webpack/server-production/index.pack +0 -0
  13. package/.next/cache/webpack/server-production/index.pack.old +0 -0
  14. package/.next/diagnostics/framework.json +1 -1
  15. package/.next/images-manifest.json +2 -0
  16. package/.next/next-minimal-server.js.nft.json +1 -1
  17. package/.next/next-server.js.nft.json +1 -1
  18. package/.next/prerender-manifest.json +4 -4
  19. package/.next/required-server-files.js +335 -0
  20. package/.next/required-server-files.json +24 -9
  21. package/.next/routes-manifest.json +3 -2
  22. package/.next/server/chunks/30.js +3 -3
  23. package/.next/server/chunks/318.js +3 -3
  24. package/.next/server/chunks/392.js +1 -1
  25. package/.next/server/chunks/671.js +1 -1
  26. package/.next/server/chunks/712.js +1 -1
  27. package/.next/server/chunks/791.js +3 -7
  28. package/.next/server/chunks/812.js +1 -1
  29. package/.next/server/middleware-build-manifest.js +1 -1
  30. package/.next/server/pages/404.html +1 -1
  31. package/.next/server/pages/500.html +1 -1
  32. package/.next/server/pages/_app.js.nft.json +1 -1
  33. package/.next/server/pages/_document.js.nft.json +1 -1
  34. package/.next/server/pages/_error.js.nft.json +1 -1
  35. package/.next/server/pages/api/dictionary/[locale]/[word].js +1 -1
  36. package/.next/server/pages/api/dictionary/[locale]/[word].js.nft.json +1 -1
  37. package/.next/server/pages/api/dictionary/[locale].js +1 -1
  38. package/.next/server/pages/api/dictionary/[locale].js.nft.json +1 -1
  39. package/.next/server/pages/api/solve.js +1 -1
  40. package/.next/server/pages/api/solve.js.nft.json +1 -1
  41. package/.next/server/pages/api/verify.js +1 -1
  42. package/.next/server/pages/api/verify.js.nft.json +1 -1
  43. package/.next/server/pages/api/visit.js +1 -1
  44. package/.next/server/pages/api/visit.js.nft.json +1 -1
  45. package/.next/server/pages/index.html +1 -1
  46. package/.next/server/pages/index.js.nft.json +1 -1
  47. package/.next/server/pages/index.json +1 -1
  48. package/.next/server/pages/not-found.html +1 -1
  49. package/.next/server/pages/not-found.js.nft.json +1 -1
  50. package/.next/server/webpack-api-runtime.js +1 -1
  51. package/.next/server/webpack-runtime.js +1 -1
  52. package/.next/static/chunks/framework-93e577820ffb186a.js +1 -0
  53. package/.next/static/chunks/main-f63f5bd5e9581250.js +5 -0
  54. package/.next/static/chunks/pages/_app-ac2ab0ef8f59ba92.js +3 -0
  55. package/.next/static/chunks/pages/{index-a23a3a272e535225.js → index-3be9ce84ae513eaa.js} +1 -1
  56. package/.next/static/chunks/webpack-49a83516933d4cf2.js +1 -0
  57. package/.next/static/ts_YBTGBs05Ixh5hd-ndp/_buildManifest.js +1 -0
  58. package/.next/trace +21 -21
  59. package/.next/trace-build +1 -1
  60. package/.next/types/cache-life.d.ts +145 -0
  61. package/.next/types/validator.ts +1 -1
  62. package/package.json +9 -9
  63. package/src/components/SeoMessage/SeoMessage.tsx +3 -3
  64. package/src/pages/_app.tsx +4 -2
  65. package/.next/dev/build-manifest.json +0 -31
  66. package/.next/dev/cache/webpack/server-development/0.pack.gz +0 -0
  67. package/.next/dev/cache/webpack/server-development/1.pack.gz +0 -0
  68. package/.next/dev/cache/webpack/server-development/index.pack.gz +0 -0
  69. package/.next/dev/cache/webpack/server-development/index.pack.gz.old +0 -0
  70. package/.next/dev/logs/next-development.log +0 -18246
  71. package/.next/dev/server/middleware-build-manifest.js +0 -32
  72. package/.next/dev/server/middleware-react-loadable-manifest.js +0 -1
  73. package/.next/dev/server/next-font-manifest.js +0 -1
  74. package/.next/dev/server/next-font-manifest.json +0 -1
  75. package/.next/dev/server/pages/_app.js +0 -3984
  76. package/.next/dev/server/pages/_error.js +0 -4028
  77. package/.next/dev/server/pages/index.js +0 -4663
  78. package/.next/dev/server/pages-manifest.json +0 -6
  79. package/.next/dev/server/webpack-runtime.js +0 -231
  80. package/.next/dev/static/chunks/pages/_app.js +0 -5022
  81. package/.next/dev/static/chunks/webpack.js +0 -1246
  82. package/.next/dev/static/development/_buildManifest.js +0 -1
  83. package/.next/dev/static/development/_ssgManifest.js +0 -1
  84. package/.next/static/ahy2Ds3MbuK7EyMMxPJE0/_buildManifest.js +0 -1
  85. package/.next/static/chunks/framework-b0eb9848ae080201.js +0 -1
  86. package/.next/static/chunks/main-c39f9bc6f9d4143e.js +0 -5
  87. package/.next/static/chunks/pages/_app-053ab31bfda72a9a.js +0 -3
  88. package/.next/static/chunks/webpack-06b4b4da58317e44.js +0 -1
  89. /package/.next/{dev/react-loadable-manifest.json → server/prefetch-hints.json} +0 -0
  90. /package/.next/static/{ahy2Ds3MbuK7EyMMxPJE0 → ts_YBTGBs05Ixh5hd-ndp}/_ssgManifest.js +0 -0
package/.next/trace-build CHANGED
@@ -1 +1 @@
1
- [{"name":"run-typescript","duration":1937660,"timestamp":5404747653,"id":13,"parentId":1,"tags":{},"startTime":1767301948751,"traceId":"30e4644cbd94722d"},{"name":"run-webpack","duration":6309897,"timestamp":5406687435,"id":15,"parentId":1,"tags":{},"startTime":1767301950691,"traceId":"30e4644cbd94722d"},{"name":"static-check","duration":176932,"timestamp":5413145237,"id":1996,"parentId":1,"tags":{},"startTime":1767301957149,"traceId":"30e4644cbd94722d"},{"name":"static-generation","duration":1022077,"timestamp":5413330541,"id":2015,"parentId":1,"tags":{},"startTime":1767301957334,"traceId":"30e4644cbd94722d"},{"name":"collect-build-traces","duration":4085899,"timestamp":5413322730,"id":2012,"parentId":1,"tags":{},"startTime":1767301957326,"traceId":"30e4644cbd94722d"},{"name":"telemetry-flush","duration":26,"timestamp":5417409764,"id":2027,"parentId":1,"tags":{},"startTime":1767301961413,"traceId":"30e4644cbd94722d"},{"name":"next-build","duration":12860685,"timestamp":5404549201,"id":1,"tags":{"buildMode":"default","version":"16.0.10","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1767301948552,"traceId":"30e4644cbd94722d"}]
1
+ [{"name":"run-typescript","duration":1740985,"timestamp":1159326779,"id":13,"parentId":1,"tags":{},"startTime":1775240804371,"traceId":"ee432187c720e092"},{"name":"run-webpack","duration":6000412,"timestamp":1161069927,"id":15,"parentId":1,"tags":{},"startTime":1775240806114,"traceId":"ee432187c720e092"},{"name":"static-check","duration":165375,"timestamp":1167131912,"id":2011,"parentId":1,"tags":{},"startTime":1775240812176,"traceId":"ee432187c720e092"},{"name":"static-generation","duration":840632,"timestamp":1167305115,"id":2029,"parentId":1,"tags":{},"startTime":1775240812349,"traceId":"ee432187c720e092"},{"name":"collect-build-traces","duration":3649459,"timestamp":1167297622,"id":2026,"parentId":1,"tags":{},"startTime":1775240812342,"traceId":"ee432187c720e092"},{"name":"telemetry-flush","duration":18,"timestamp":1170948166,"id":2041,"parentId":1,"tags":{},"startTime":1775240815993,"traceId":"ee432187c720e092"},{"name":"next-build","duration":11859309,"timestamp":1159088880,"id":1,"tags":{"buildMode":"default","version":"16.2.2","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1775240804133,"traceId":"ee432187c720e092"}]
@@ -0,0 +1,145 @@
1
+ // Type definitions for Next.js cacheLife configs
2
+
3
+ declare module 'next/cache' {
4
+ export { unstable_cache } from 'next/dist/server/web/spec-extension/unstable-cache'
5
+ export {
6
+ updateTag,
7
+ revalidateTag,
8
+ revalidatePath,
9
+ refresh,
10
+ } from 'next/dist/server/web/spec-extension/revalidate'
11
+ export { unstable_noStore } from 'next/dist/server/web/spec-extension/unstable-no-store'
12
+
13
+
14
+ /**
15
+ * Cache this `"use cache"` for a timespan defined by the `"default"` profile.
16
+ * ```
17
+ * stale: 300 seconds (5 minutes)
18
+ * revalidate: 900 seconds (15 minutes)
19
+ * expire: never
20
+ * ```
21
+ *
22
+ * This cache may be stale on clients for 5 minutes before checking with the server.
23
+ * If the server receives a new request after 15 minutes, start revalidating new values in the background.
24
+ * It lives for the maximum age of the server cache. If this entry has no traffic for a while, it may serve an old value the next request.
25
+ */
26
+ export function cacheLife(profile: "default"): void
27
+
28
+ /**
29
+ * Cache this `"use cache"` for a timespan defined by the `"seconds"` profile.
30
+ * ```
31
+ * stale: 30 seconds
32
+ * revalidate: 1 seconds
33
+ * expire: 60 seconds (1 minute)
34
+ * ```
35
+ *
36
+ * This cache may be stale on clients for 30 seconds before checking with the server.
37
+ * If the server receives a new request after 1 seconds, start revalidating new values in the background.
38
+ * If this entry has no traffic for 1 minute it will expire. The next request will recompute it.
39
+ */
40
+ export function cacheLife(profile: "seconds"): void
41
+
42
+ /**
43
+ * Cache this `"use cache"` for a timespan defined by the `"minutes"` profile.
44
+ * ```
45
+ * stale: 300 seconds (5 minutes)
46
+ * revalidate: 60 seconds (1 minute)
47
+ * expire: 3600 seconds (1 hour)
48
+ * ```
49
+ *
50
+ * This cache may be stale on clients for 5 minutes before checking with the server.
51
+ * If the server receives a new request after 1 minute, start revalidating new values in the background.
52
+ * If this entry has no traffic for 1 hour it will expire. The next request will recompute it.
53
+ */
54
+ export function cacheLife(profile: "minutes"): void
55
+
56
+ /**
57
+ * Cache this `"use cache"` for a timespan defined by the `"hours"` profile.
58
+ * ```
59
+ * stale: 300 seconds (5 minutes)
60
+ * revalidate: 3600 seconds (1 hour)
61
+ * expire: 86400 seconds (1 day)
62
+ * ```
63
+ *
64
+ * This cache may be stale on clients for 5 minutes before checking with the server.
65
+ * If the server receives a new request after 1 hour, start revalidating new values in the background.
66
+ * If this entry has no traffic for 1 day it will expire. The next request will recompute it.
67
+ */
68
+ export function cacheLife(profile: "hours"): void
69
+
70
+ /**
71
+ * Cache this `"use cache"` for a timespan defined by the `"days"` profile.
72
+ * ```
73
+ * stale: 300 seconds (5 minutes)
74
+ * revalidate: 86400 seconds (1 day)
75
+ * expire: 604800 seconds (1 week)
76
+ * ```
77
+ *
78
+ * This cache may be stale on clients for 5 minutes before checking with the server.
79
+ * If the server receives a new request after 1 day, start revalidating new values in the background.
80
+ * If this entry has no traffic for 1 week it will expire. The next request will recompute it.
81
+ */
82
+ export function cacheLife(profile: "days"): void
83
+
84
+ /**
85
+ * Cache this `"use cache"` for a timespan defined by the `"weeks"` profile.
86
+ * ```
87
+ * stale: 300 seconds (5 minutes)
88
+ * revalidate: 604800 seconds (1 week)
89
+ * expire: 2592000 seconds (1 month)
90
+ * ```
91
+ *
92
+ * This cache may be stale on clients for 5 minutes before checking with the server.
93
+ * If the server receives a new request after 1 week, start revalidating new values in the background.
94
+ * If this entry has no traffic for 1 month it will expire. The next request will recompute it.
95
+ */
96
+ export function cacheLife(profile: "weeks"): void
97
+
98
+ /**
99
+ * Cache this `"use cache"` for a timespan defined by the `"max"` profile.
100
+ * ```
101
+ * stale: 300 seconds (5 minutes)
102
+ * revalidate: 2592000 seconds (1 month)
103
+ * expire: 31536000 seconds (365 days)
104
+ * ```
105
+ *
106
+ * This cache may be stale on clients for 5 minutes before checking with the server.
107
+ * If the server receives a new request after 1 month, start revalidating new values in the background.
108
+ * If this entry has no traffic for 365 days it will expire. The next request will recompute it.
109
+ */
110
+ export function cacheLife(profile: "max"): void
111
+
112
+ /**
113
+ * Cache this `"use cache"` using a custom timespan.
114
+ * ```
115
+ * stale: ... // seconds
116
+ * revalidate: ... // seconds
117
+ * expire: ... // seconds
118
+ * ```
119
+ *
120
+ * This is similar to Cache-Control: max-age=`stale`,s-max-age=`revalidate`,stale-while-revalidate=`expire-revalidate`
121
+ *
122
+ * If a value is left out, the lowest of other cacheLife() calls or the default, is used instead.
123
+ */
124
+ export function cacheLife(profile: {
125
+ /**
126
+ * This cache may be stale on clients for ... seconds before checking with the server.
127
+ */
128
+ stale?: number,
129
+ /**
130
+ * If the server receives a new request after ... seconds, start revalidating new values in the background.
131
+ */
132
+ revalidate?: number,
133
+ /**
134
+ * If this entry has no traffic for ... seconds it will expire. The next request will recompute it.
135
+ */
136
+ expire?: number
137
+ }): void
138
+
139
+
140
+ import { cacheTag } from 'next/dist/server/use-cache/cache-tag'
141
+ export { cacheTag }
142
+
143
+ export const unstable_cacheTag: typeof cacheTag
144
+ export const unstable_cacheLife: typeof cacheLife
145
+ }
@@ -26,7 +26,7 @@ type ApiRouteConfig = {
26
26
  default: (req: any, res: any) => ReturnType<NextApiHandler>
27
27
  config?: {
28
28
  api?: {
29
- bodyParser?: boolean | { sizeLimit?: string }
29
+ bodyParser?: boolean | { sizeLimit?: number | string }
30
30
  responseLimit?: string | number | boolean
31
31
  externalResolver?: boolean
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/scrabble-solver",
3
- "version": "2.15.18",
3
+ "version": "2.15.20",
4
4
  "description": "Scrabble Solver 2 - App",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,13 +28,13 @@
28
28
  "@floating-ui/react": "^0.27.16",
29
29
  "@kamilmielnik/trie": "^4.0.0",
30
30
  "@reduxjs/toolkit": "^2.11.1",
31
- "@scrabble-solver/configs": "^2.15.18",
32
- "@scrabble-solver/constants": "^2.15.18",
33
- "@scrabble-solver/dictionaries": "^2.15.18",
34
- "@scrabble-solver/logger": "^2.15.18",
35
- "@scrabble-solver/solver": "^2.15.18",
36
- "@scrabble-solver/types": "^2.15.18",
37
- "@scrabble-solver/word-definitions": "^2.15.18",
31
+ "@scrabble-solver/configs": "^2.15.20",
32
+ "@scrabble-solver/constants": "^2.15.20",
33
+ "@scrabble-solver/dictionaries": "^2.15.20",
34
+ "@scrabble-solver/logger": "^2.15.20",
35
+ "@scrabble-solver/solver": "^2.15.20",
36
+ "@scrabble-solver/types": "^2.15.20",
37
+ "@scrabble-solver/word-definitions": "^2.15.20",
38
38
  "classnames": "^2.5.1",
39
39
  "env-cmd": "^11.0.0",
40
40
  "include-media": "^2.0.0",
@@ -69,5 +69,5 @@
69
69
  "@types/redux": "^3.6.31",
70
70
  "sass": "^1.96.0"
71
71
  },
72
- "gitHead": "03fdab6c4403b431991e88b00e17d00ef4b3c5ab"
72
+ "gitHead": "ed42de930892fd7c9d56fccb86f56f6a1d849cf8"
73
73
  }
@@ -11,8 +11,8 @@ const INVISIBLE_STYLE: CSSProperties = {
11
11
  export const SeoMessage: FunctionComponent = () => (
12
12
  <p style={INVISIBLE_STYLE}>
13
13
  Scrabble Solver 2 is a free and open-source analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter
14
- League, Literaki, and Kelimelik. Quickly find top scoring words using given letters and board state. Available in
15
- English, French, German, Persian, Polish, Romanian, Spanish, and Turkish. Source code is available on GitHub -
16
- contributions are welcome!
14
+ League, Crossplay, Literaki, and Kelimelik. Quickly find top scoring words using given letters and board state.
15
+ Available in English, French, German, Persian, Polish, Romanian, Spanish, and Turkish. Source code is available on
16
+ GitHub - contributions are welcome!
17
17
  </p>
18
18
  );
@@ -11,7 +11,7 @@ import '../styles/global.scss';
11
11
 
12
12
  const DESCRIPTION =
13
13
  // eslint-disable-next-line max-len
14
- 'Scrabble Solver 2 - Free and open-source analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League & Literaki. Quickly find top scoring words using given letters and board state. Available in English, French, German, Persian, Polish, Romanian, Spanish, and Turkish.';
14
+ 'Scrabble Solver 2 - Free and open-source analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Crossplay, Literaki and Kelimelik. Quickly find top scoring words using given letters and board state. Available in English, French, German, Persian, Polish, Romanian, Spanish, and Turkish.';
15
15
 
16
16
  const KEYWORDS = [
17
17
  'Scrabble Solver',
@@ -21,6 +21,8 @@ const KEYWORDS = [
21
21
  'Super Scrabble',
22
22
  'Kelimelik',
23
23
  'Letter League',
24
+ 'Crossplay',
25
+ 'NYT Crossplay',
24
26
  'Literaki',
25
27
  'Board',
26
28
  'Open-source',
@@ -57,7 +59,7 @@ const KEYWORDS = [
57
59
  const App: FunctionComponent<AppProps> = ({ Component, pageProps }) => (
58
60
  <>
59
61
  <Head>
60
- <title>Scrabble Solver 2 by Kamil Mielnik</title>
62
+ <title>Scrabble Solver 2</title>
61
63
  <meta charSet="utf-8" />
62
64
  <meta name="author" content="Kamil Mielnik" />
63
65
  <meta name="description" content={DESCRIPTION} />
@@ -1,31 +0,0 @@
1
- {
2
- "polyfillFiles": [
3
- "static/chunks/polyfills.js"
4
- ],
5
- "devFiles": [
6
- "static/chunks/react-refresh.js"
7
- ],
8
- "lowPriorityFiles": [
9
- "static/development/_buildManifest.js",
10
- "static/development/_ssgManifest.js"
11
- ],
12
- "rootMainFiles": [],
13
- "rootMainFilesTree": {},
14
- "pages": {
15
- "/": [
16
- "static/chunks/webpack.js",
17
- "static/chunks/main.js",
18
- "static/chunks/pages/index.js"
19
- ],
20
- "/_app": [
21
- "static/chunks/webpack.js",
22
- "static/chunks/main.js",
23
- "static/chunks/pages/_app.js"
24
- ],
25
- "/_error": [
26
- "static/chunks/webpack.js",
27
- "static/chunks/main.js",
28
- "static/chunks/pages/_error.js"
29
- ]
30
- }
31
- }