@vectorize-io/hindsight-control-plane 0.6.1 → 0.6.2
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/package.json +3 -3
- package/standalone/.next/BUILD_ID +1 -1
- package/standalone/.next/build-manifest.json +8 -8
- package/standalone/.next/prerender-manifest.json +3 -3
- package/standalone/.next/server/app/_global-error/page/build-manifest.json +5 -5
- package/standalone/.next/server/app/_global-error/page.js +7 -9
- package/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/_global-error.html +1 -1
- package/standalone/.next/server/app/_global-error.rsc +7 -7
- package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found/page/build-manifest.json +5 -5
- package/standalone/.next/server/app/_not-found/page.js +9 -11
- package/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/_not-found.html +1 -1
- package/standalone/.next/server/app/_not-found.rsc +13 -13
- package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +13 -13
- package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +8 -8
- package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/standalone/.next/server/app/api/auth/login/route.js +4 -4
- package/standalone/.next/server/app/api/auth/login/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/auth/logout/route.js +4 -4
- package/standalone/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/audit-logs/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/audit-logs/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/audit-logs/stats/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/audit-logs/stats/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/config/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/config/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/consolidate/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/consolidate/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/consolidation-recover/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/consolidation-recover/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/directives/[directiveId]/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/directives/[directiveId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/directives/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/directives/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/export/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/export/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/import/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/import/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/history/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/history/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/refresh/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/refresh/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/mental-models/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/mental-models/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/observations/[modelId]/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/observations/[modelId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/observations/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/observations/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/operations/[operationId]/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/operations/[operationId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/tags/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/tags/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/webhooks/[webhookId]/deliveries/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/webhooks/[webhookId]/deliveries/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/webhooks/[webhookId]/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/webhooks/[webhookId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/[bankId]/webhooks/route.js +4 -4
- package/standalone/.next/server/app/api/banks/[bankId]/webhooks/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/banks/route.js +4 -4
- package/standalone/.next/server/app/api/banks/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/chunks/[chunkId]/route.js +4 -4
- package/standalone/.next/server/app/api/chunks/[chunkId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/documents/[documentId]/chunks/route.js +4 -4
- package/standalone/.next/server/app/api/documents/[documentId]/chunks/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/documents/[documentId]/reprocess/route.js +4 -4
- package/standalone/.next/server/app/api/documents/[documentId]/reprocess/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/documents/[documentId]/route.js +4 -4
- package/standalone/.next/server/app/api/documents/[documentId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/documents/route.js +4 -4
- package/standalone/.next/server/app/api/documents/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/entities/[entityId]/regenerate/route.js +4 -4
- package/standalone/.next/server/app/api/entities/[entityId]/regenerate/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/entities/[entityId]/route.js +4 -4
- package/standalone/.next/server/app/api/entities/[entityId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/entities/graph/route.js +4 -4
- package/standalone/.next/server/app/api/entities/graph/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/entities/route.js +4 -4
- package/standalone/.next/server/app/api/entities/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/files/retain/route.js +4 -4
- package/standalone/.next/server/app/api/files/retain/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/graph/route.js +4 -4
- package/standalone/.next/server/app/api/graph/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/health/route.js +4 -4
- package/standalone/.next/server/app/api/health/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/list/route.js +4 -4
- package/standalone/.next/server/app/api/list/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/memories/[memoryId]/history/route.js +4 -4
- package/standalone/.next/server/app/api/memories/[memoryId]/history/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/memories/[memoryId]/route.js +4 -4
- package/standalone/.next/server/app/api/memories/[memoryId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/memories/retain/route.js +4 -4
- package/standalone/.next/server/app/api/memories/retain/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/memories/retain_async/route.js +4 -4
- package/standalone/.next/server/app/api/memories/retain_async/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/operations/[agentId]/route.js +4 -4
- package/standalone/.next/server/app/api/operations/[agentId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/profile/[bankId]/route.js +4 -4
- package/standalone/.next/server/app/api/profile/[bankId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/recall/route.js +4 -4
- package/standalone/.next/server/app/api/recall/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/reflect/route.js +4 -4
- package/standalone/.next/server/app/api/reflect/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/stats/[agentId]/memories-timeseries/route.js +4 -4
- package/standalone/.next/server/app/api/stats/[agentId]/memories-timeseries/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/stats/[agentId]/route.js +4 -4
- package/standalone/.next/server/app/api/stats/[agentId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/version/route.js +4 -4
- package/standalone/.next/server/app/api/version/route.js.nft.json +1 -1
- package/standalone/.next/server/app/banks/[bankId]/page/build-manifest.json +5 -5
- package/standalone/.next/server/app/banks/[bankId]/page.js +10 -12
- package/standalone/.next/server/app/banks/[bankId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/banks/[bankId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/dashboard/page/build-manifest.json +5 -5
- package/standalone/.next/server/app/dashboard/page.js +10 -12
- package/standalone/.next/server/app/dashboard/page.js.nft.json +1 -1
- package/standalone/.next/server/app/dashboard/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/dashboard.html +1 -1
- package/standalone/.next/server/app/dashboard.rsc +15 -15
- package/standalone/.next/server/app/dashboard.segments/_full.segment.rsc +15 -15
- package/standalone/.next/server/app/dashboard.segments/_head.segment.rsc +4 -4
- package/standalone/.next/server/app/dashboard.segments/_index.segment.rsc +8 -8
- package/standalone/.next/server/app/dashboard.segments/_tree.segment.rsc +2 -2
- package/standalone/.next/server/app/dashboard.segments/dashboard/__PAGE__.segment.rsc +4 -4
- package/standalone/.next/server/app/dashboard.segments/dashboard.segment.rsc +3 -3
- package/standalone/.next/server/app/index.html +1 -1
- package/standalone/.next/server/app/index.rsc +13 -13
- package/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/standalone/.next/server/app/index.segments/_full.segment.rsc +13 -13
- package/standalone/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/standalone/.next/server/app/index.segments/_index.segment.rsc +8 -8
- package/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/standalone/.next/server/app/login/page/build-manifest.json +5 -5
- package/standalone/.next/server/app/login/page.js +10 -12
- package/standalone/.next/server/app/login/page.js.nft.json +1 -1
- package/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/login.html +1 -1
- package/standalone/.next/server/app/login.rsc +15 -15
- package/standalone/.next/server/app/login.segments/_full.segment.rsc +15 -15
- package/standalone/.next/server/app/login.segments/_head.segment.rsc +4 -4
- package/standalone/.next/server/app/login.segments/_index.segment.rsc +8 -8
- package/standalone/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- package/standalone/.next/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
- package/standalone/.next/server/app/login.segments/login.segment.rsc +3 -3
- package/standalone/.next/server/app/page/build-manifest.json +5 -5
- package/standalone/.next/server/app/page.js +11 -13
- package/standalone/.next/server/app/page.js.nft.json +1 -1
- package/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0-19xx0._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0-ensby._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0-ykzc0._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0.agsak._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0.i626k._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__00i3o1z._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__02nwakm._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__045is_g._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__05-gqwe._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__08tjq.i._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__09o6ecb._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0_522se._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0_lg09a._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0_lq~dt._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0_nmf28._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0c34es9._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0dm~zm5._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0dqqhi5._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0g-k5nf._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0g6ttz_._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0h-un1o._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0i_ddhv._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ib~g6h._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ih88nb._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0j21skf._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0jkvo~~._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0jukxf0._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0kfe-s3._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0kpvc5m._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0lxho.q._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0mbqcjv._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0nglzhr._.js +13 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ow3d9r._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0qhbr0h._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0qlh00e._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0qn6ojb._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0qxre7i._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0rldm53._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ugd9zh._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0w48xj-._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0wdo5wh._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0wtx8ox._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0w~~_ar._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0x~pclg._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__10vi3mt._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__11doxv0._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__11ulkfa._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__134m13c._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__13jqxg3._.js +3 -0
- package/standalone/.next/server/chunks/hindsight-control-plane_src_lib_hindsight-client_ts_08a51-e._.js +1 -1
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0146r~c._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__03krood._.js +11 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0b3~l7~._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0bt.mb5._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0cbmrds._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0din_f4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0i1yiyh._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0l5r-52._.js +19 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0tcyn68._.js +33 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__07.c_7l._.js → [root-of-the-server]__0~c-ivw._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__13dmc~7._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_08qed-e._.js +1 -1
- package/standalone/.next/server/chunks/ssr/{hindsight-control-plane_0s.~bje._.js → _0__8juh._.js} +4 -4
- package/standalone/.next/server/chunks/ssr/_0k_-~3d._.js +6 -0
- package/standalone/.next/server/chunks/ssr/_0mh~vnk._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0q3l4f0._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0xgpb1t._.js +1 -1
- package/standalone/.next/server/chunks/ssr/hindsight-control-plane_src_0ki2hlw._.js +1 -1
- package/standalone/.next/server/chunks/ssr/hindsight-control-plane_src_components_bank-selector_tsx_06fpcdx._.js +2 -2
- package/standalone/.next/server/chunks/ssr/{_10tj6yd._.js → node_modules_09w7yel._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_0g2b~5_._.js +6 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_0h9llsw._.js +6 -0
- package/standalone/.next/server/chunks/ssr/{0xqq_next_dist_client_components_0qccfea._.js → node_modules_next_dist_client_components_0inhx6q._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js +3 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js +3 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js +3 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0it2daa.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0rc3ul_.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0rgz5sc.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0vji4h-.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0~l7yql.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_127zk4f.js +4 -0
- package/standalone/.next/server/edge/chunks/[root-of-the-server]__032ign5._.js +11 -0
- package/standalone/.next/server/edge/chunks/_078chv~._.js +3 -0
- package/standalone/.next/server/edge/chunks/node_modules_next_dist_esm_build_templates_edge-wrapper_04.8.xv.js +3 -0
- package/standalone/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_0q-a.hc.js +3 -0
- package/standalone/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_0z67sut.js +3 -0
- package/standalone/.next/server/middleware-build-manifest.js +8 -8
- package/standalone/.next/server/middleware-manifest.json +12 -12
- package/standalone/.next/server/pages/404.html +1 -1
- package/standalone/.next/server/pages/500.html +1 -1
- package/standalone/.next/server/server-reference-manifest.js +1 -1
- package/standalone/.next/server/server-reference-manifest.json +1 -1
- package/standalone/.next/static/chunks/01jfwizpstpzt.js +2 -0
- package/standalone/.next/static/chunks/{0fe.wql6.w4gs.js → 01xlw8hd842-c.js} +1 -1
- package/standalone/.next/static/chunks/02_um6l2wp~ls.css +2 -0
- package/standalone/.next/static/chunks/063f4u.4z~v2d.js +1 -0
- package/standalone/.next/static/chunks/{0t4x0.c8~-jkd.js → 0_nsfh~bkidtn.js} +1 -1
- package/standalone/.next/static/chunks/0bno0116cz1js.js +5 -0
- package/standalone/.next/static/chunks/{0vmyuepchjdz3.js → 0cvc2q7n4bgin.js} +1 -1
- package/standalone/.next/static/chunks/0k8fcq_tsf70-.js +4 -0
- package/standalone/.next/static/chunks/0roluhgciupg2.js +1 -0
- package/standalone/.next/static/chunks/0tzc13c.ie0tr.js +1 -0
- package/standalone/.next/static/chunks/0vk1nrxcez~j0.js +1 -0
- package/standalone/.next/static/chunks/0xe7gt3~du.d0.js +1 -0
- package/standalone/.next/static/chunks/0~6rybudzzg2n.js +3 -0
- package/standalone/.next/static/chunks/1448x0i8f6_ty.js +9 -0
- package/standalone/.next/static/chunks/172kko93lglzd.js +31 -0
- package/standalone/.next/static/chunks/turbopack-13c2vkonuuqnn.js +1 -0
- package/standalone/.next/static/{ivrhmmzua95PoZD_IAvpe → jjcyUHSdhXRM74rBGX4tQ}/_clientMiddlewareManifest.js +1 -1
- package/standalone/node_modules/@next/env/package.json +1 -1
- package/standalone/node_modules/next/dist/build/static-paths/app.js +2 -1
- package/standalone/node_modules/next/dist/build/swc/index.js +1 -1
- package/standalone/node_modules/next/dist/build/utils.js +2 -1
- package/standalone/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +2 -2
- package/standalone/node_modules/next/dist/client/components/router-reducer/set-cache-busting-search-param.js +8 -2
- package/standalone/node_modules/next/dist/client/route-params.js +23 -6
- package/standalone/node_modules/next/dist/compiled/jsonwebtoken/index.js +2 -2
- package/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +13 -13
- package/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +11 -11
- package/standalone/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +2 -2
- package/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +10 -10
- package/standalone/node_modules/next/dist/lib/metadata/resolve-metadata.js +2 -4
- package/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
- package/standalone/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +80 -0
- package/standalone/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +24 -20
- package/standalone/node_modules/next/dist/server/app-render/action-handler.js +3 -6
- package/standalone/node_modules/next/dist/server/app-render/app-render.js +62 -9
- package/standalone/node_modules/next/dist/server/app-render/collect-segment-data.js +16 -0
- package/standalone/node_modules/next/dist/server/app-render/create-component-tree.js +49 -19
- package/standalone/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +8 -20
- package/standalone/node_modules/next/dist/server/app-render/metadata-insertion/create-server-inserted-metadata.js +8 -7
- package/standalone/node_modules/next/dist/server/app-render/use-flight-response.js +2 -2
- package/standalone/node_modules/next/dist/server/async-storage/work-store.js +2 -1
- package/standalone/node_modules/next/dist/server/base-server.js +13 -5
- package/standalone/node_modules/next/dist/server/config-schema.js +11 -2
- package/standalone/node_modules/next/dist/server/config.js +1 -1
- package/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +18 -16
- package/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/standalone/node_modules/next/dist/server/dev/static-paths-worker.js +2 -1
- package/standalone/node_modules/next/dist/server/image-optimizer.js +22 -2
- package/standalone/node_modules/next/dist/server/lib/app-info-log.js +1 -1
- package/standalone/node_modules/next/dist/server/lib/is-rsc-request.js +18 -0
- package/standalone/node_modules/next/dist/server/lib/mock-request.js +30 -5
- package/standalone/node_modules/next/dist/server/lib/patch-set-header.js +7 -0
- package/standalone/node_modules/next/dist/server/lib/router-server.js +20 -4
- package/standalone/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +18 -4
- package/standalone/node_modules/next/dist/server/lib/server-ipc/utils.js +3 -1
- package/standalone/node_modules/next/dist/server/lib/start-server.js +1 -1
- package/standalone/node_modules/next/dist/server/next-server.js +1 -1
- package/standalone/node_modules/next/dist/server/render.js +47 -39
- package/standalone/node_modules/next/dist/server/request/fallback-params.js +27 -1
- package/standalone/node_modules/next/dist/server/route-modules/app-route/module.js +26 -10
- package/standalone/node_modules/next/dist/server/route-modules/route-module.js +11 -1
- package/standalone/node_modules/next/dist/server/server-utils.js +19 -2
- package/standalone/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +5 -5
- package/standalone/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +1 -1
- package/standalone/node_modules/next/dist/server/web/adapter.js +4 -1
- package/standalone/node_modules/next/dist/server/web/edge-route-module-wrapper.js +2 -1
- package/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
- package/standalone/node_modules/next/dist/{server → shared/lib}/htmlescape.js +15 -0
- package/standalone/node_modules/next/dist/shared/lib/router/routes/app.js +13 -1
- package/standalone/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +56 -10
- package/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
- package/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/standalone/node_modules/next/package.json +15 -15
- package/standalone/package.json +3 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0-mzq5k._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__006nmon._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__01qc.lt._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__03i9r24._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__04ov5nx._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0641809._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__072_7sg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__084.pvp._.js +0 -13
- package/standalone/.next/server/chunks/[root-of-the-server]__0_nif9x._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0_uq85o._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0bzczua._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0d~.2wu._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0e30_2-._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0estz38._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0f~qam_._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0h-01m.._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0h12w8h._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0hof.m7._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0i2otbg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0i8s1ez._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0idud4m._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0jbb41r._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0k5dzt7._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0m9skry._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0ob35wz._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0oqmwro._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0p518-s._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0q79ahg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0q8qt00._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0rx61xd._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0s3k8sh._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0sfmlxb._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0sppjv6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0t1c109._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0t8dn-e._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0tsjs49._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0wb10vh._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0xq~4xc._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0y.4qtn._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0z2j3hx._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0zvjpa~._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0zy9wud._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0~2--h0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0~49ero._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0~8b2h-._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__10koc90._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__10z2iah._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__12ww4dj._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13ex1pi._.js +0 -3
- package/standalone/.next/server/chunks/ssr/0xqq_next_dist_0lz8ap0._.js +0 -6
- package/standalone/.next/server/chunks/ssr/0xqq_next_dist_0zdefg~._.js +0 -3
- package/standalone/.next/server/chunks/ssr/0xqq_next_dist_client_components_builtin_forbidden_0hqinps.js +0 -3
- package/standalone/.next/server/chunks/ssr/0xqq_next_dist_client_components_builtin_global-error_10_vrpd.js +0 -3
- package/standalone/.next/server/chunks/ssr/0xqq_next_dist_client_components_builtin_unauthorized_0ili.5_.js +0 -3
- package/standalone/.next/server/chunks/ssr/0xqq_next_dist_esm_build_templates_app-page_0aave80.js +0 -4
- package/standalone/.next/server/chunks/ssr/0xqq_next_dist_esm_build_templates_app-page_0cik78y.js +0 -4
- package/standalone/.next/server/chunks/ssr/0xqq_next_dist_esm_build_templates_app-page_0d4rgnj.js +0 -4
- package/standalone/.next/server/chunks/ssr/0xqq_next_dist_esm_build_templates_app-page_0fev1c9.js +0 -4
- package/standalone/.next/server/chunks/ssr/0xqq_next_dist_esm_build_templates_app-page_0kjoyj0.js +0 -4
- package/standalone/.next/server/chunks/ssr/0xqq_next_dist_esm_build_templates_app-page_0wtkrby.js +0 -4
- package/standalone/.next/server/chunks/ssr/[externals]_next_dist_shared_lib_no-fallback-error_external_0fgm~bn.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__00p0977._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__01gojj5._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__021w61p._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__09_g7l8._.js +0 -11
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0cuzey5._.js +0 -33
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0f1equb._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0huzohk._.js +0 -12
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0z9pk.d._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0~hnz..._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0dv_n64._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0srg9jo._.js +0 -6
- package/standalone/.next/server/chunks/ssr/hindsight-control-plane_092-e4h._.js +0 -6
- package/standalone/.next/server/edge/chunks/0rt3_next_dist_esm_build_templates_edge-wrapper_0bx.bt2.js +0 -3
- package/standalone/.next/server/edge/chunks/0rt3_next_dist_esm_build_templates_edge-wrapper_10yyufs.js +0 -3
- package/standalone/.next/server/edge/chunks/0xqq_next_dist_esm_build_templates_edge-wrapper_00.t9w_.js +0 -3
- package/standalone/.next/server/edge/chunks/[root-of-the-server]__03uqjvz._.js +0 -11
- package/standalone/.next/server/edge/chunks/hindsight-control-plane_0xz8f54._.js +0 -3
- package/standalone/.next/static/chunks/0.48ii2q-yie-.js +0 -3
- package/standalone/.next/static/chunks/04r-p7gk1lv_k.js +0 -2
- package/standalone/.next/static/chunks/08gsr4jnmyyhd.js +0 -1
- package/standalone/.next/static/chunks/0h3rkz9znn5s6.js +0 -31
- package/standalone/.next/static/chunks/0lwpzlu3p_37_.js +0 -1
- package/standalone/.next/static/chunks/0ow-v7.pf1_pu.js +0 -4
- package/standalone/.next/static/chunks/0oyxru0ka.5b8.js +0 -1
- package/standalone/.next/static/chunks/0rc788z.mdy14.js +0 -9
- package/standalone/.next/static/chunks/10tswg3m7bea9.css +0 -2
- package/standalone/.next/static/chunks/110o2cv22kme0.js +0 -1
- package/standalone/.next/static/chunks/11a0z_vz-~75n.js +0 -5
- package/standalone/.next/static/chunks/11h3.87w6dkf7.js +0 -1
- package/standalone/.next/static/chunks/turbopack-0z-lv4_4r7vzv.js +0 -1
- /package/standalone/.next/static/{ivrhmmzua95PoZD_IAvpe → jjcyUHSdhXRM74rBGX4tQ}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{ivrhmmzua95PoZD_IAvpe → jjcyUHSdhXRM74rBGX4tQ}/_ssgManifest.js +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/colour/color.cjs +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/colour/index.cjs +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/colour/package.json +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/README.md +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/lib/index.js +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/package.json +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/versions.json +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/README.md +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/lib/index.js +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/package.json +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/versions.json +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-linux-x64/package.json +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
- /package/standalone/node_modules/{node_modules/@img → @img}/sharp-linuxmusl-x64/package.json +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/api/context.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/api/diag.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/api/metrics.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/api/propagation.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/api/trace.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/baggage/context-helpers.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/baggage/internal/baggage-impl.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/baggage/internal/symbol.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/baggage/utils.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/context/NoopContextManager.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/context/context.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/context-api.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/diag/ComponentLogger.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/diag/consoleLogger.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/diag/internal/logLevelLogger.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/diag/types.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/diag-api.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/index.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/internal/global-utils.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/internal/semver.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/metrics/Metric.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/metrics/NoopMeter.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/metrics/NoopMeterProvider.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/metrics-api.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/platform/index.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/platform/node/globalThis.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/platform/node/index.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/propagation/NoopTextMapPropagator.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/propagation/TextMapPropagator.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/propagation-api.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/NonRecordingSpan.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/NoopTracer.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/NoopTracerProvider.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/ProxyTracer.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/ProxyTracerProvider.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/SamplingResult.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/context-utils.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/internal/tracestate-impl.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/internal/tracestate-validators.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/internal/utils.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/invalid-span-constants.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/span_kind.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/spancontext-utils.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/status.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/trace_flags.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace-api.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/version.js +0 -0
- /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/package.json +0 -0
- /package/standalone/node_modules/{node_modules/@swc → @swc}/helpers/cjs/_interop_require_default.cjs +0 -0
- /package/standalone/node_modules/{node_modules/@swc → @swc}/helpers/cjs/_interop_require_wildcard.cjs +0 -0
- /package/standalone/node_modules/{node_modules/@swc → @swc}/helpers/package.json +0 -0
- /package/standalone/node_modules/{node_modules/client-only → client-only}/index.js +0 -0
- /package/standalone/node_modules/{node_modules/client-only → client-only}/package.json +0 -0
- /package/standalone/node_modules/{node_modules/detect-libc → detect-libc}/lib/detect-libc.js +0 -0
- /package/standalone/node_modules/{node_modules/detect-libc → detect-libc}/lib/elf.js +0 -0
- /package/standalone/node_modules/{node_modules/detect-libc → detect-libc}/lib/filesystem.js +0 -0
- /package/standalone/node_modules/{node_modules/detect-libc → detect-libc}/lib/process.js +0 -0
- /package/standalone/node_modules/{node_modules/detect-libc → detect-libc}/package.json +0 -0
- /package/standalone/node_modules/{node_modules/react → react}/cjs/react-compiler-runtime.production.js +0 -0
- /package/standalone/node_modules/{node_modules/react → react}/cjs/react-jsx-dev-runtime.production.js +0 -0
- /package/standalone/node_modules/{node_modules/react → react}/cjs/react-jsx-runtime.production.js +0 -0
- /package/standalone/node_modules/{node_modules/react → react}/cjs/react.development.js +0 -0
- /package/standalone/node_modules/{node_modules/react → react}/cjs/react.production.js +0 -0
- /package/standalone/node_modules/{node_modules/react → react}/compiler-runtime.js +0 -0
- /package/standalone/node_modules/{node_modules/react → react}/index.js +0 -0
- /package/standalone/node_modules/{node_modules/react → react}/jsx-dev-runtime.js +0 -0
- /package/standalone/node_modules/{node_modules/react → react}/jsx-runtime.js +0 -0
- /package/standalone/node_modules/{node_modules/react → react}/package.json +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom-server-legacy.browser.production.js +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom-server-legacy.node.production.js +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom-server.browser.production.js +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom-server.edge.production.js +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom-server.node.production.js +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom.production.js +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/index.js +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/package.json +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/server.browser.js +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/server.edge.js +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/server.node.js +0 -0
- /package/standalone/node_modules/{node_modules/react-dom → react-dom}/static.node.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/classes/comparator.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/classes/range.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/classes/semver.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/functions/cmp.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/functions/coerce.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/functions/compare.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/functions/eq.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/functions/gt.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/functions/gte.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/functions/lt.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/functions/lte.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/functions/neq.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/functions/parse.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/functions/satisfies.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/internal/constants.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/internal/debug.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/internal/identifiers.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/internal/lrucache.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/internal/parse-options.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/internal/re.js +0 -0
- /package/standalone/node_modules/{node_modules/semver → semver}/package.json +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/channel.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/colour.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/composite.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/constructor.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/index.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/input.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/is.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/libvips.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/operation.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/output.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/resize.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/sharp.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/utility.js +0 -0
- /package/standalone/node_modules/{node_modules/sharp → sharp}/package.json +0 -0
- /package/standalone/node_modules/{node_modules/styled-jsx → styled-jsx}/dist/index/index.js +0 -0
- /package/standalone/node_modules/{node_modules/styled-jsx → styled-jsx}/index.js +0 -0
- /package/standalone/node_modules/{node_modules/styled-jsx → styled-jsx}/package.json +0 -0
- /package/standalone/node_modules/{node_modules/styled-jsx → styled-jsx}/style.js +0 -0
|
@@ -38,7 +38,6 @@ const _resolveopengraph = require("./resolvers/resolve-opengraph");
|
|
|
38
38
|
const _resolvetitle = require("./resolvers/resolve-title");
|
|
39
39
|
const _utils = require("./generate/utils");
|
|
40
40
|
const _appdirmodule = require("../../server/lib/app-dir-module");
|
|
41
|
-
const _interopdefault = require("../interop-default");
|
|
42
41
|
const _resolvebasics = require("./resolvers/resolve-basics");
|
|
43
42
|
const _resolveicons = require("./resolvers/resolve-icons");
|
|
44
43
|
const _tracer = require("../../server/lib/trace/tracer");
|
|
@@ -390,10 +389,9 @@ function getDefinedMetadata(mod, props, tracingProps) {
|
|
|
390
389
|
} : props;
|
|
391
390
|
}
|
|
392
391
|
async function collectStaticImagesFiles(metadata, props, type) {
|
|
393
|
-
var _this;
|
|
394
392
|
if (!(metadata == null ? void 0 : metadata[type])) return undefined;
|
|
395
|
-
const iconPromises = metadata[type].map(async (imageModule)=>await
|
|
396
|
-
return (iconPromises == null ? void 0 : iconPromises.length) > 0 ? (
|
|
393
|
+
const iconPromises = metadata[type].map(async (imageModule)=>await imageModule(props));
|
|
394
|
+
return (iconPromises == null ? void 0 : iconPromises.length) > 0 ? (await Promise.all(iconPromises)).flat() : undefined;
|
|
397
395
|
}
|
|
398
396
|
async function resolveStaticMetadata(modules, props) {
|
|
399
397
|
const { metadata } = modules;
|
|
@@ -72,7 +72,7 @@ async function fetchPkgInfo(pkg) {
|
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
const data = await res.json();
|
|
75
|
-
const versionData = data.versions["16.2.
|
|
75
|
+
const versionData = data.versions["16.2.6"];
|
|
76
76
|
return {
|
|
77
77
|
os: versionData.os,
|
|
78
78
|
cpu: versionData.cpu,
|
|
@@ -100,7 +100,7 @@ async function patchIncorrectLockfile(dir) {
|
|
|
100
100
|
const expectedSwcPkgs = Object.keys(_packagejson.optionalDependencies || {}).filter((pkg)=>pkg.startsWith('@next/swc-'));
|
|
101
101
|
const patchDependency = (pkg, pkgData)=>{
|
|
102
102
|
lockfileParsed.dependencies[pkg] = {
|
|
103
|
-
version: "16.2.
|
|
103
|
+
version: "16.2.6",
|
|
104
104
|
resolved: pkgData.tarball,
|
|
105
105
|
integrity: pkgData.integrity,
|
|
106
106
|
optional: true
|
|
@@ -108,7 +108,7 @@ async function patchIncorrectLockfile(dir) {
|
|
|
108
108
|
};
|
|
109
109
|
const patchPackage = (pkg, pkgData)=>{
|
|
110
110
|
lockfileParsed.packages[pkg] = {
|
|
111
|
-
version: "16.2.
|
|
111
|
+
version: "16.2.6",
|
|
112
112
|
resolved: pkgData.tarball,
|
|
113
113
|
integrity: pkgData.integrity,
|
|
114
114
|
cpu: pkgData.cpu,
|
|
@@ -11,6 +11,7 @@ Object.defineProperty(exports, "getTypeScriptConfiguration", {
|
|
|
11
11
|
const _picocolors = require("../picocolors");
|
|
12
12
|
const _os = /*#__PURE__*/ _interop_require_default(require("os"));
|
|
13
13
|
const _path = /*#__PURE__*/ _interop_require_default(require("path"));
|
|
14
|
+
const _semver = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/semver"));
|
|
14
15
|
const _fatalerror = require("../fatal-error");
|
|
15
16
|
const _iserror = /*#__PURE__*/ _interop_require_default(require("../is-error"));
|
|
16
17
|
function _interop_require_default(obj) {
|
|
@@ -18,6 +19,41 @@ function _interop_require_default(obj) {
|
|
|
18
19
|
default: obj
|
|
19
20
|
};
|
|
20
21
|
}
|
|
22
|
+
function resolvePathAliasTarget(baseUrl, target) {
|
|
23
|
+
if (_path.default.isAbsolute(target) || target.startsWith('./') || target.startsWith('../')) {
|
|
24
|
+
return target;
|
|
25
|
+
}
|
|
26
|
+
if (baseUrl === '.' || baseUrl === './') {
|
|
27
|
+
return `./${target}`;
|
|
28
|
+
}
|
|
29
|
+
const resolvedTarget = _path.default.join(baseUrl, target);
|
|
30
|
+
if (_path.default.isAbsolute(resolvedTarget) || resolvedTarget.startsWith('./') || resolvedTarget.startsWith('../')) {
|
|
31
|
+
return resolvedTarget;
|
|
32
|
+
}
|
|
33
|
+
return `./${resolvedTarget}`;
|
|
34
|
+
}
|
|
35
|
+
function rewritePathAliasesWithoutBaseUrl(baseUrl, originalPaths) {
|
|
36
|
+
const rewrittenPaths = originalPaths && typeof originalPaths === 'object' ? Object.fromEntries(Object.entries(originalPaths).map(([key, values])=>[
|
|
37
|
+
key,
|
|
38
|
+
Array.isArray(values) ? values.map((value)=>typeof value === 'string' ? resolvePathAliasTarget(baseUrl, value) : value) : values
|
|
39
|
+
])) : {
|
|
40
|
+
'*': [
|
|
41
|
+
resolvePathAliasTarget(baseUrl, '*')
|
|
42
|
+
]
|
|
43
|
+
};
|
|
44
|
+
if (!Object.prototype.hasOwnProperty.call(rewrittenPaths, '*')) {
|
|
45
|
+
rewrittenPaths['*'] = [
|
|
46
|
+
resolvePathAliasTarget(baseUrl, '*')
|
|
47
|
+
];
|
|
48
|
+
}
|
|
49
|
+
return rewrittenPaths;
|
|
50
|
+
}
|
|
51
|
+
function getNormalizedBaseUrlForPaths(baseUrl, tsConfigPath) {
|
|
52
|
+
const tsConfigDir = _path.default.resolve(_path.default.dirname(tsConfigPath));
|
|
53
|
+
const absoluteBaseUrl = _path.default.isAbsolute(baseUrl) ? baseUrl : baseUrl.startsWith('./') || baseUrl.startsWith('../') ? _path.default.resolve(tsConfigDir, baseUrl) : _path.default.resolve(baseUrl);
|
|
54
|
+
const relativeBaseUrl = _path.default.relative(tsConfigDir, absoluteBaseUrl);
|
|
55
|
+
return relativeBaseUrl || '.';
|
|
56
|
+
}
|
|
21
57
|
async function getTypeScriptConfiguration(typescript, tsConfigPath, metaOnly) {
|
|
22
58
|
try {
|
|
23
59
|
var _result_errors;
|
|
@@ -35,6 +71,39 @@ async function getTypeScriptConfiguration(typescript, tsConfigPath, metaOnly) {
|
|
|
35
71
|
});
|
|
36
72
|
}
|
|
37
73
|
let configToParse = config;
|
|
74
|
+
if (_semver.default.gte(typescript.version, '6.0.0')) {
|
|
75
|
+
var _configToParse_compilerOptions, _configToParse_compilerOptions1;
|
|
76
|
+
const target = (_configToParse_compilerOptions = configToParse.compilerOptions) == null ? void 0 : _configToParse_compilerOptions.target;
|
|
77
|
+
if (typeof target === 'string' && (target.toLowerCase() === 'es3' || target.toLowerCase() === 'es5')) {
|
|
78
|
+
const { target: _target, ...restCompilerOptions } = configToParse.compilerOptions ?? {};
|
|
79
|
+
// TypeScript 6 deprecates ES3/ES5 targets. Rewrite deprecated
|
|
80
|
+
// targets in-memory to keep typechecking working without requiring
|
|
81
|
+
// `ignoreDeprecations`.
|
|
82
|
+
configToParse = {
|
|
83
|
+
...configToParse,
|
|
84
|
+
compilerOptions: {
|
|
85
|
+
...restCompilerOptions,
|
|
86
|
+
target: 'es2015'
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
const baseUrl = (_configToParse_compilerOptions1 = configToParse.compilerOptions) == null ? void 0 : _configToParse_compilerOptions1.baseUrl;
|
|
91
|
+
const hasBaseUrl = typeof baseUrl === 'string' && baseUrl.length > 0;
|
|
92
|
+
if (hasBaseUrl) {
|
|
93
|
+
var _configToParse_compilerOptions2;
|
|
94
|
+
const rewrittenPaths = rewritePathAliasesWithoutBaseUrl(baseUrl, (_configToParse_compilerOptions2 = configToParse.compilerOptions) == null ? void 0 : _configToParse_compilerOptions2.paths);
|
|
95
|
+
const { baseUrl: _baseUrl, ...restCompilerOptions } = configToParse.compilerOptions ?? {};
|
|
96
|
+
// TypeScript 6 deprecates `baseUrl`; rewrite aliases to explicit
|
|
97
|
+
// relative paths so path mapping still works without this option.
|
|
98
|
+
configToParse = {
|
|
99
|
+
...configToParse,
|
|
100
|
+
compilerOptions: {
|
|
101
|
+
...restCompilerOptions,
|
|
102
|
+
paths: rewrittenPaths
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
}
|
|
38
107
|
const result = typescript.parseJsonConfigFileContent(configToParse, // When only interested in meta info,
|
|
39
108
|
// avoid enumerating all files (for performance reasons)
|
|
40
109
|
metaOnly ? {
|
|
@@ -45,6 +114,17 @@ async function getTypeScriptConfiguration(typescript, tsConfigPath, metaOnly) {
|
|
|
45
114
|
];
|
|
46
115
|
}
|
|
47
116
|
} : typescript.sys, _path.default.dirname(tsConfigPath));
|
|
117
|
+
if (_semver.default.gte(typescript.version, '6.0.0')) {
|
|
118
|
+
const parsedBaseUrl = result.options.baseUrl;
|
|
119
|
+
if (typeof parsedBaseUrl === 'string' && parsedBaseUrl.length > 0) {
|
|
120
|
+
const normalizedBaseUrl = getNormalizedBaseUrlForPaths(parsedBaseUrl, tsConfigPath);
|
|
121
|
+
// `baseUrl` can come from extended tsconfigs. Rewrite paths from the
|
|
122
|
+
// fully-resolved baseUrl and remove it so TS6 deprecation checks do not
|
|
123
|
+
// fail type checking.
|
|
124
|
+
result.options.paths = rewritePathAliasesWithoutBaseUrl(normalizedBaseUrl, result.options.paths);
|
|
125
|
+
delete result.options.baseUrl;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
48
128
|
if (result.errors) {
|
|
49
129
|
result.errors = result.errors.filter(({ code })=>// No inputs were found in config file
|
|
50
130
|
code !== 18003);
|
|
@@ -74,7 +74,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
74
74
|
return newObj;
|
|
75
75
|
}
|
|
76
76
|
function getDesiredCompilerOptions(typescriptVersion, userTsConfig) {
|
|
77
|
-
var _userTsConfig_compilerOptions_module,
|
|
77
|
+
var _userTsConfig_compilerOptions, _userTsConfig_compilerOptions_module, _userTsConfig_compilerOptions1, _userTsConfig_compilerOptions2;
|
|
78
78
|
// ModuleKind
|
|
79
79
|
const moduleKindESNext = 'esnext';
|
|
80
80
|
const moduleKindES2020 = 'es2020';
|
|
@@ -85,9 +85,12 @@ function getDesiredCompilerOptions(typescriptVersion, userTsConfig) {
|
|
|
85
85
|
const moduleKindAMD = 'amd';
|
|
86
86
|
// ModuleResolutionKind
|
|
87
87
|
const moduleResolutionKindBundler = 'bundler';
|
|
88
|
-
const
|
|
88
|
+
const moduleResolutionKindNode16 = 'node16';
|
|
89
|
+
const moduleResolutionKindNodeNext = 'nodenext';
|
|
89
90
|
const moduleResolutionKindNode12 = 'node12';
|
|
90
|
-
const
|
|
91
|
+
const moduleResolutionKindNode = 'node';
|
|
92
|
+
const configuredModule = typeof (userTsConfig == null ? void 0 : (_userTsConfig_compilerOptions = userTsConfig.compilerOptions) == null ? void 0 : _userTsConfig_compilerOptions.module) === 'string' ? userTsConfig.compilerOptions.module.toLowerCase() : undefined;
|
|
93
|
+
const preferBundlerResolution = _semver.default.gte(typescriptVersion, '5.0.0') && configuredModule !== moduleKindCommonJS && configuredModule !== moduleKindAMD;
|
|
91
94
|
// Jsx
|
|
92
95
|
const jsxEmitReactJSX = 'react-jsx';
|
|
93
96
|
return {
|
|
@@ -138,35 +141,35 @@ function getDesiredCompilerOptions(typescriptVersion, userTsConfig) {
|
|
|
138
141
|
reason: 'for dynamic import() support'
|
|
139
142
|
},
|
|
140
143
|
// TODO: Semver check not needed once Next.js repo uses 5.4.
|
|
141
|
-
..._semver.default.gte(typescriptVersion, '5.4.0') && (userTsConfig == null ? void 0 : (
|
|
144
|
+
..._semver.default.gte(typescriptVersion, '5.4.0') && (userTsConfig == null ? void 0 : (_userTsConfig_compilerOptions1 = userTsConfig.compilerOptions) == null ? void 0 : (_userTsConfig_compilerOptions_module = _userTsConfig_compilerOptions1.module) == null ? void 0 : _userTsConfig_compilerOptions_module.toLowerCase()) === moduleKindPreserve ? {
|
|
142
145
|
} : {
|
|
143
146
|
esModuleInterop: {
|
|
144
147
|
value: true,
|
|
145
148
|
reason: 'requirement for SWC / babel'
|
|
146
149
|
},
|
|
147
150
|
moduleResolution: {
|
|
148
|
-
|
|
149
|
-
parsedValue: moduleResolutionKindBundler,
|
|
151
|
+
parsedValue: preferBundlerResolution ? moduleResolutionKindBundler : moduleResolutionKindNode,
|
|
150
152
|
// All of these values work:
|
|
151
|
-
parsedValues: [
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
// only newer TypeScript versions have this field, it
|
|
155
|
-
// will be filtered for new versions of TypeScript
|
|
156
|
-
moduleResolutionKindNode12,
|
|
157
|
-
moduleKindNode16,
|
|
158
|
-
moduleKindNodeNext,
|
|
153
|
+
parsedValues: preferBundlerResolution ? [
|
|
154
|
+
moduleResolutionKindNode16,
|
|
155
|
+
moduleResolutionKindNodeNext,
|
|
159
156
|
moduleResolutionKindBundler
|
|
160
|
-
]
|
|
161
|
-
|
|
162
|
-
|
|
157
|
+
] : [
|
|
158
|
+
moduleResolutionKindNode,
|
|
159
|
+
// only older TypeScript versions have this field
|
|
160
|
+
moduleResolutionKindNode12,
|
|
161
|
+
moduleResolutionKindNode16,
|
|
162
|
+
moduleResolutionKindNodeNext
|
|
163
|
+
],
|
|
164
|
+
value: preferBundlerResolution ? moduleResolutionKindBundler : moduleResolutionKindNode,
|
|
165
|
+
reason: preferBundlerResolution ? 'to match modern bundler resolution' : 'to match webpack resolution'
|
|
163
166
|
},
|
|
164
167
|
resolveJsonModule: {
|
|
165
168
|
value: true,
|
|
166
169
|
reason: 'to match webpack resolution'
|
|
167
170
|
}
|
|
168
171
|
},
|
|
169
|
-
...(userTsConfig == null ? void 0 : (
|
|
172
|
+
...(userTsConfig == null ? void 0 : (_userTsConfig_compilerOptions2 = userTsConfig.compilerOptions) == null ? void 0 : _userTsConfig_compilerOptions2.verbatimModuleSyntax) === true ? undefined : {
|
|
170
173
|
isolatedModules: {
|
|
171
174
|
value: true,
|
|
172
175
|
reason: 'requirement for SWC / Babel'
|
|
@@ -206,9 +209,10 @@ function getRequiredConfiguration(typescript) {
|
|
|
206
209
|
} else if (optionKey === 'moduleResolution' && typeof value === 'string') {
|
|
207
210
|
const moduleResolutionMap = {
|
|
208
211
|
bundler: typescript.ModuleResolutionKind.Bundler,
|
|
209
|
-
|
|
212
|
+
node16: typescript.ModuleResolutionKind.Node16,
|
|
213
|
+
nodenext: typescript.ModuleResolutionKind.NodeNext,
|
|
210
214
|
node12: typescript.ModuleResolutionKind.Node12,
|
|
211
|
-
node: typescript.ModuleResolutionKind.NodeJs
|
|
215
|
+
node: typescript.ModuleResolutionKind.Node10 ?? typescript.ModuleResolutionKind.NodeJs
|
|
212
216
|
};
|
|
213
217
|
res[optionKey] = moduleResolutionMap[value.toLowerCase()] ?? value;
|
|
214
218
|
} else if (optionKey === 'jsx' && typeof value === 'string') {
|
|
@@ -47,6 +47,7 @@ const _revalidationutils = require("../revalidation-utils");
|
|
|
47
47
|
const _requestmeta = require("../request-meta");
|
|
48
48
|
const _setcachebustingsearchparam = require("../../client/components/router-reducer/set-cache-busting-search-param");
|
|
49
49
|
const _actionrevalidationkind = require("../../shared/lib/action-revalidation-kind");
|
|
50
|
+
const _cachebustingsearchparam = require("../../shared/lib/router/utils/cache-busting-search-param");
|
|
50
51
|
function _interop_require_default(obj) {
|
|
51
52
|
return obj && obj.__esModule ? obj : {
|
|
52
53
|
default: obj
|
|
@@ -265,12 +266,8 @@ async function createRedirectRenderResult(req, res, originalHost, redirectUrl, r
|
|
|
265
266
|
forwardedHeaders.delete(_approuterheaders.ACTION_HEADER);
|
|
266
267
|
try {
|
|
267
268
|
var _response_headers_get;
|
|
268
|
-
(0,
|
|
269
|
-
|
|
270
|
-
[_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: forwardedHeaders.get(_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER) ?? undefined,
|
|
271
|
-
[_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER]: forwardedHeaders.get(_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER) ?? undefined,
|
|
272
|
-
[_approuterheaders.NEXT_URL]: forwardedHeaders.get(_approuterheaders.NEXT_URL) ?? undefined
|
|
273
|
-
});
|
|
269
|
+
const cacheBustingSearchParam = await (0, _cachebustingsearchparam.computeCacheBustingSearchParam)(forwardedHeaders.get(_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER) ? '1' : undefined, forwardedHeaders.get(_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER) ?? undefined, forwardedHeaders.get(_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER) ?? undefined, forwardedHeaders.get(_approuterheaders.NEXT_URL) ?? undefined);
|
|
270
|
+
(0, _setcachebustingsearchparam.setCacheBustingSearchParamWithHash)(fetchUrl, cacheBustingSearchParam);
|
|
274
271
|
const response = await fetch(fetchUrl, {
|
|
275
272
|
method: 'GET',
|
|
276
273
|
headers: forwardedHeaders,
|
|
@@ -17,6 +17,7 @@ const _internalutils = require("../internal-utils");
|
|
|
17
17
|
const _approuterheaders = require("../../client/components/app-router-headers");
|
|
18
18
|
const _metadatacontext = require("../../lib/metadata/metadata-context");
|
|
19
19
|
const _requeststore = require("../async-storage/request-store");
|
|
20
|
+
const _isrscrequest = require("../lib/is-rsc-request");
|
|
20
21
|
const _workstore = require("../async-storage/work-store");
|
|
21
22
|
const _httpaccessfallback = require("../../client/components/http-access-fallback/http-access-fallback");
|
|
22
23
|
const _redirect = require("../../client/components/redirect");
|
|
@@ -158,7 +159,7 @@ function parseRequestHeaders(headers, options) {
|
|
|
158
159
|
const isPrefetchRequest = headers[_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER] === '1';
|
|
159
160
|
const isRuntimePrefetchRequest = headers[_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER] === '2';
|
|
160
161
|
const isHmrRefresh = headers[_approuterheaders.NEXT_HMR_REFRESH_HEADER] !== undefined;
|
|
161
|
-
const isRSCRequest = headers[_approuterheaders.RSC_HEADER]
|
|
162
|
+
const isRSCRequest = (0, _isrscrequest.isRSCRequestHeader)(headers[_approuterheaders.RSC_HEADER]);
|
|
162
163
|
const shouldProvideFlightRouterState = isRSCRequest && (!isPrefetchRequest || !options.isRoutePPREnabled);
|
|
163
164
|
const flightRouterState = shouldProvideFlightRouterState ? (0, _parseandvalidateflightrouterstate.parseAndValidateFlightRouterState)(headers[_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER]) : undefined;
|
|
164
165
|
// Checks if this is a prefetch of the Route Tree by the Segment Cache
|
|
@@ -252,6 +253,29 @@ function createNotFoundLoaderTree(loaderTree) {
|
|
|
252
253
|
null
|
|
253
254
|
];
|
|
254
255
|
}
|
|
256
|
+
function hasPrerenderHTTPErrorBoundary(loaderTree, triggeredStatus, authInterrupts) {
|
|
257
|
+
switch(triggeredStatus){
|
|
258
|
+
case 404:
|
|
259
|
+
return !!loaderTree[2]['not-found'];
|
|
260
|
+
case 403:
|
|
261
|
+
return authInterrupts && !!loaderTree[2].forbidden;
|
|
262
|
+
case 401:
|
|
263
|
+
return authInterrupts && !!loaderTree[2].unauthorized;
|
|
264
|
+
default:
|
|
265
|
+
return false;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
function findPrerenderHTTPErrorBoundaryTree(loaderTree, triggeredStatus, authInterrupts) {
|
|
269
|
+
let boundaryTree = hasPrerenderHTTPErrorBoundary(loaderTree, triggeredStatus, authInterrupts) ? loaderTree : null;
|
|
270
|
+
const childrenTree = loaderTree[1].children;
|
|
271
|
+
if (childrenTree) {
|
|
272
|
+
const deeperBoundaryTree = findPrerenderHTTPErrorBoundaryTree(childrenTree, triggeredStatus, authInterrupts);
|
|
273
|
+
if (deeperBoundaryTree) {
|
|
274
|
+
boundaryTree = deeperBoundaryTree;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
return boundaryTree;
|
|
278
|
+
}
|
|
255
279
|
/**
|
|
256
280
|
* Returns a function that parses the dynamic segment and return the associated value.
|
|
257
281
|
*/ function makeGetDynamicParamFromSegment(interpolatedParams, fallbackRouteParams, optimisticRouting) {
|
|
@@ -940,7 +964,7 @@ function getRenderedSearch(query) {
|
|
|
940
964
|
// This is the data necessary to render <AppRouter /> when no SSR errors are encountered
|
|
941
965
|
async function getRSCPayload(tree, ctx, options) {
|
|
942
966
|
var _ctx_renderOpts_prefetchHints;
|
|
943
|
-
const { is404, staleTimeIterable, staticStageByteLengthPromise, runtimePrefetchStream } = options;
|
|
967
|
+
const { is404, prerenderHTTPError, staleTimeIterable, staticStageByteLengthPromise, runtimePrefetchStream } = options;
|
|
944
968
|
const injectedCSS = new Set();
|
|
945
969
|
const injectedJS = new Set();
|
|
946
970
|
const injectedFontPreloadTags = new Set();
|
|
@@ -984,7 +1008,8 @@ async function getRSCPayload(tree, ctx, options) {
|
|
|
984
1008
|
missingSlots,
|
|
985
1009
|
preloadCallbacks,
|
|
986
1010
|
authInterrupts: ctx.renderOpts.experimental.authInterrupts,
|
|
987
|
-
MetadataOutlet
|
|
1011
|
+
MetadataOutlet,
|
|
1012
|
+
prerenderHTTPError
|
|
988
1013
|
});
|
|
989
1014
|
// When the `vary` response header is present with `Next-URL`, that means there's a chance
|
|
990
1015
|
// it could respond differently if there's an interception route. We provide this information
|
|
@@ -1589,6 +1614,7 @@ const renderToHTMLOrFlight = (req, res, pagePath, query, fallbackRouteParams, re
|
|
|
1589
1614
|
// @TODO move to workUnitStore of type Request
|
|
1590
1615
|
isPrefetchRequest,
|
|
1591
1616
|
buildId: sharedContext.buildId,
|
|
1617
|
+
deploymentId: sharedContext.deploymentId,
|
|
1592
1618
|
previouslyRevalidatedTags,
|
|
1593
1619
|
nonce
|
|
1594
1620
|
});
|
|
@@ -3199,6 +3225,7 @@ async function validateInstantConfigInBuildWithSample(outerCtx, sample, allPossi
|
|
|
3199
3225
|
isDraftMode: false,
|
|
3200
3226
|
isPrefetchRequest: false,
|
|
3201
3227
|
buildId: outerWorkStore.buildId,
|
|
3228
|
+
deploymentId: outerWorkStore.deploymentId,
|
|
3202
3229
|
reactLoadableManifest: outerWorkStore.reactLoadableManifest,
|
|
3203
3230
|
assetPrefix: outerWorkStore.assetPrefix,
|
|
3204
3231
|
nonce: outerWorkStore.nonce,
|
|
@@ -4285,11 +4312,35 @@ async function prerenderToStream(req, res, ctx, metadata, tree, fallbackRoutePar
|
|
|
4285
4312
|
...(prerenderStore == null ? void 0 : prerenderStore.tags) || implicitTags.tags
|
|
4286
4313
|
]
|
|
4287
4314
|
};
|
|
4288
|
-
|
|
4289
|
-
|
|
4315
|
+
let prerenderHTTPError;
|
|
4316
|
+
if (cacheComponents && (0, _httpaccessfallback.isHTTPAccessFallbackError)(err)) {
|
|
4317
|
+
const triggeredStatus = (0, _httpaccessfallback.getAccessFallbackHTTPStatus)(err);
|
|
4318
|
+
const boundaryTree = findPrerenderHTTPErrorBoundaryTree(tree, triggeredStatus, ctx.renderOpts.experimental.authInterrupts);
|
|
4319
|
+
if (boundaryTree) {
|
|
4320
|
+
prerenderHTTPError = {
|
|
4321
|
+
boundaryTree,
|
|
4322
|
+
triggeredStatus
|
|
4323
|
+
};
|
|
4324
|
+
}
|
|
4325
|
+
}
|
|
4326
|
+
const errorRSCPayload = prerenderHTTPError ? await _workunitasyncstorageexternal.workUnitAsyncStorage.run(prerenderLegacyStore, getRSCPayload, tree, ctx, {
|
|
4327
|
+
is404: errorType === 'not-found',
|
|
4328
|
+
prerenderHTTPError
|
|
4329
|
+
}) : await _workunitasyncstorageexternal.workUnitAsyncStorage.run(prerenderLegacyStore, getErrorRSCPayload, tree, ctx, reactServerErrorsByDigest.has(err.digest) ? undefined : err, errorType);
|
|
4330
|
+
const errorServerStreamRaw = _workunitasyncstorageexternal.workUnitAsyncStorage.run(prerenderLegacyStore, _streamops.renderToFlightStream, ComponentMod, errorRSCPayload, clientModules, {
|
|
4290
4331
|
filterStackFrame,
|
|
4291
4332
|
onError: serverComponentsErrorHandler
|
|
4292
4333
|
});
|
|
4334
|
+
let errorServerStream = errorServerStreamRaw;
|
|
4335
|
+
const errorFlightResultPromise = prerenderHTTPError ? (()=>{
|
|
4336
|
+
// Fizz still needs to read the Flight stream to render ErrorApp, but
|
|
4337
|
+
// the prerender path also needs a buffered Flight result for the HTML
|
|
4338
|
+
// prelude and segment data collectors. Tee the stream so each consumer
|
|
4339
|
+
// gets its own copy.
|
|
4340
|
+
const [appStream, flightStream] = errorServerStreamRaw.tee();
|
|
4341
|
+
errorServerStream = appStream;
|
|
4342
|
+
return (0, _apprenderprerenderutils.createReactServerPrerenderResultFromRender)(flightStream);
|
|
4343
|
+
})() : null;
|
|
4293
4344
|
try {
|
|
4294
4345
|
const { stream: errorHtmlStream } = await _workunitasyncstorageexternal.workUnitAsyncStorage.run(prerenderLegacyStore, _streamops.renderToFizzStream, // eslint-disable-next-line @next/internal/no-ambiguous-jsx
|
|
4295
4346
|
/*#__PURE__*/ (0, _jsxruntime.jsx)(ErrorApp, {
|
|
@@ -4305,14 +4356,16 @@ async function prerenderToStream(req, res, ctx, metadata, tree, fallbackRoutePar
|
|
|
4305
4356
|
],
|
|
4306
4357
|
formState
|
|
4307
4358
|
});
|
|
4359
|
+
const resolvedFlightResult = errorFlightResultPromise ? await errorFlightResultPromise : reactServerPrerenderResult;
|
|
4360
|
+
if (errorFlightResultPromise) {
|
|
4361
|
+
reactServerPrerenderResult.consume();
|
|
4362
|
+
}
|
|
4308
4363
|
if (shouldGenerateStaticFlightData(workStore)) {
|
|
4309
|
-
const flightData = await (0, _streamops.streamToBuffer)(
|
|
4364
|
+
const flightData = await (0, _streamops.streamToBuffer)(resolvedFlightResult.asStream());
|
|
4310
4365
|
metadata.flightData = flightData;
|
|
4311
4366
|
await collectSegmentData(flightData, prerenderLegacyStore, ComponentMod, renderOpts, ctx.pagePath, metadata);
|
|
4312
4367
|
}
|
|
4313
|
-
|
|
4314
|
-
// render rather than the flight data from the error page render
|
|
4315
|
-
const flightStream = reactServerPrerenderResult.consumeAsStream();
|
|
4368
|
+
const flightStream = resolvedFlightResult.consumeAsStream();
|
|
4316
4369
|
return {
|
|
4317
4370
|
digestErrorsMap: reactServerErrorsByDigest,
|
|
4318
4371
|
ssrErrors: allCapturedErrors,
|
|
@@ -121,8 +121,24 @@ async function collectSegmentData(isCacheComponentsEnabled, fullPageDataBuffer,
|
|
|
121
121
|
// Now that we've finished rendering the route tree, all the segment tasks
|
|
122
122
|
// should have been spawned. Await them in parallel and write the segment
|
|
123
123
|
// prefetches to the result map.
|
|
124
|
+
let hasPageSegment = false;
|
|
124
125
|
for (const [segmentPath, buffer] of (await Promise.all(segmentTasks))){
|
|
125
126
|
resultMap.set(segmentPath, buffer);
|
|
127
|
+
if (segmentPath.endsWith('__PAGE__')) {
|
|
128
|
+
hasPageSegment = true;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
if (!hasPageSegment) {
|
|
132
|
+
// The build requires at least one segment path ending with __PAGE__ to
|
|
133
|
+
// register the catch-all segment data route. When all page segments are
|
|
134
|
+
// disabled (e.g. every leaf has runtime prefetching), no __PAGE__ entry
|
|
135
|
+
// is emitted. Write a dummy entry with a path that doesn't match any
|
|
136
|
+
// real route segment so the client will never request it.
|
|
137
|
+
//
|
|
138
|
+
// TODO: Remove the __PAGE__ requirement from the build instead of
|
|
139
|
+
// working around it here. The invariant is outdated now that segments
|
|
140
|
+
// can be disabled.
|
|
141
|
+
resultMap.set('/todo-remove-fake-segment/__PAGE__', Buffer.alloc(0));
|
|
126
142
|
}
|
|
127
143
|
return resultMap;
|
|
128
144
|
}
|
|
@@ -51,7 +51,7 @@ function errorMissingDefaultExport(pagePath, convention) {
|
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
const cacheNodeKey = 'c';
|
|
54
|
-
async function createComponentTreeInternal({ loaderTree: tree, parentParams, parentOptionalCatchAllParamName, parentRuntimePrefetchable, rootLayoutIncluded, injectedCSS, injectedJS, injectedFontPreloadTags, ctx, missingSlots, preloadCallbacks, authInterrupts, MetadataOutlet }, isRoot) {
|
|
54
|
+
async function createComponentTreeInternal({ loaderTree: tree, parentParams, parentOptionalCatchAllParamName, parentRuntimePrefetchable, rootLayoutIncluded, injectedCSS, injectedJS, injectedFontPreloadTags, ctx, missingSlots, preloadCallbacks, authInterrupts, MetadataOutlet, prerenderHTTPError }, isRoot) {
|
|
55
55
|
const { renderOpts: { nextConfigOutput, experimental, cacheComponents }, workStore, componentMod: { createElement, Fragment, SegmentViewNode, HTTPAccessFallbackBoundary, LayoutRouter, RenderFromTemplateContext, ClientPageRoot, ClientSegmentRoot, createServerSearchParamsForServerPage, createPrerenderSearchParamsForClientPage, createServerParamsForServerSegment, createPrerenderParamsForClientSegment, serverHooks: { DynamicServerError }, Postpone }, pagePath, getDynamicParamFromSegment, isPrefetch, query } = ctx;
|
|
56
56
|
const { page, conventionPath, segment, modules, parallelRoutes } = (0, _parseloadertree.parseLoaderTree)(tree);
|
|
57
57
|
const { layout, template, error, loading, 'not-found': notFound, forbidden, unauthorized } = modules;
|
|
@@ -382,24 +382,54 @@ async function createComponentTreeInternal({ loaderTree: tree, parentParams, par
|
|
|
382
382
|
missingSlots.add(parallelRouteKey);
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
385
|
+
// The outer prerender catch already found the deepest segment whose
|
|
386
|
+
// HTTP fallback should replace the throwing page. When we reach that
|
|
387
|
+
// segment's `children` slot, render the fallback directly instead of
|
|
388
|
+
// descending back into the subtree that threw during deserialization.
|
|
389
|
+
// Like the other segment-level boundary props below, HTTP access
|
|
390
|
+
// fallbacks are attached to the default `children` slot, not to named
|
|
391
|
+
// parallel routes.
|
|
392
|
+
const shouldRenderPrerenderHTTPFallback = (prerenderHTTPError == null ? void 0 : prerenderHTTPError.boundaryTree) === tree && isChildrenRouteKey;
|
|
393
|
+
if (shouldRenderPrerenderHTTPFallback) {
|
|
394
|
+
let fallbackElement;
|
|
395
|
+
switch(prerenderHTTPError.triggeredStatus){
|
|
396
|
+
case 404:
|
|
397
|
+
fallbackElement = notFoundElement;
|
|
398
|
+
break;
|
|
399
|
+
case 403:
|
|
400
|
+
fallbackElement = forbiddenElement;
|
|
401
|
+
break;
|
|
402
|
+
case 401:
|
|
403
|
+
fallbackElement = unauthorizedElement;
|
|
404
|
+
break;
|
|
405
|
+
default:
|
|
406
|
+
break;
|
|
407
|
+
}
|
|
408
|
+
if (fallbackElement) {
|
|
409
|
+
childCacheNodeSeedData = createSeedData(ctx, fallbackElement, {}, null, isPossiblyPartialResponse, false, _varyparams.emptyVaryParamsAccumulator);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
if (childCacheNodeSeedData === null) {
|
|
413
|
+
const seedData = await createComponentTreeInternal({
|
|
414
|
+
loaderTree: parallelRoute,
|
|
415
|
+
parentParams: currentParams,
|
|
416
|
+
parentOptionalCatchAllParamName: optionalCatchAllParamName,
|
|
417
|
+
parentRuntimePrefetchable: isRuntimePrefetchable,
|
|
418
|
+
rootLayoutIncluded: rootLayoutIncludedAtThisLevelOrAbove,
|
|
419
|
+
injectedCSS: injectedCSSWithCurrentLayout,
|
|
420
|
+
injectedJS: injectedJSWithCurrentLayout,
|
|
421
|
+
injectedFontPreloadTags: injectedFontPreloadTagsWithCurrentLayout,
|
|
422
|
+
ctx,
|
|
423
|
+
missingSlots,
|
|
424
|
+
preloadCallbacks,
|
|
425
|
+
authInterrupts,
|
|
426
|
+
// `StreamingMetadataOutlet` is used to conditionally throw. In the case of parallel routes we will have more than one page
|
|
427
|
+
// but we only want to throw on the first one.
|
|
428
|
+
MetadataOutlet: isChildrenRouteKey ? MetadataOutlet : null,
|
|
429
|
+
prerenderHTTPError
|
|
430
|
+
}, false);
|
|
431
|
+
childCacheNodeSeedData = seedData;
|
|
432
|
+
}
|
|
403
433
|
}
|
|
404
434
|
const templateNode = createElement(Template, null, createElement(RenderFromTemplateContext, null));
|
|
405
435
|
const templateFilePath = (0, _segmentexplorerpath.getConventionPathByType)(tree, dir, 'template');
|
|
@@ -8,9 +8,8 @@ Object.defineProperty(exports, "getScriptNonceFromHeader", {
|
|
|
8
8
|
return getScriptNonceFromHeader;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
const
|
|
11
|
+
const CSP_NONCE_SOURCE_REGEX = /^'nonce-([A-Za-z0-9+/_-]+={0,2})'$/;
|
|
12
12
|
function getScriptNonceFromHeader(cspHeaderValue) {
|
|
13
|
-
var _directive_split_slice_map_find;
|
|
14
13
|
const directives = cspHeaderValue// Directives are split by ';'.
|
|
15
14
|
.split(';').map((directive)=>directive.trim());
|
|
16
15
|
// First try to find the directive for the 'script-src', otherwise try to
|
|
@@ -20,25 +19,14 @@ function getScriptNonceFromHeader(cspHeaderValue) {
|
|
|
20
19
|
if (!directive) {
|
|
21
20
|
return;
|
|
22
21
|
}
|
|
23
|
-
// Extract the nonce from the directive
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
// Don't accept the nonce value if it contains HTML escape characters.
|
|
32
|
-
// Technically, the spec requires a base64'd value, but this is just an
|
|
33
|
-
// extra layer.
|
|
34
|
-
if (_htmlescape.ESCAPE_REGEX.test(nonce)) {
|
|
35
|
-
throw Object.defineProperty(new Error('Nonce value from Content-Security-Policy contained HTML escape characters.\nLearn more: https://nextjs.org/docs/messages/nonce-contained-invalid-characters'), "__NEXT_ERROR_CODE", {
|
|
36
|
-
value: "E440",
|
|
37
|
-
enumerable: false,
|
|
38
|
-
configurable: true
|
|
39
|
-
});
|
|
22
|
+
// Extract the first valid nonce from the directive. Malformed nonces are
|
|
23
|
+
// ignored so the request can continue without a nonce instead of failing.
|
|
24
|
+
for (const source of directive.split(/\s+/).slice(1)){
|
|
25
|
+
const match = source.trim().match(CSP_NONCE_SOURCE_REGEX);
|
|
26
|
+
if (match) {
|
|
27
|
+
return match[1];
|
|
28
|
+
}
|
|
40
29
|
}
|
|
41
|
-
return nonce;
|
|
42
30
|
}
|
|
43
31
|
|
|
44
32
|
//# sourceMappingURL=get-script-nonce-from-header.js.map
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* For chromium based browsers (Chrome, Edge, etc.) and Safari,
|
|
3
|
-
* icons need to stay under <head> to be picked up by the browser.
|
|
4
|
-
*
|
|
5
|
-
*/ "use strict";
|
|
1
|
+
"use strict";
|
|
6
2
|
Object.defineProperty(exports, "__esModule", {
|
|
7
3
|
value: true
|
|
8
4
|
});
|
|
@@ -12,7 +8,12 @@ Object.defineProperty(exports, "createServerInsertedMetadata", {
|
|
|
12
8
|
return createServerInsertedMetadata;
|
|
13
9
|
}
|
|
14
10
|
});
|
|
15
|
-
const
|
|
11
|
+
const _htmlescape = require("../../../shared/lib/htmlescape");
|
|
12
|
+
/**
|
|
13
|
+
* For chromium based browsers (Chrome, Edge, etc.) and Safari,
|
|
14
|
+
* icons need to stay under <head> to be picked up by the browser.
|
|
15
|
+
*
|
|
16
|
+
*/ const REINSERT_ICON_SCRIPT = `\
|
|
16
17
|
document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))`;
|
|
17
18
|
function createServerInsertedMetadata(nonce) {
|
|
18
19
|
let inserted = false;
|
|
@@ -21,7 +22,7 @@ function createServerInsertedMetadata(nonce) {
|
|
|
21
22
|
return '';
|
|
22
23
|
}
|
|
23
24
|
inserted = true;
|
|
24
|
-
return `<script
|
|
25
|
+
return `<script${nonce ? ` nonce="${(0, _htmlescape.htmlEscapeAttributeString)(nonce)}"` : ''}>${REINSERT_ICON_SCRIPT}</script>`;
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
28
|
|
|
@@ -20,7 +20,7 @@ _export(exports, {
|
|
|
20
20
|
return getFlightStream;
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
|
-
const _htmlescape = require("
|
|
23
|
+
const _htmlescape = require("../../shared/lib/htmlescape");
|
|
24
24
|
const _workunitasyncstorageexternal = require("./work-unit-async-storage.external");
|
|
25
25
|
const _invarianterror = require("../../shared/lib/invariant-error");
|
|
26
26
|
const _manifestssingleton = require("./manifests-singleton");
|
|
@@ -135,7 +135,7 @@ function getFlightStream(flightStream, debugStream, debugEndTime, nonce) {
|
|
|
135
135
|
return newResponse;
|
|
136
136
|
}
|
|
137
137
|
function createInlinedDataReadableStream(flightStream, nonce, formState) {
|
|
138
|
-
const startScriptTag = nonce ? `<script nonce
|
|
138
|
+
const startScriptTag = nonce ? `<script nonce="${(0, _htmlescape.htmlEscapeAttributeString)(nonce)}">` : '<script>';
|
|
139
139
|
const flightReader = flightStream.getReader();
|
|
140
140
|
const decoder = new TextDecoder('utf-8', {
|
|
141
141
|
fatal: true
|
|
@@ -13,7 +13,7 @@ const _apppaths = require("../../shared/lib/router/utils/app-paths");
|
|
|
13
13
|
const _lazyresult = require("../lib/lazy-result");
|
|
14
14
|
const _handlers = require("../use-cache/handlers");
|
|
15
15
|
const _asynclocalstorage = require("../app-render/async-local-storage");
|
|
16
|
-
function createWorkStore({ page, renderOpts, isPrefetchRequest, buildId, previouslyRevalidatedTags, nonce }) {
|
|
16
|
+
function createWorkStore({ page, renderOpts, isPrefetchRequest, buildId, deploymentId, previouslyRevalidatedTags, nonce }) {
|
|
17
17
|
/**
|
|
18
18
|
* Rules of Static & Dynamic HTML:
|
|
19
19
|
*
|
|
@@ -49,6 +49,7 @@ function createWorkStore({ page, renderOpts, isPrefetchRequest, buildId, previou
|
|
|
49
49
|
isDraftMode: renderOpts.isDraftMode,
|
|
50
50
|
isPrefetchRequest,
|
|
51
51
|
buildId,
|
|
52
|
+
deploymentId,
|
|
52
53
|
reactLoadableManifest: (renderOpts == null ? void 0 : renderOpts.reactLoadableManifest) || {},
|
|
53
54
|
assetPrefix: (renderOpts == null ? void 0 : renderOpts.assetPrefix) || '',
|
|
54
55
|
nonce,
|