@scrabble-solver/scrabble-solver 2.15.19 → 2.15.21

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 (68) 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 +21 -6
  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/671.js +1 -1
  25. package/.next/server/chunks/712.js +1 -1
  26. package/.next/server/chunks/791.js +3 -7
  27. package/.next/server/middleware-build-manifest.js +1 -1
  28. package/.next/server/pages/404.html +1 -1
  29. package/.next/server/pages/500.html +1 -1
  30. package/.next/server/pages/_app.js.nft.json +1 -1
  31. package/.next/server/pages/_document.js.nft.json +1 -1
  32. package/.next/server/pages/_error.js.nft.json +1 -1
  33. package/.next/server/pages/api/dictionary/[locale]/[word].js +1 -1
  34. package/.next/server/pages/api/dictionary/[locale]/[word].js.nft.json +1 -1
  35. package/.next/server/pages/api/dictionary/[locale].js +1 -1
  36. package/.next/server/pages/api/dictionary/[locale].js.nft.json +1 -1
  37. package/.next/server/pages/api/solve.js +1 -1
  38. package/.next/server/pages/api/solve.js.nft.json +1 -1
  39. package/.next/server/pages/api/verify.js +1 -1
  40. package/.next/server/pages/api/verify.js.nft.json +1 -1
  41. package/.next/server/pages/api/visit.js +1 -1
  42. package/.next/server/pages/api/visit.js.nft.json +1 -1
  43. package/.next/server/pages/index.html +1 -1
  44. package/.next/server/pages/index.js.nft.json +1 -1
  45. package/.next/server/pages/index.json +1 -1
  46. package/.next/server/pages/not-found.html +1 -1
  47. package/.next/server/pages-manifest.json +1 -1
  48. package/.next/server/prefetch-hints.json +1 -0
  49. package/.next/server/webpack-api-runtime.js +1 -1
  50. package/.next/server/webpack-runtime.js +1 -1
  51. package/.next/static/8q_9JlEMMcIoT2TpStZYx/_buildManifest.js +1 -0
  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/trace +21 -21
  58. package/.next/trace-build +1 -1
  59. package/.next/types/cache-life.d.ts +145 -0
  60. package/.next/types/validator.ts +1 -1
  61. package/package.json +9 -9
  62. package/src/pages/_app.tsx +1 -1
  63. package/.next/static/Q1QbM4B3kGvZD0KCKFv6H/_buildManifest.js +0 -1
  64. package/.next/static/chunks/framework-b0eb9848ae080201.js +0 -1
  65. package/.next/static/chunks/main-c39f9bc6f9d4143e.js +0 -5
  66. package/.next/static/chunks/pages/_app-e333add311d76325.js +0 -3
  67. package/.next/static/chunks/webpack-06b4b4da58317e44.js +0 -1
  68. /package/.next/static/{Q1QbM4B3kGvZD0KCKFv6H → 8q_9JlEMMcIoT2TpStZYx}/_ssgManifest.js +0 -0
