@kimuson/claude-code-viewer 0.2.3 → 0.3.0
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/README.md +0 -5
- package/dist/standalone/.next/BUILD_ID +1 -1
- package/dist/standalone/.next/app-build-manifest.json +17 -17
- package/dist/standalone/.next/app-path-routes-manifest.json +2 -2
- package/dist/standalone/.next/build-manifest.json +2 -2
- package/dist/standalone/.next/server/app/_not-found/page.js +1 -1
- package/dist/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/standalone/.next/server/app/api/[[...route]]/route.js +2 -2
- package/dist/standalone/.next/server/app/api/[[...route]]/route_client-reference-manifest.js +1 -1
- package/dist/standalone/.next/server/app/page.js +2 -2
- package/dist/standalone/.next/server/app/page.js.nft.json +1 -1
- package/dist/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/standalone/.next/server/app/projects/[projectId]/page.js +2 -2
- package/dist/standalone/.next/server/app/projects/[projectId]/page.js.nft.json +1 -1
- package/dist/standalone/.next/server/app/projects/[projectId]/page_client-reference-manifest.js +1 -1
- package/dist/standalone/.next/server/app/projects/[projectId]/sessions/[sessionId]/page.js +2 -2
- package/dist/standalone/.next/server/app/projects/[projectId]/sessions/[sessionId]/page.js.nft.json +1 -1
- package/dist/standalone/.next/server/app/projects/[projectId]/sessions/[sessionId]/page_client-reference-manifest.js +1 -1
- package/dist/standalone/.next/server/app/projects/page.js +1 -1
- package/dist/standalone/.next/server/app/projects/page.js.nft.json +1 -1
- package/dist/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/dist/standalone/.next/server/app-paths-manifest.json +2 -2
- package/dist/standalone/.next/server/chunks/216.js +5 -0
- package/dist/standalone/.next/server/chunks/440.js +5 -0
- package/dist/standalone/.next/server/chunks/725.js +5 -0
- package/dist/standalone/.next/server/chunks/744.js +5 -0
- package/dist/standalone/.next/server/chunks/791.js +1 -1
- package/dist/standalone/.next/server/chunks/8.js +9 -0
- package/dist/standalone/.next/server/chunks/837.js +1 -0
- package/dist/standalone/.next/server/chunks/842.js +9 -0
- package/dist/standalone/.next/server/chunks/866.js +1 -0
- package/dist/standalone/.next/server/chunks/880.js +1 -0
- package/dist/standalone/.next/server/chunks/921.js +1 -0
- package/dist/standalone/.next/server/chunks/946.js +1 -0
- package/dist/standalone/.next/server/pages/500.html +1 -1
- package/dist/standalone/.next/server/pages/_app/build-manifest.json +24 -0
- package/dist/standalone/.next/server/pages/_app/client-build-manifest.json +5 -0
- package/dist/standalone/.next/server/pages/_app/next-font-manifest.json +6 -0
- package/dist/standalone/.next/server/pages/_app/pages-manifest.json +3 -0
- package/dist/standalone/.next/server/pages/_app/react-loadable-manifest.json +1 -0
- package/dist/standalone/.next/server/pages/_app.js.map +5 -0
- package/dist/standalone/.next/server/pages/_document/next-font-manifest.json +6 -0
- package/dist/standalone/.next/server/pages/_document/pages-manifest.json +3 -0
- package/dist/standalone/.next/server/pages/_document/react-loadable-manifest.json +1 -0
- package/dist/standalone/.next/server/pages/_document.js.map +5 -0
- package/dist/standalone/.next/server/pages/_error/build-manifest.json +24 -0
- package/dist/standalone/.next/server/pages/_error/client-build-manifest.json +5 -0
- package/dist/standalone/.next/server/pages/_error/next-font-manifest.json +6 -0
- package/dist/standalone/.next/server/pages/_error/pages-manifest.json +3 -0
- package/dist/standalone/.next/server/pages/_error/react-loadable-manifest.json +1 -0
- package/dist/standalone/.next/server/pages/_error.js.map +5 -0
- package/dist/standalone/.next/static/-C_aw5qp4WRpZLxKvls_q/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/-C_aw5qp4WRpZLxKvls_q/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/23uvba8RlaxCaoa5OiBQP/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/23uvba8RlaxCaoa5OiBQP/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/7c2VjICJUWm7vUD2fAum8/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/7c2VjICJUWm7vUD2fAum8/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/9SDA_h7WDmmoFWPbps4Fn/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/9SDA_h7WDmmoFWPbps4Fn/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/Da8e6NLQq01CAFo8O13j6/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/Da8e6NLQq01CAFo8O13j6/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/GD7LQJ8gE1cW_fRed-j1C/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/GD7LQJ8gE1cW_fRed-j1C/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/H-5h51WEzU2ys-hWA4OUt/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/H-5h51WEzU2ys-hWA4OUt/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/L2hEa9LvG28lUDLLpdKW9/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/L2hEa9LvG28lUDLLpdKW9/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/O43uyF0ac2ZdNoZ1ZCnKf/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/O43uyF0ac2ZdNoZ1ZCnKf/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/PyI7qeky3k1jffXuSFrjs/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/PyI7qeky3k1jffXuSFrjs/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/WqxyAkkmDIRWMgidzO8Db/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/WqxyAkkmDIRWMgidzO8Db/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/ZeOFUJB_IZeb5OILHne1z/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/ZeOFUJB_IZeb5OILHne1z/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/chunks/105-a007546befae4563.js +1 -0
- package/dist/standalone/.next/static/chunks/185-711c14dc27c4bc61.js +1 -0
- package/dist/standalone/.next/static/chunks/24-ffb10c209d2142dc.js +1 -0
- package/dist/standalone/.next/static/chunks/281-795fb16f0b06afb8.js +1 -0
- package/dist/standalone/.next/static/chunks/498-00a3d5dd9837a27f.js +16 -0
- package/dist/standalone/.next/static/chunks/5-ab2b7527e79dd03f.js +1 -0
- package/dist/standalone/.next/static/chunks/5-c3f389512791ecb2.js +1 -0
- package/dist/standalone/.next/static/chunks/642-114376e98078b3eb.js +1 -0
- package/dist/standalone/.next/static/chunks/648-038543aa7a87beca.js +1 -0
- package/dist/standalone/.next/static/chunks/693-5c7ba2352f548e34.js +1 -0
- package/dist/standalone/.next/static/chunks/693-7e9bae18be0d9c6b.js +1 -0
- package/dist/standalone/.next/static/chunks/693-b3b27b94a68ea0bc.js +1 -0
- package/dist/standalone/.next/static/chunks/693-c42159ca627810b6.js +1 -0
- package/dist/standalone/.next/static/chunks/693-c4a72446cbe56a20.js +1 -0
- package/dist/standalone/.next/static/chunks/693-e95ee9bc25076ecd.js +1 -0
- package/dist/standalone/.next/static/chunks/693-e99fc5f3437674b1.js +1 -0
- package/dist/standalone/.next/static/chunks/719-ffb34f83f1a29ef9.js +16 -0
- package/dist/standalone/.next/static/chunks/888-4f8c8a1dbfc2f887.js +1 -0
- package/dist/standalone/.next/static/chunks/889-c7b6397ab2356461.js +16 -0
- package/dist/standalone/.next/static/chunks/[next]_entry_page-loader_ts_0196946f._.js +23 -0
- package/dist/standalone/.next/static/chunks/[next]_entry_page-loader_ts_0196946f._.js.map +6 -0
- package/dist/standalone/.next/static/chunks/[next]_entry_page-loader_ts_fa2ec1ea._.js +23 -0
- package/dist/standalone/.next/static/chunks/[next]_entry_page-loader_ts_fa2ec1ea._.js.map +6 -0
- package/dist/standalone/.next/static/chunks/[root-of-the-server]__092393de._.js +481 -0
- package/dist/standalone/.next/static/chunks/[root-of-the-server]__092393de._.js.map +6 -0
- package/dist/standalone/.next/static/chunks/[root-of-the-server]__45f039c3._.js +481 -0
- package/dist/standalone/.next/static/chunks/[root-of-the-server]__45f039c3._.js.map +6 -0
- package/dist/standalone/.next/static/chunks/app/layout-b6165efd2dda60fa.js +1 -0
- package/dist/standalone/.next/static/chunks/app/layout-dae4ccdd1163e4b9.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/page-1581695cbf18ca8f.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/page-2d759c1ef2fc1f3f.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/page-994bb53630390872.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/page-b31f4471e31e815a.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/page-d26a7b8eac784a60.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/sessions/[sessionId]/page-05274c303803f9e5.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/sessions/[sessionId]/page-0e763809b4b33824.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/sessions/[sessionId]/page-34e0546e8de7d155.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/sessions/[sessionId]/page-4df39886af6c75d0.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/sessions/[sessionId]/page-57ace7dee9bb2e7e.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/sessions/[sessionId]/page-613351836e4c27fb.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/sessions/[sessionId]/page-8bb6f1f7fa3696bc.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/sessions/[sessionId]/page-b77875877f3d28d0.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/[projectId]/sessions/[sessionId]/page-b87566287155f190.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/page-41b00f4e43f17357.js +1 -0
- package/dist/standalone/.next/static/chunks/app/projects/page-eb83c5ea58201eab.js +1 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_app_49bc0f6c.js +8 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_app_49bc0f6c.js.map +6 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_bbef2511._.js +2107 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_bbef2511._.js.map +26 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_c8a9b47e._.js +1942 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_c8a9b47e._.js.map +25 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_client_aca12300._.js +4030 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_client_aca12300._.js.map +45 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_compiled_950aaaf6._.js +2222 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_compiled_950aaaf6._.js.map +16 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_compiled_next-devtools_index_6fd12744.js +28954 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_compiled_next-devtools_index_6fd12744.js.map +6 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_shared_lib_754ee35b._.js +5164 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_shared_lib_754ee35b._.js.map +62 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_shared_lib_deb14b6a._.js +5455 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_dist_shared_lib_deb14b6a._.js.map +66 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_error_f5f4698d.js +8 -0
- package/dist/standalone/.next/static/chunks/b5d7d_next_error_f5f4698d.js.map +6 -0
- package/dist/standalone/.next/static/chunks/c8656_react-dom_b208eddd._.js +14182 -0
- package/dist/standalone/.next/static/chunks/c8656_react-dom_b208eddd._.js.map +9 -0
- package/dist/standalone/.next/static/chunks/node_modules__pnpm_7dc0a620._.js +1336 -0
- package/dist/standalone/.next/static/chunks/node_modules__pnpm_7dc0a620._.js.map +16 -0
- package/dist/standalone/.next/static/chunks/pages/_app.js +14 -0
- package/dist/standalone/.next/static/chunks/pages/_error.js +14 -0
- package/dist/standalone/.next/static/chunks/pages__app_2da965e7._.js +16 -0
- package/dist/standalone/.next/static/chunks/pages__app_5e653343._.js.map +10 -0
- package/dist/standalone/.next/static/chunks/pages__error_2da965e7._.js +16 -0
- package/dist/standalone/.next/static/chunks/pages__error_57ca05a1._.js.map +10 -0
- package/dist/standalone/.next/static/chunks/turbopack-pages__app_5e653343._.js +1823 -0
- package/dist/standalone/.next/static/chunks/turbopack-pages__error_57ca05a1._.js +1823 -0
- package/dist/standalone/.next/static/css/09df4ee87d7591ca.css +3 -0
- package/dist/standalone/.next/static/css/36303a8dc8947596.css +3 -0
- package/dist/standalone/.next/static/css/79abaac46cb1972c.css +3 -0
- package/dist/standalone/.next/static/css/b871907fe73de1d5.css +3 -0
- package/dist/standalone/.next/static/css/b911fd9edbcfba1e.css +3 -0
- package/dist/standalone/.next/static/gHcDMwTmj2EUNXWVFDlCZ/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/gHcDMwTmj2EUNXWVFDlCZ/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/gJy76OTvdPcbpfkijLfv_/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/gJy76OTvdPcbpfkijLfv_/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/lr9BjpI_yzrMDd09cVRXH/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/lr9BjpI_yzrMDd09cVRXH/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/p5lIOxOLNncFm4zH1-_ip/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/p5lIOxOLNncFm4zH1-_ip/_ssgManifest.js +1 -0
- package/dist/standalone/.next/static/zS7AFHKjuHulYMQ1_wDup/_buildManifest.js +1 -0
- package/dist/standalone/.next/static/zS7AFHKjuHulYMQ1_wDup/_ssgManifest.js +1 -0
- package/dist/standalone/package.json +8 -1
- package/package.json +8 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined,
|
|
2
|
+
"[next]/entry/page-loader.ts { PAGE => \"[project]/node_modules/.pnpm/next@15.5.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/error.js [client] (ecmascript)\" } [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
|
|
3
|
+
|
|
4
|
+
const PAGE_PATH = "/_error";
|
|
5
|
+
(window.__NEXT_P = window.__NEXT_P || []).push([
|
|
6
|
+
PAGE_PATH,
|
|
7
|
+
()=>{
|
|
8
|
+
return __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/error.js [client] (ecmascript)");
|
|
9
|
+
}
|
|
10
|
+
]);
|
|
11
|
+
// @ts-expect-error module.hot exists
|
|
12
|
+
if (module.hot) {
|
|
13
|
+
// @ts-expect-error module.hot exists
|
|
14
|
+
module.hot.dispose(function() {
|
|
15
|
+
window.__NEXT_P.push([
|
|
16
|
+
PAGE_PATH
|
|
17
|
+
]);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}),
|
|
21
|
+
]);
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=%5Bnext%5D_entry_page-loader_ts_0196946f._.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": [],
|
|
4
|
+
"sections": [
|
|
5
|
+
{"offset": {"line": 3, "column": 0}, "map": {"version":3,"sources":["turbopack:///[next]/entry/page-loader.ts"],"sourcesContent":["const PAGE_PATH = \"/_error\";\n\n/// <reference types=\"next/client\" />\n\n// inserted by rust code\ndeclare const PAGE_PATH: string\n\n // Adapted from https://github.com/vercel/next.js/blob/b7f9f1f98fc8ab602e84825105b5727272b72e7d/packages/next/src/build/webpack/loaders/next-client-pages-loader.ts\n;(window.__NEXT_P = window.__NEXT_P || []).push([\n PAGE_PATH,\n () => {\n return require('PAGE')\n },\n])\n// @ts-expect-error module.hot exists\nif (module.hot) {\n // @ts-expect-error module.hot exists\n module.hot.dispose(function () {\n window.__NEXT_P.push([PAGE_PATH])\n })\n}\n"],"names":[],"mappings":"AAAA,MAAM,YAAY;AAQjB,CAAC,OAAO,QAAQ,GAAG,OAAO,QAAQ,IAAI,EAAE,EAAE,IAAI,CAAC;IAC9C;IACA;QACE;IACF;CACD;AACD,qCAAqC;AACrC,IAAI,OAAO,GAAG,EAAE;IACd,qCAAqC;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC;QACjB,OAAO,QAAQ,CAAC,IAAI,CAAC;YAAC;SAAU;IAClC;AACF","ignoreList":[0],"debugId":null}}]
|
|
6
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined,
|
|
2
|
+
"[next]/entry/page-loader.ts { PAGE => \"[project]/node_modules/.pnpm/next@15.5.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/app.js [client] (ecmascript)\" } [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
|
|
3
|
+
|
|
4
|
+
const PAGE_PATH = "/_app";
|
|
5
|
+
(window.__NEXT_P = window.__NEXT_P || []).push([
|
|
6
|
+
PAGE_PATH,
|
|
7
|
+
()=>{
|
|
8
|
+
return __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/app.js [client] (ecmascript)");
|
|
9
|
+
}
|
|
10
|
+
]);
|
|
11
|
+
// @ts-expect-error module.hot exists
|
|
12
|
+
if (module.hot) {
|
|
13
|
+
// @ts-expect-error module.hot exists
|
|
14
|
+
module.hot.dispose(function() {
|
|
15
|
+
window.__NEXT_P.push([
|
|
16
|
+
PAGE_PATH
|
|
17
|
+
]);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}),
|
|
21
|
+
]);
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=%5Bnext%5D_entry_page-loader_ts_fa2ec1ea._.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": [],
|
|
4
|
+
"sections": [
|
|
5
|
+
{"offset": {"line": 3, "column": 0}, "map": {"version":3,"sources":["turbopack:///[next]/entry/page-loader.ts"],"sourcesContent":["const PAGE_PATH = \"/_app\";\n\n/// <reference types=\"next/client\" />\n\n// inserted by rust code\ndeclare const PAGE_PATH: string\n\n // Adapted from https://github.com/vercel/next.js/blob/b7f9f1f98fc8ab602e84825105b5727272b72e7d/packages/next/src/build/webpack/loaders/next-client-pages-loader.ts\n;(window.__NEXT_P = window.__NEXT_P || []).push([\n PAGE_PATH,\n () => {\n return require('PAGE')\n },\n])\n// @ts-expect-error module.hot exists\nif (module.hot) {\n // @ts-expect-error module.hot exists\n module.hot.dispose(function () {\n window.__NEXT_P.push([PAGE_PATH])\n })\n}\n"],"names":[],"mappings":"AAAA,MAAM,YAAY;AAQjB,CAAC,OAAO,QAAQ,GAAG,OAAO,QAAQ,IAAI,EAAE,EAAE,IAAI,CAAC;IAC9C;IACA;QACE;IACF;CACD;AACD,qCAAqC;AACrC,IAAI,OAAO,GAAG,EAAE;IACd,qCAAqC;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC;QACjB,OAAO,QAAQ,CAAC,IAAI,CAAC;YAAC;SAAU;IAClC;AACF","ignoreList":[0],"debugId":null}}]
|
|
6
|
+
}
|
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined,
|
|
2
|
+
"[turbopack]/browser/dev/hmr-client/hmr-client.ts [client] (ecmascript)", ((__turbopack_context__) => {
|
|
3
|
+
"use strict";
|
|
4
|
+
|
|
5
|
+
/// <reference path="../../../shared/runtime-types.d.ts" />
|
|
6
|
+
/// <reference path="../../runtime/base/dev-globals.d.ts" />
|
|
7
|
+
/// <reference path="../../runtime/base/dev-protocol.d.ts" />
|
|
8
|
+
/// <reference path="../../runtime/base/dev-extensions.ts" />
|
|
9
|
+
__turbopack_context__.s([
|
|
10
|
+
"connect",
|
|
11
|
+
()=>connect,
|
|
12
|
+
"setHooks",
|
|
13
|
+
()=>setHooks,
|
|
14
|
+
"subscribeToUpdate",
|
|
15
|
+
()=>subscribeToUpdate
|
|
16
|
+
]);
|
|
17
|
+
function connect(param) {
|
|
18
|
+
let { addMessageListener, sendMessage, onUpdateError = console.error } = param;
|
|
19
|
+
addMessageListener((msg)=>{
|
|
20
|
+
switch(msg.type){
|
|
21
|
+
case 'turbopack-connected':
|
|
22
|
+
handleSocketConnected(sendMessage);
|
|
23
|
+
break;
|
|
24
|
+
default:
|
|
25
|
+
try {
|
|
26
|
+
if (Array.isArray(msg.data)) {
|
|
27
|
+
for(let i = 0; i < msg.data.length; i++){
|
|
28
|
+
handleSocketMessage(msg.data[i]);
|
|
29
|
+
}
|
|
30
|
+
} else {
|
|
31
|
+
handleSocketMessage(msg.data);
|
|
32
|
+
}
|
|
33
|
+
applyAggregatedUpdates();
|
|
34
|
+
} catch (e) {
|
|
35
|
+
console.warn('[Fast Refresh] performing full reload\n\n' + "Fast Refresh will perform a full reload when you edit a file that's imported by modules outside of the React rendering tree.\n" + 'You might have a file which exports a React component but also exports a value that is imported by a non-React component file.\n' + 'Consider migrating the non-React component export to a separate file and importing it into both files.\n\n' + 'It is also possible the parent component of the component you edited is a class component, which disables Fast Refresh.\n' + 'Fast Refresh requires at least one parent function component in your React tree.');
|
|
36
|
+
onUpdateError(e);
|
|
37
|
+
location.reload();
|
|
38
|
+
}
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
const queued = globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS;
|
|
43
|
+
if (queued != null && !Array.isArray(queued)) {
|
|
44
|
+
throw new Error('A separate HMR handler was already registered');
|
|
45
|
+
}
|
|
46
|
+
globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS = {
|
|
47
|
+
push: (param)=>{
|
|
48
|
+
let [chunkPath, callback] = param;
|
|
49
|
+
subscribeToChunkUpdate(chunkPath, sendMessage, callback);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
if (Array.isArray(queued)) {
|
|
53
|
+
for (const [chunkPath, callback] of queued){
|
|
54
|
+
subscribeToChunkUpdate(chunkPath, sendMessage, callback);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
const updateCallbackSets = new Map();
|
|
59
|
+
function sendJSON(sendMessage, message) {
|
|
60
|
+
sendMessage(JSON.stringify(message));
|
|
61
|
+
}
|
|
62
|
+
function resourceKey(resource) {
|
|
63
|
+
return JSON.stringify({
|
|
64
|
+
path: resource.path,
|
|
65
|
+
headers: resource.headers || null
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
function subscribeToUpdates(sendMessage, resource) {
|
|
69
|
+
sendJSON(sendMessage, {
|
|
70
|
+
type: 'turbopack-subscribe',
|
|
71
|
+
...resource
|
|
72
|
+
});
|
|
73
|
+
return ()=>{
|
|
74
|
+
sendJSON(sendMessage, {
|
|
75
|
+
type: 'turbopack-unsubscribe',
|
|
76
|
+
...resource
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function handleSocketConnected(sendMessage) {
|
|
81
|
+
for (const key of updateCallbackSets.keys()){
|
|
82
|
+
subscribeToUpdates(sendMessage, JSON.parse(key));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
// we aggregate all pending updates until the issues are resolved
|
|
86
|
+
const chunkListsWithPendingUpdates = new Map();
|
|
87
|
+
function aggregateUpdates(msg) {
|
|
88
|
+
const key = resourceKey(msg.resource);
|
|
89
|
+
let aggregated = chunkListsWithPendingUpdates.get(key);
|
|
90
|
+
if (aggregated) {
|
|
91
|
+
aggregated.instruction = mergeChunkListUpdates(aggregated.instruction, msg.instruction);
|
|
92
|
+
} else {
|
|
93
|
+
chunkListsWithPendingUpdates.set(key, msg);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
function applyAggregatedUpdates() {
|
|
97
|
+
if (chunkListsWithPendingUpdates.size === 0) return;
|
|
98
|
+
hooks.beforeRefresh();
|
|
99
|
+
for (const msg of chunkListsWithPendingUpdates.values()){
|
|
100
|
+
triggerUpdate(msg);
|
|
101
|
+
}
|
|
102
|
+
chunkListsWithPendingUpdates.clear();
|
|
103
|
+
finalizeUpdate();
|
|
104
|
+
}
|
|
105
|
+
function mergeChunkListUpdates(updateA, updateB) {
|
|
106
|
+
let chunks;
|
|
107
|
+
if (updateA.chunks != null) {
|
|
108
|
+
if (updateB.chunks == null) {
|
|
109
|
+
chunks = updateA.chunks;
|
|
110
|
+
} else {
|
|
111
|
+
chunks = mergeChunkListChunks(updateA.chunks, updateB.chunks);
|
|
112
|
+
}
|
|
113
|
+
} else if (updateB.chunks != null) {
|
|
114
|
+
chunks = updateB.chunks;
|
|
115
|
+
}
|
|
116
|
+
let merged;
|
|
117
|
+
if (updateA.merged != null) {
|
|
118
|
+
if (updateB.merged == null) {
|
|
119
|
+
merged = updateA.merged;
|
|
120
|
+
} else {
|
|
121
|
+
// Since `merged` is an array of updates, we need to merge them all into
|
|
122
|
+
// one, consistent update.
|
|
123
|
+
// Since there can only be `EcmascriptMergeUpdates` in the array, there is
|
|
124
|
+
// no need to key on the `type` field.
|
|
125
|
+
let update = updateA.merged[0];
|
|
126
|
+
for(let i = 1; i < updateA.merged.length; i++){
|
|
127
|
+
update = mergeChunkListEcmascriptMergedUpdates(update, updateA.merged[i]);
|
|
128
|
+
}
|
|
129
|
+
for(let i = 0; i < updateB.merged.length; i++){
|
|
130
|
+
update = mergeChunkListEcmascriptMergedUpdates(update, updateB.merged[i]);
|
|
131
|
+
}
|
|
132
|
+
merged = [
|
|
133
|
+
update
|
|
134
|
+
];
|
|
135
|
+
}
|
|
136
|
+
} else if (updateB.merged != null) {
|
|
137
|
+
merged = updateB.merged;
|
|
138
|
+
}
|
|
139
|
+
return {
|
|
140
|
+
type: 'ChunkListUpdate',
|
|
141
|
+
chunks,
|
|
142
|
+
merged
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
function mergeChunkListChunks(chunksA, chunksB) {
|
|
146
|
+
const chunks = {};
|
|
147
|
+
for (const [chunkPath, chunkUpdateA] of Object.entries(chunksA)){
|
|
148
|
+
const chunkUpdateB = chunksB[chunkPath];
|
|
149
|
+
if (chunkUpdateB != null) {
|
|
150
|
+
const mergedUpdate = mergeChunkUpdates(chunkUpdateA, chunkUpdateB);
|
|
151
|
+
if (mergedUpdate != null) {
|
|
152
|
+
chunks[chunkPath] = mergedUpdate;
|
|
153
|
+
}
|
|
154
|
+
} else {
|
|
155
|
+
chunks[chunkPath] = chunkUpdateA;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
for (const [chunkPath, chunkUpdateB] of Object.entries(chunksB)){
|
|
159
|
+
if (chunks[chunkPath] == null) {
|
|
160
|
+
chunks[chunkPath] = chunkUpdateB;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
return chunks;
|
|
164
|
+
}
|
|
165
|
+
function mergeChunkUpdates(updateA, updateB) {
|
|
166
|
+
if (updateA.type === 'added' && updateB.type === 'deleted' || updateA.type === 'deleted' && updateB.type === 'added') {
|
|
167
|
+
return undefined;
|
|
168
|
+
}
|
|
169
|
+
if (updateA.type === 'partial') {
|
|
170
|
+
invariant(updateA.instruction, 'Partial updates are unsupported');
|
|
171
|
+
}
|
|
172
|
+
if (updateB.type === 'partial') {
|
|
173
|
+
invariant(updateB.instruction, 'Partial updates are unsupported');
|
|
174
|
+
}
|
|
175
|
+
return undefined;
|
|
176
|
+
}
|
|
177
|
+
function mergeChunkListEcmascriptMergedUpdates(mergedA, mergedB) {
|
|
178
|
+
const entries = mergeEcmascriptChunkEntries(mergedA.entries, mergedB.entries);
|
|
179
|
+
const chunks = mergeEcmascriptChunksUpdates(mergedA.chunks, mergedB.chunks);
|
|
180
|
+
return {
|
|
181
|
+
type: 'EcmascriptMergedUpdate',
|
|
182
|
+
entries,
|
|
183
|
+
chunks
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
function mergeEcmascriptChunkEntries(entriesA, entriesB) {
|
|
187
|
+
return {
|
|
188
|
+
...entriesA,
|
|
189
|
+
...entriesB
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
function mergeEcmascriptChunksUpdates(chunksA, chunksB) {
|
|
193
|
+
if (chunksA == null) {
|
|
194
|
+
return chunksB;
|
|
195
|
+
}
|
|
196
|
+
if (chunksB == null) {
|
|
197
|
+
return chunksA;
|
|
198
|
+
}
|
|
199
|
+
const chunks = {};
|
|
200
|
+
for (const [chunkPath, chunkUpdateA] of Object.entries(chunksA)){
|
|
201
|
+
const chunkUpdateB = chunksB[chunkPath];
|
|
202
|
+
if (chunkUpdateB != null) {
|
|
203
|
+
const mergedUpdate = mergeEcmascriptChunkUpdates(chunkUpdateA, chunkUpdateB);
|
|
204
|
+
if (mergedUpdate != null) {
|
|
205
|
+
chunks[chunkPath] = mergedUpdate;
|
|
206
|
+
}
|
|
207
|
+
} else {
|
|
208
|
+
chunks[chunkPath] = chunkUpdateA;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
for (const [chunkPath, chunkUpdateB] of Object.entries(chunksB)){
|
|
212
|
+
if (chunks[chunkPath] == null) {
|
|
213
|
+
chunks[chunkPath] = chunkUpdateB;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
if (Object.keys(chunks).length === 0) {
|
|
217
|
+
return undefined;
|
|
218
|
+
}
|
|
219
|
+
return chunks;
|
|
220
|
+
}
|
|
221
|
+
function mergeEcmascriptChunkUpdates(updateA, updateB) {
|
|
222
|
+
if (updateA.type === 'added' && updateB.type === 'deleted') {
|
|
223
|
+
// These two completely cancel each other out.
|
|
224
|
+
return undefined;
|
|
225
|
+
}
|
|
226
|
+
if (updateA.type === 'deleted' && updateB.type === 'added') {
|
|
227
|
+
const added = [];
|
|
228
|
+
const deleted = [];
|
|
229
|
+
var _updateA_modules;
|
|
230
|
+
const deletedModules = new Set((_updateA_modules = updateA.modules) !== null && _updateA_modules !== void 0 ? _updateA_modules : []);
|
|
231
|
+
var _updateB_modules;
|
|
232
|
+
const addedModules = new Set((_updateB_modules = updateB.modules) !== null && _updateB_modules !== void 0 ? _updateB_modules : []);
|
|
233
|
+
for (const moduleId of addedModules){
|
|
234
|
+
if (!deletedModules.has(moduleId)) {
|
|
235
|
+
added.push(moduleId);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
for (const moduleId of deletedModules){
|
|
239
|
+
if (!addedModules.has(moduleId)) {
|
|
240
|
+
deleted.push(moduleId);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
if (added.length === 0 && deleted.length === 0) {
|
|
244
|
+
return undefined;
|
|
245
|
+
}
|
|
246
|
+
return {
|
|
247
|
+
type: 'partial',
|
|
248
|
+
added,
|
|
249
|
+
deleted
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
if (updateA.type === 'partial' && updateB.type === 'partial') {
|
|
253
|
+
var _updateA_added, _updateB_added;
|
|
254
|
+
const added = new Set([
|
|
255
|
+
...(_updateA_added = updateA.added) !== null && _updateA_added !== void 0 ? _updateA_added : [],
|
|
256
|
+
...(_updateB_added = updateB.added) !== null && _updateB_added !== void 0 ? _updateB_added : []
|
|
257
|
+
]);
|
|
258
|
+
var _updateA_deleted, _updateB_deleted;
|
|
259
|
+
const deleted = new Set([
|
|
260
|
+
...(_updateA_deleted = updateA.deleted) !== null && _updateA_deleted !== void 0 ? _updateA_deleted : [],
|
|
261
|
+
...(_updateB_deleted = updateB.deleted) !== null && _updateB_deleted !== void 0 ? _updateB_deleted : []
|
|
262
|
+
]);
|
|
263
|
+
if (updateB.added != null) {
|
|
264
|
+
for (const moduleId of updateB.added){
|
|
265
|
+
deleted.delete(moduleId);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
if (updateB.deleted != null) {
|
|
269
|
+
for (const moduleId of updateB.deleted){
|
|
270
|
+
added.delete(moduleId);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
return {
|
|
274
|
+
type: 'partial',
|
|
275
|
+
added: [
|
|
276
|
+
...added
|
|
277
|
+
],
|
|
278
|
+
deleted: [
|
|
279
|
+
...deleted
|
|
280
|
+
]
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
if (updateA.type === 'added' && updateB.type === 'partial') {
|
|
284
|
+
var _updateA_modules1, _updateB_added1;
|
|
285
|
+
const modules = new Set([
|
|
286
|
+
...(_updateA_modules1 = updateA.modules) !== null && _updateA_modules1 !== void 0 ? _updateA_modules1 : [],
|
|
287
|
+
...(_updateB_added1 = updateB.added) !== null && _updateB_added1 !== void 0 ? _updateB_added1 : []
|
|
288
|
+
]);
|
|
289
|
+
var _updateB_deleted1;
|
|
290
|
+
for (const moduleId of (_updateB_deleted1 = updateB.deleted) !== null && _updateB_deleted1 !== void 0 ? _updateB_deleted1 : []){
|
|
291
|
+
modules.delete(moduleId);
|
|
292
|
+
}
|
|
293
|
+
return {
|
|
294
|
+
type: 'added',
|
|
295
|
+
modules: [
|
|
296
|
+
...modules
|
|
297
|
+
]
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
if (updateA.type === 'partial' && updateB.type === 'deleted') {
|
|
301
|
+
var _updateB_modules1;
|
|
302
|
+
// We could eagerly return `updateB` here, but this would potentially be
|
|
303
|
+
// incorrect if `updateA` has added modules.
|
|
304
|
+
const modules = new Set((_updateB_modules1 = updateB.modules) !== null && _updateB_modules1 !== void 0 ? _updateB_modules1 : []);
|
|
305
|
+
if (updateA.added != null) {
|
|
306
|
+
for (const moduleId of updateA.added){
|
|
307
|
+
modules.delete(moduleId);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
return {
|
|
311
|
+
type: 'deleted',
|
|
312
|
+
modules: [
|
|
313
|
+
...modules
|
|
314
|
+
]
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
// Any other update combination is invalid.
|
|
318
|
+
return undefined;
|
|
319
|
+
}
|
|
320
|
+
function invariant(_, message) {
|
|
321
|
+
throw new Error("Invariant: ".concat(message));
|
|
322
|
+
}
|
|
323
|
+
const CRITICAL = [
|
|
324
|
+
'bug',
|
|
325
|
+
'error',
|
|
326
|
+
'fatal'
|
|
327
|
+
];
|
|
328
|
+
function compareByList(list, a, b) {
|
|
329
|
+
const aI = list.indexOf(a) + 1 || list.length;
|
|
330
|
+
const bI = list.indexOf(b) + 1 || list.length;
|
|
331
|
+
return aI - bI;
|
|
332
|
+
}
|
|
333
|
+
const chunksWithIssues = new Map();
|
|
334
|
+
function emitIssues() {
|
|
335
|
+
const issues = [];
|
|
336
|
+
const deduplicationSet = new Set();
|
|
337
|
+
for (const [_, chunkIssues] of chunksWithIssues){
|
|
338
|
+
for (const chunkIssue of chunkIssues){
|
|
339
|
+
if (deduplicationSet.has(chunkIssue.formatted)) continue;
|
|
340
|
+
issues.push(chunkIssue);
|
|
341
|
+
deduplicationSet.add(chunkIssue.formatted);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
sortIssues(issues);
|
|
345
|
+
hooks.issues(issues);
|
|
346
|
+
}
|
|
347
|
+
function handleIssues(msg) {
|
|
348
|
+
const key = resourceKey(msg.resource);
|
|
349
|
+
let hasCriticalIssues = false;
|
|
350
|
+
for (const issue of msg.issues){
|
|
351
|
+
if (CRITICAL.includes(issue.severity)) {
|
|
352
|
+
hasCriticalIssues = true;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
if (msg.issues.length > 0) {
|
|
356
|
+
chunksWithIssues.set(key, msg.issues);
|
|
357
|
+
} else if (chunksWithIssues.has(key)) {
|
|
358
|
+
chunksWithIssues.delete(key);
|
|
359
|
+
}
|
|
360
|
+
emitIssues();
|
|
361
|
+
return hasCriticalIssues;
|
|
362
|
+
}
|
|
363
|
+
const SEVERITY_ORDER = [
|
|
364
|
+
'bug',
|
|
365
|
+
'fatal',
|
|
366
|
+
'error',
|
|
367
|
+
'warning',
|
|
368
|
+
'info',
|
|
369
|
+
'log'
|
|
370
|
+
];
|
|
371
|
+
const CATEGORY_ORDER = [
|
|
372
|
+
'parse',
|
|
373
|
+
'resolve',
|
|
374
|
+
'code generation',
|
|
375
|
+
'rendering',
|
|
376
|
+
'typescript',
|
|
377
|
+
'other'
|
|
378
|
+
];
|
|
379
|
+
function sortIssues(issues) {
|
|
380
|
+
issues.sort((a, b)=>{
|
|
381
|
+
const first = compareByList(SEVERITY_ORDER, a.severity, b.severity);
|
|
382
|
+
if (first !== 0) return first;
|
|
383
|
+
return compareByList(CATEGORY_ORDER, a.category, b.category);
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
const hooks = {
|
|
387
|
+
beforeRefresh: ()=>{},
|
|
388
|
+
refresh: ()=>{},
|
|
389
|
+
buildOk: ()=>{},
|
|
390
|
+
issues: (_issues)=>{}
|
|
391
|
+
};
|
|
392
|
+
function setHooks(newHooks) {
|
|
393
|
+
Object.assign(hooks, newHooks);
|
|
394
|
+
}
|
|
395
|
+
function handleSocketMessage(msg) {
|
|
396
|
+
sortIssues(msg.issues);
|
|
397
|
+
handleIssues(msg);
|
|
398
|
+
switch(msg.type){
|
|
399
|
+
case 'issues':
|
|
400
|
+
break;
|
|
401
|
+
case 'partial':
|
|
402
|
+
// aggregate updates
|
|
403
|
+
aggregateUpdates(msg);
|
|
404
|
+
break;
|
|
405
|
+
default:
|
|
406
|
+
// run single update
|
|
407
|
+
const runHooks = chunkListsWithPendingUpdates.size === 0;
|
|
408
|
+
if (runHooks) hooks.beforeRefresh();
|
|
409
|
+
triggerUpdate(msg);
|
|
410
|
+
if (runHooks) finalizeUpdate();
|
|
411
|
+
break;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
function finalizeUpdate() {
|
|
415
|
+
hooks.refresh();
|
|
416
|
+
hooks.buildOk();
|
|
417
|
+
// This is used by the Next.js integration test suite to notify it when HMR
|
|
418
|
+
// updates have been completed.
|
|
419
|
+
// TODO: Only run this in test environments (gate by `process.env.__NEXT_TEST_MODE`)
|
|
420
|
+
if (globalThis.__NEXT_HMR_CB) {
|
|
421
|
+
globalThis.__NEXT_HMR_CB();
|
|
422
|
+
globalThis.__NEXT_HMR_CB = null;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
function subscribeToChunkUpdate(chunkListPath, sendMessage, callback) {
|
|
426
|
+
return subscribeToUpdate({
|
|
427
|
+
path: chunkListPath
|
|
428
|
+
}, sendMessage, callback);
|
|
429
|
+
}
|
|
430
|
+
function subscribeToUpdate(resource, sendMessage, callback) {
|
|
431
|
+
const key = resourceKey(resource);
|
|
432
|
+
let callbackSet;
|
|
433
|
+
const existingCallbackSet = updateCallbackSets.get(key);
|
|
434
|
+
if (!existingCallbackSet) {
|
|
435
|
+
callbackSet = {
|
|
436
|
+
callbacks: new Set([
|
|
437
|
+
callback
|
|
438
|
+
]),
|
|
439
|
+
unsubscribe: subscribeToUpdates(sendMessage, resource)
|
|
440
|
+
};
|
|
441
|
+
updateCallbackSets.set(key, callbackSet);
|
|
442
|
+
} else {
|
|
443
|
+
existingCallbackSet.callbacks.add(callback);
|
|
444
|
+
callbackSet = existingCallbackSet;
|
|
445
|
+
}
|
|
446
|
+
return ()=>{
|
|
447
|
+
callbackSet.callbacks.delete(callback);
|
|
448
|
+
if (callbackSet.callbacks.size === 0) {
|
|
449
|
+
callbackSet.unsubscribe();
|
|
450
|
+
updateCallbackSets.delete(key);
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
function triggerUpdate(msg) {
|
|
455
|
+
const key = resourceKey(msg.resource);
|
|
456
|
+
const callbackSet = updateCallbackSets.get(key);
|
|
457
|
+
if (!callbackSet) {
|
|
458
|
+
return;
|
|
459
|
+
}
|
|
460
|
+
for (const callback of callbackSet.callbacks){
|
|
461
|
+
callback(msg);
|
|
462
|
+
}
|
|
463
|
+
if (msg.type === 'notFound') {
|
|
464
|
+
// This indicates that the resource which we subscribed to either does not exist or
|
|
465
|
+
// has been deleted. In either case, we should clear all update callbacks, so if a
|
|
466
|
+
// new subscription is created for the same resource, it will send a new "subscribe"
|
|
467
|
+
// message to the server.
|
|
468
|
+
// No need to send an "unsubscribe" message to the server, it will have already
|
|
469
|
+
// dropped the update stream before sending the "notFound" message.
|
|
470
|
+
updateCallbackSets.delete(key);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}),
|
|
474
|
+
"[hmr-entry]/hmr-entry.js { ENTRY => \"[project]/pages/_error\" }", ((__turbopack_context__) => {
|
|
475
|
+
"use strict";
|
|
476
|
+
|
|
477
|
+
__turbopack_context__.r("[next]/entry/page-loader.ts { PAGE => \"[project]/node_modules/.pnpm/next@15.5.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/error.js [client] (ecmascript)\" } [client] (ecmascript)");
|
|
478
|
+
}),
|
|
479
|
+
]);
|
|
480
|
+
|
|
481
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__092393de._.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": [],
|
|
4
|
+
"sections": [
|
|
5
|
+
{"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/browser/dev/hmr-client/hmr-client.ts"],"sourcesContent":["/// <reference path=\"../../../shared/runtime-types.d.ts\" />\n/// <reference path=\"../../runtime/base/dev-globals.d.ts\" />\n/// <reference path=\"../../runtime/base/dev-protocol.d.ts\" />\n/// <reference path=\"../../runtime/base/dev-extensions.ts\" />\n\ntype SendMessage = (msg: any) => void\nexport type WebSocketMessage =\n | {\n type: 'turbopack-connected'\n }\n | {\n type: 'turbopack-message'\n data: Record<string, any>\n }\n\nexport type ClientOptions = {\n addMessageListener: (cb: (msg: WebSocketMessage) => void) => void\n sendMessage: SendMessage\n onUpdateError: (err: unknown) => void\n}\n\nexport function connect({\n addMessageListener,\n sendMessage,\n onUpdateError = console.error,\n}: ClientOptions) {\n addMessageListener((msg) => {\n switch (msg.type) {\n case 'turbopack-connected':\n handleSocketConnected(sendMessage)\n break\n default:\n try {\n if (Array.isArray(msg.data)) {\n for (let i = 0; i < msg.data.length; i++) {\n handleSocketMessage(msg.data[i] as ServerMessage)\n }\n } else {\n handleSocketMessage(msg.data as ServerMessage)\n }\n applyAggregatedUpdates()\n } catch (e: unknown) {\n console.warn(\n '[Fast Refresh] performing full reload\\n\\n' +\n \"Fast Refresh will perform a full reload when you edit a file that's imported by modules outside of the React rendering tree.\\n\" +\n 'You might have a file which exports a React component but also exports a value that is imported by a non-React component file.\\n' +\n 'Consider migrating the non-React component export to a separate file and importing it into both files.\\n\\n' +\n 'It is also possible the parent component of the component you edited is a class component, which disables Fast Refresh.\\n' +\n 'Fast Refresh requires at least one parent function component in your React tree.'\n )\n onUpdateError(e)\n location.reload()\n }\n break\n }\n })\n\n const queued = globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS\n if (queued != null && !Array.isArray(queued)) {\n throw new Error('A separate HMR handler was already registered')\n }\n globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS = {\n push: ([chunkPath, callback]: [ChunkListPath, UpdateCallback]) => {\n subscribeToChunkUpdate(chunkPath, sendMessage, callback)\n },\n }\n\n if (Array.isArray(queued)) {\n for (const [chunkPath, callback] of queued) {\n subscribeToChunkUpdate(chunkPath, sendMessage, callback)\n }\n }\n}\n\ntype UpdateCallbackSet = {\n callbacks: Set<UpdateCallback>\n unsubscribe: () => void\n}\n\nconst updateCallbackSets: Map<ResourceKey, UpdateCallbackSet> = new Map()\n\nfunction sendJSON(sendMessage: SendMessage, message: ClientMessage) {\n sendMessage(JSON.stringify(message))\n}\n\ntype ResourceKey = string\n\nfunction resourceKey(resource: ResourceIdentifier): ResourceKey {\n return JSON.stringify({\n path: resource.path,\n headers: resource.headers || null,\n })\n}\n\nfunction subscribeToUpdates(\n sendMessage: SendMessage,\n resource: ResourceIdentifier\n): () => void {\n sendJSON(sendMessage, {\n type: 'turbopack-subscribe',\n ...resource,\n })\n\n return () => {\n sendJSON(sendMessage, {\n type: 'turbopack-unsubscribe',\n ...resource,\n })\n }\n}\n\nfunction handleSocketConnected(sendMessage: SendMessage) {\n for (const key of updateCallbackSets.keys()) {\n subscribeToUpdates(sendMessage, JSON.parse(key))\n }\n}\n\n// we aggregate all pending updates until the issues are resolved\nconst chunkListsWithPendingUpdates: Map<ResourceKey, PartialServerMessage> =\n new Map()\n\nfunction aggregateUpdates(msg: PartialServerMessage) {\n const key = resourceKey(msg.resource)\n let aggregated = chunkListsWithPendingUpdates.get(key)\n\n if (aggregated) {\n aggregated.instruction = mergeChunkListUpdates(\n aggregated.instruction,\n msg.instruction\n )\n } else {\n chunkListsWithPendingUpdates.set(key, msg)\n }\n}\n\nfunction applyAggregatedUpdates() {\n if (chunkListsWithPendingUpdates.size === 0) return\n hooks.beforeRefresh()\n for (const msg of chunkListsWithPendingUpdates.values()) {\n triggerUpdate(msg)\n }\n chunkListsWithPendingUpdates.clear()\n finalizeUpdate()\n}\n\nfunction mergeChunkListUpdates(\n updateA: ChunkListUpdate,\n updateB: ChunkListUpdate\n): ChunkListUpdate {\n let chunks\n if (updateA.chunks != null) {\n if (updateB.chunks == null) {\n chunks = updateA.chunks\n } else {\n chunks = mergeChunkListChunks(updateA.chunks, updateB.chunks)\n }\n } else if (updateB.chunks != null) {\n chunks = updateB.chunks\n }\n\n let merged\n if (updateA.merged != null) {\n if (updateB.merged == null) {\n merged = updateA.merged\n } else {\n // Since `merged` is an array of updates, we need to merge them all into\n // one, consistent update.\n // Since there can only be `EcmascriptMergeUpdates` in the array, there is\n // no need to key on the `type` field.\n let update = updateA.merged[0]\n for (let i = 1; i < updateA.merged.length; i++) {\n update = mergeChunkListEcmascriptMergedUpdates(\n update,\n updateA.merged[i]\n )\n }\n\n for (let i = 0; i < updateB.merged.length; i++) {\n update = mergeChunkListEcmascriptMergedUpdates(\n update,\n updateB.merged[i]\n )\n }\n\n merged = [update]\n }\n } else if (updateB.merged != null) {\n merged = updateB.merged\n }\n\n return {\n type: 'ChunkListUpdate',\n chunks,\n merged,\n }\n}\n\nfunction mergeChunkListChunks(\n chunksA: Record<ChunkPath, ChunkUpdate>,\n chunksB: Record<ChunkPath, ChunkUpdate>\n): Record<ChunkPath, ChunkUpdate> {\n const chunks: Record<ChunkPath, ChunkUpdate> = {}\n\n for (const [chunkPath, chunkUpdateA] of Object.entries(chunksA) as Array<\n [ChunkPath, ChunkUpdate]\n >) {\n const chunkUpdateB = chunksB[chunkPath]\n if (chunkUpdateB != null) {\n const mergedUpdate = mergeChunkUpdates(chunkUpdateA, chunkUpdateB)\n if (mergedUpdate != null) {\n chunks[chunkPath] = mergedUpdate\n }\n } else {\n chunks[chunkPath] = chunkUpdateA\n }\n }\n\n for (const [chunkPath, chunkUpdateB] of Object.entries(chunksB) as Array<\n [ChunkPath, ChunkUpdate]\n >) {\n if (chunks[chunkPath] == null) {\n chunks[chunkPath] = chunkUpdateB\n }\n }\n\n return chunks\n}\n\nfunction mergeChunkUpdates(\n updateA: ChunkUpdate,\n updateB: ChunkUpdate\n): ChunkUpdate | undefined {\n if (\n (updateA.type === 'added' && updateB.type === 'deleted') ||\n (updateA.type === 'deleted' && updateB.type === 'added')\n ) {\n return undefined\n }\n\n if (updateA.type === 'partial') {\n invariant(updateA.instruction, 'Partial updates are unsupported')\n }\n\n if (updateB.type === 'partial') {\n invariant(updateB.instruction, 'Partial updates are unsupported')\n }\n\n return undefined\n}\n\nfunction mergeChunkListEcmascriptMergedUpdates(\n mergedA: EcmascriptMergedUpdate,\n mergedB: EcmascriptMergedUpdate\n): EcmascriptMergedUpdate {\n const entries = mergeEcmascriptChunkEntries(mergedA.entries, mergedB.entries)\n const chunks = mergeEcmascriptChunksUpdates(mergedA.chunks, mergedB.chunks)\n\n return {\n type: 'EcmascriptMergedUpdate',\n entries,\n chunks,\n }\n}\n\nfunction mergeEcmascriptChunkEntries(\n entriesA: Record<ModuleId, EcmascriptModuleEntry> | undefined,\n entriesB: Record<ModuleId, EcmascriptModuleEntry> | undefined\n): Record<ModuleId, EcmascriptModuleEntry> {\n return { ...entriesA, ...entriesB }\n}\n\nfunction mergeEcmascriptChunksUpdates(\n chunksA: Record<ChunkPath, EcmascriptMergedChunkUpdate> | undefined,\n chunksB: Record<ChunkPath, EcmascriptMergedChunkUpdate> | undefined\n): Record<ChunkPath, EcmascriptMergedChunkUpdate> | undefined {\n if (chunksA == null) {\n return chunksB\n }\n\n if (chunksB == null) {\n return chunksA\n }\n\n const chunks: Record<ChunkPath, EcmascriptMergedChunkUpdate> = {}\n\n for (const [chunkPath, chunkUpdateA] of Object.entries(chunksA) as Array<\n [ChunkPath, EcmascriptMergedChunkUpdate]\n >) {\n const chunkUpdateB = chunksB[chunkPath]\n if (chunkUpdateB != null) {\n const mergedUpdate = mergeEcmascriptChunkUpdates(\n chunkUpdateA,\n chunkUpdateB\n )\n if (mergedUpdate != null) {\n chunks[chunkPath] = mergedUpdate\n }\n } else {\n chunks[chunkPath] = chunkUpdateA\n }\n }\n\n for (const [chunkPath, chunkUpdateB] of Object.entries(chunksB) as Array<\n [ChunkPath, EcmascriptMergedChunkUpdate]\n >) {\n if (chunks[chunkPath] == null) {\n chunks[chunkPath] = chunkUpdateB\n }\n }\n\n if (Object.keys(chunks).length === 0) {\n return undefined\n }\n\n return chunks\n}\n\nfunction mergeEcmascriptChunkUpdates(\n updateA: EcmascriptMergedChunkUpdate,\n updateB: EcmascriptMergedChunkUpdate\n): EcmascriptMergedChunkUpdate | undefined {\n if (updateA.type === 'added' && updateB.type === 'deleted') {\n // These two completely cancel each other out.\n return undefined\n }\n\n if (updateA.type === 'deleted' && updateB.type === 'added') {\n const added = []\n const deleted = []\n const deletedModules = new Set(updateA.modules ?? [])\n const addedModules = new Set(updateB.modules ?? [])\n\n for (const moduleId of addedModules) {\n if (!deletedModules.has(moduleId)) {\n added.push(moduleId)\n }\n }\n\n for (const moduleId of deletedModules) {\n if (!addedModules.has(moduleId)) {\n deleted.push(moduleId)\n }\n }\n\n if (added.length === 0 && deleted.length === 0) {\n return undefined\n }\n\n return {\n type: 'partial',\n added,\n deleted,\n }\n }\n\n if (updateA.type === 'partial' && updateB.type === 'partial') {\n const added = new Set([...(updateA.added ?? []), ...(updateB.added ?? [])])\n const deleted = new Set([\n ...(updateA.deleted ?? []),\n ...(updateB.deleted ?? []),\n ])\n\n if (updateB.added != null) {\n for (const moduleId of updateB.added) {\n deleted.delete(moduleId)\n }\n }\n\n if (updateB.deleted != null) {\n for (const moduleId of updateB.deleted) {\n added.delete(moduleId)\n }\n }\n\n return {\n type: 'partial',\n added: [...added],\n deleted: [...deleted],\n }\n }\n\n if (updateA.type === 'added' && updateB.type === 'partial') {\n const modules = new Set([\n ...(updateA.modules ?? []),\n ...(updateB.added ?? []),\n ])\n\n for (const moduleId of updateB.deleted ?? []) {\n modules.delete(moduleId)\n }\n\n return {\n type: 'added',\n modules: [...modules],\n }\n }\n\n if (updateA.type === 'partial' && updateB.type === 'deleted') {\n // We could eagerly return `updateB` here, but this would potentially be\n // incorrect if `updateA` has added modules.\n\n const modules = new Set(updateB.modules ?? [])\n\n if (updateA.added != null) {\n for (const moduleId of updateA.added) {\n modules.delete(moduleId)\n }\n }\n\n return {\n type: 'deleted',\n modules: [...modules],\n }\n }\n\n // Any other update combination is invalid.\n\n return undefined\n}\n\nfunction invariant(_: never, message: string): never {\n throw new Error(`Invariant: ${message}`)\n}\n\nconst CRITICAL = ['bug', 'error', 'fatal']\n\nfunction compareByList(list: any[], a: any, b: any) {\n const aI = list.indexOf(a) + 1 || list.length\n const bI = list.indexOf(b) + 1 || list.length\n return aI - bI\n}\n\nconst chunksWithIssues: Map<ResourceKey, Issue[]> = new Map()\n\nfunction emitIssues() {\n const issues = []\n const deduplicationSet = new Set()\n\n for (const [_, chunkIssues] of chunksWithIssues) {\n for (const chunkIssue of chunkIssues) {\n if (deduplicationSet.has(chunkIssue.formatted)) continue\n\n issues.push(chunkIssue)\n deduplicationSet.add(chunkIssue.formatted)\n }\n }\n\n sortIssues(issues)\n\n hooks.issues(issues)\n}\n\nfunction handleIssues(msg: ServerMessage): boolean {\n const key = resourceKey(msg.resource)\n let hasCriticalIssues = false\n\n for (const issue of msg.issues) {\n if (CRITICAL.includes(issue.severity)) {\n hasCriticalIssues = true\n }\n }\n\n if (msg.issues.length > 0) {\n chunksWithIssues.set(key, msg.issues)\n } else if (chunksWithIssues.has(key)) {\n chunksWithIssues.delete(key)\n }\n\n emitIssues()\n\n return hasCriticalIssues\n}\n\nconst SEVERITY_ORDER = ['bug', 'fatal', 'error', 'warning', 'info', 'log']\nconst CATEGORY_ORDER = [\n 'parse',\n 'resolve',\n 'code generation',\n 'rendering',\n 'typescript',\n 'other',\n]\n\nfunction sortIssues(issues: Issue[]) {\n issues.sort((a, b) => {\n const first = compareByList(SEVERITY_ORDER, a.severity, b.severity)\n if (first !== 0) return first\n return compareByList(CATEGORY_ORDER, a.category, b.category)\n })\n}\n\nconst hooks = {\n beforeRefresh: () => {},\n refresh: () => {},\n buildOk: () => {},\n issues: (_issues: Issue[]) => {},\n}\n\nexport function setHooks(newHooks: typeof hooks) {\n Object.assign(hooks, newHooks)\n}\n\nfunction handleSocketMessage(msg: ServerMessage) {\n sortIssues(msg.issues)\n\n handleIssues(msg)\n\n switch (msg.type) {\n case 'issues':\n // issues are already handled\n break\n case 'partial':\n // aggregate updates\n aggregateUpdates(msg)\n break\n default:\n // run single update\n const runHooks = chunkListsWithPendingUpdates.size === 0\n if (runHooks) hooks.beforeRefresh()\n triggerUpdate(msg)\n if (runHooks) finalizeUpdate()\n break\n }\n}\n\nfunction finalizeUpdate() {\n hooks.refresh()\n hooks.buildOk()\n\n // This is used by the Next.js integration test suite to notify it when HMR\n // updates have been completed.\n // TODO: Only run this in test environments (gate by `process.env.__NEXT_TEST_MODE`)\n if (globalThis.__NEXT_HMR_CB) {\n globalThis.__NEXT_HMR_CB()\n globalThis.__NEXT_HMR_CB = null\n }\n}\n\nfunction subscribeToChunkUpdate(\n chunkListPath: ChunkListPath,\n sendMessage: SendMessage,\n callback: UpdateCallback\n): () => void {\n return subscribeToUpdate(\n {\n path: chunkListPath,\n },\n sendMessage,\n callback\n )\n}\n\nexport function subscribeToUpdate(\n resource: ResourceIdentifier,\n sendMessage: SendMessage,\n callback: UpdateCallback\n) {\n const key = resourceKey(resource)\n let callbackSet: UpdateCallbackSet\n const existingCallbackSet = updateCallbackSets.get(key)\n if (!existingCallbackSet) {\n callbackSet = {\n callbacks: new Set([callback]),\n unsubscribe: subscribeToUpdates(sendMessage, resource),\n }\n updateCallbackSets.set(key, callbackSet)\n } else {\n existingCallbackSet.callbacks.add(callback)\n callbackSet = existingCallbackSet\n }\n\n return () => {\n callbackSet.callbacks.delete(callback)\n\n if (callbackSet.callbacks.size === 0) {\n callbackSet.unsubscribe()\n updateCallbackSets.delete(key)\n }\n }\n}\n\nfunction triggerUpdate(msg: ServerMessage) {\n const key = resourceKey(msg.resource)\n const callbackSet = updateCallbackSets.get(key)\n if (!callbackSet) {\n return\n }\n\n for (const callback of callbackSet.callbacks) {\n callback(msg)\n }\n\n if (msg.type === 'notFound') {\n // This indicates that the resource which we subscribed to either does not exist or\n // has been deleted. In either case, we should clear all update callbacks, so if a\n // new subscription is created for the same resource, it will send a new \"subscribe\"\n // message to the server.\n // No need to send an \"unsubscribe\" message to the server, it will have already\n // dropped the update stream before sending the \"notFound\" message.\n updateCallbackSets.delete(key)\n }\n}\n"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,4DAA4D;AAC5D,6DAA6D;AAC7D,6DAA6D;;;;;;;;;AAkBtD,SAAS,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