package/.next/trace-build CHANGED
@@ -1 +1 @@
1
- [{"name":"run-typescript","duration":1728960,"timestamp":1220189609,"id":13,"parentId":1,"tags":{},"startTime":1769965308191,"traceId":"9174845eb6d0c50c"},{"name":"run-webpack","duration":5920136,"timestamp":1221920373,"id":15,"parentId":1,"tags":{},"startTime":1769965309922,"traceId":"9174845eb6d0c50c"},{"name":"static-check","duration":179471,"timestamp":1228007816,"id":2000,"parentId":1,"tags":{},"startTime":1769965316010,"traceId":"9174845eb6d0c50c"},{"name":"static-generation","duration":988693,"timestamp":1228197586,"id":2019,"parentId":1,"tags":{},"startTime":1769965316199,"traceId":"9174845eb6d0c50c"},{"name":"collect-build-traces","duration":3616250,"timestamp":1228187957,"id":2016,"parentId":1,"tags":{},"startTime":1769965316190,"traceId":"9174845eb6d0c50c"},{"name":"telemetry-flush","duration":18,"timestamp":1231805242,"id":2031,"parentId":1,"tags":{},"startTime":1769965319807,"traceId":"9174845eb6d0c50c"},{"name":"next-build","duration":11812719,"timestamp":1219992543,"id":1,"tags":{"buildMode":"default","version":"16.0.10","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1769965307994,"traceId":"9174845eb6d0c50c"}]
1
+ [{"name":"run-typescript","duration":1730400,"timestamp":2793256903,"id":13,"parentId":1,"tags":{},"startTime":1775242438301,"traceId":"e97b27e6c0eb60ec"},{"name":"run-webpack","duration":5983835,"timestamp":2794989610,"id":15,"parentId":1,"tags":{},"startTime":1775242440034,"traceId":"e97b27e6c0eb60ec"},{"name":"static-check","duration":166818,"timestamp":2801042702,"id":2011,"parentId":1,"tags":{},"startTime":1775242446087,"traceId":"e97b27e6c0eb60ec"},{"name":"static-generation","duration":817182,"timestamp":2801217087,"id":2029,"parentId":1,"tags":{},"startTime":1775242446261,"traceId":"e97b27e6c0eb60ec"},{"name":"collect-build-traces","duration":3570908,"timestamp":2801209841,"id":2026,"parentId":1,"tags":{},"startTime":1775242446254,"traceId":"e97b27e6c0eb60ec"},{"name":"telemetry-flush","duration":20,"timestamp":2804781801,"id":2041,"parentId":1,"tags":{},"startTime":1775242449826,"traceId":"e97b27e6c0eb60ec"},{"name":"next-build","duration":11769581,"timestamp":2793012244,"id":1,"tags":{"buildMode":"default","version":"16.2.2","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1775242438057,"traceId":"e97b27e6c0eb60ec"}]
@@ -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.19",
3
+ "version": "2.15.21",
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.19",
32
- "@scrabble-solver/constants": "^2.15.19",
33
- "@scrabble-solver/dictionaries": "^2.15.19",
34
- "@scrabble-solver/logger": "^2.15.19",
35
- "@scrabble-solver/solver": "^2.15.19",
36
- "@scrabble-solver/types": "^2.15.19",
37
- "@scrabble-solver/word-definitions": "^2.15.19",
31
+ "@scrabble-solver/configs": "^2.15.21",
32
+ "@scrabble-solver/constants": "^2.15.21",
33
+ "@scrabble-solver/dictionaries": "^2.15.21",
34
+ "@scrabble-solver/logger": "^2.15.21",
35
+ "@scrabble-solver/solver": "^2.15.21",
36
+ "@scrabble-solver/types": "^2.15.21",
37
+ "@scrabble-solver/word-definitions": "^2.15.21",
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": "18958ba917535d53ffa0fc7e592a5c99e1309066"
72
+ "gitHead": "0bac5e768652a92a24dcfdb650aa43d02559f687"
73
73
  }
@@ -59,7 +59,7 @@ const KEYWORDS = [
59
59
  const App: FunctionComponent<AppProps> = ({ Component, pageProps }) => (
60
60
  <>
61
61
  <Head>
62
- <title>Scrabble Solver 2 by Kamil Mielnik</title>
62
+ <title>Scrabble Solver 2</title>
63
63
  <meta charSet="utf-8" />
64
64
  <meta name="author" content="Kamil Mielnik" />
65
65
  <meta name="description" content={DESCRIPTION} />
@@ -1 +0,0 @@
1
- self.__BUILD_MANIFEST=function(e,s,r){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:r,bitArray:[]},__routerFilterDynamic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:r,bitArray:[]},"/":["static/css/addf6fd4f75742d0.css","static/chunks/pages/index-a23a3a272e535225.js"],"/_error":["static/chunks/pages/_error-afeda7c5231b6c3c.js"],"/not-found":["static/chunks/pages/not-found-9e076427bad69d90.js"],sortedPages:["/","/_app","/_error","/not-found"]}}(0,0,NaN),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();