qalita 2.5.4__py3-none-any.whl → 2.6.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. qalita/_frontend/.next/static/_0oyfpC7N2IGDMa04TT9R/_clientMiddlewareManifest.json +6 -0
  2. qalita/_frontend/.next/static/chunks/236f7e5abd6f09ff.js +4 -0
  3. qalita/_frontend/.next/static/chunks/30ea11065999f7ac.js +1 -0
  4. qalita/_frontend/.next/static/chunks/4dd28bc3f722184a.js +2 -0
  5. qalita/_frontend/.next/static/chunks/711d597b816a80c1.js +1 -0
  6. qalita/_frontend/.next/static/chunks/7340adf74ff47ec0.js +1 -0
  7. qalita/_frontend/.next/static/chunks/a6dad97d9634a72d.js.map +1 -0
  8. qalita/_frontend/.next/static/chunks/{e393fec0d8ba175d.js → ecf559101be0ae12.js} +3 -3
  9. qalita/_frontend/.next/static/chunks/turbopack-25186fc8e1264445.js +4 -0
  10. qalita/_frontend/node_modules/@img/sharp-libvips-linux-x64/versions.json +30 -0
  11. qalita/_frontend/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
  12. qalita/_frontend/node_modules/@next/env/package.json +4 -4
  13. qalita/_frontend/node_modules/next/dist/build/analyze/index.js +242 -0
  14. qalita/_frontend/node_modules/next/dist/build/define-env.js +22 -13
  15. qalita/_frontend/node_modules/next/dist/build/entries.js +5 -5
  16. qalita/_frontend/node_modules/next/dist/build/generate-routes-manifest.js +91 -0
  17. qalita/_frontend/node_modules/next/dist/build/index.js +172 -223
  18. qalita/_frontend/node_modules/next/dist/build/output/log.js +4 -7
  19. qalita/_frontend/node_modules/next/dist/build/segment-config/app/app-segments.js +23 -99
  20. qalita/_frontend/node_modules/next/dist/build/segment-config/app/collect-root-param-keys.js +3 -3
  21. qalita/_frontend/node_modules/next/dist/build/spinner.js +3 -3
  22. qalita/_frontend/node_modules/next/dist/build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree.js +137 -0
  23. qalita/_frontend/node_modules/next/dist/build/static-paths/app.js +69 -210
  24. qalita/_frontend/node_modules/next/dist/build/static-paths/utils.js +83 -11
  25. qalita/_frontend/node_modules/next/dist/build/swc/index.js +10 -6
  26. qalita/_frontend/node_modules/next/dist/build/templates/app-page.js +21 -14
  27. qalita/_frontend/node_modules/next/dist/build/templates/app-route.js +8 -10
  28. qalita/_frontend/node_modules/next/dist/build/templates/edge-app-route.js +7 -10
  29. qalita/_frontend/node_modules/next/dist/build/templates/edge-ssr-app.js +16 -20
  30. qalita/_frontend/node_modules/next/dist/build/templates/edge-ssr.js +20 -14
  31. qalita/_frontend/node_modules/next/dist/build/templates/edge-wrapper.js +24 -0
  32. qalita/_frontend/node_modules/next/dist/build/templates/middleware.js +7 -6
  33. qalita/_frontend/node_modules/next/dist/build/templates/pages-edge-api.js +3 -2
  34. qalita/_frontend/node_modules/next/dist/build/turbopack-analyze/index.js +116 -0
  35. qalita/_frontend/node_modules/next/dist/build/turbopack-build/impl.js +2 -1
  36. qalita/_frontend/node_modules/next/dist/build/type-check.js +7 -8
  37. qalita/_frontend/node_modules/next/dist/build/utils.js +45 -4
  38. qalita/_frontend/node_modules/next/dist/build/validate-app-paths.js +242 -0
  39. qalita/_frontend/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js +20 -2
  40. qalita/_frontend/node_modules/next/dist/build/webpack/loaders/next-edge-app-route-loader/index.js +2 -5
  41. qalita/_frontend/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js +4 -11
  42. qalita/_frontend/node_modules/next/dist/build/webpack/loaders/next-root-params-loader.js +1 -1
  43. qalita/_frontend/node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.js +1 -1
  44. qalita/_frontend/node_modules/next/dist/build/webpack/plugins/middleware-plugin.js +3 -0
  45. qalita/_frontend/node_modules/next/dist/build/webpack-build/impl.js +1 -0
  46. qalita/_frontend/node_modules/next/dist/build/webpack-config.js +35 -3
  47. qalita/_frontend/node_modules/next/dist/cli/next-test.js +3 -5
  48. qalita/_frontend/node_modules/next/dist/client/components/app-router-headers.js +5 -0
  49. qalita/_frontend/node_modules/next/dist/client/components/app-router-instance.js +3 -11
  50. qalita/_frontend/node_modules/next/dist/client/components/app-router.js +8 -28
  51. qalita/_frontend/node_modules/next/dist/client/components/navigation-devtools.js +5 -7
  52. qalita/_frontend/node_modules/next/dist/client/components/navigation.js +4 -3
  53. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +3 -22
  54. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +6 -18
  55. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js +844 -590
  56. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js +4 -76
  57. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +21 -18
  58. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +48 -85
  59. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +25 -10
  60. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +126 -113
  61. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +30 -39
  62. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js +0 -1
  63. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/router-reducer.js +2 -2
  64. qalita/_frontend/node_modules/next/dist/client/components/segment-cache/cache-map.js +13 -18
  65. qalita/_frontend/node_modules/next/dist/client/components/segment-cache/cache.js +27 -14
  66. qalita/_frontend/node_modules/next/dist/client/components/segment-cache/lru.js +3 -1
  67. qalita/_frontend/node_modules/next/dist/client/components/segment-cache/navigation.js +176 -133
  68. qalita/_frontend/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +12 -12
  69. qalita/_frontend/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +12 -12
  70. qalita/_frontend/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +3 -3
  71. qalita/_frontend/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +10 -10
  72. qalita/_frontend/node_modules/next/dist/compiled/react-is/package.json +1 -1
  73. qalita/_frontend/node_modules/next/dist/lib/build-custom-route.js +4 -4
  74. qalita/_frontend/node_modules/next/dist/lib/constants.js +0 -5
  75. qalita/_frontend/node_modules/next/dist/lib/default-transpiled-packages.json +1 -0
  76. qalita/_frontend/node_modules/next/dist/lib/generate-interception-routes-rewrites.js +0 -1
  77. qalita/_frontend/node_modules/next/dist/lib/helpers/get-npx-command.js +3 -3
  78. qalita/_frontend/node_modules/next/dist/lib/inline-static-env.js +1 -1
  79. qalita/_frontend/node_modules/next/dist/lib/known-edge-safe-packages.json +1 -0
  80. qalita/_frontend/node_modules/next/dist/lib/metadata/metadata.js +17 -11
  81. qalita/_frontend/node_modules/next/dist/lib/needs-experimental-react.js +2 -2
  82. qalita/_frontend/node_modules/next/dist/lib/resolve-build-paths.js +44 -76
  83. qalita/_frontend/node_modules/next/dist/lib/server-external-packages.jsonc +103 -0
  84. qalita/_frontend/node_modules/next/dist/lib/static-env.js +6 -6
  85. qalita/_frontend/node_modules/next/dist/lib/turbopack-warning.js +3 -5
  86. qalita/_frontend/node_modules/next/dist/lib/typescript/runTypeCheck.js +61 -5
  87. qalita/_frontend/node_modules/next/dist/lib/typescript/type-paths.js +56 -0
  88. qalita/_frontend/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +6 -17
  89. qalita/_frontend/node_modules/next/dist/lib/verify-typescript-setup.js +10 -2
  90. qalita/_frontend/node_modules/next/dist/lib/worker.js +17 -9
  91. qalita/_frontend/node_modules/next/dist/server/app-render/action-handler.js +113 -77
  92. qalita/_frontend/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +36 -15
  93. qalita/_frontend/node_modules/next/dist/server/app-render/app-render-render-utils.js +36 -15
  94. qalita/_frontend/node_modules/next/dist/server/app-render/app-render-scheduling.js +188 -0
  95. qalita/_frontend/node_modules/next/dist/server/app-render/app-render.js +804 -748
  96. qalita/_frontend/node_modules/next/dist/server/app-render/collect-segment-data.js +8 -2
  97. qalita/_frontend/node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js +1 -1
  98. qalita/_frontend/node_modules/next/dist/server/app-render/create-error-handler.js +42 -75
  99. qalita/_frontend/node_modules/next/dist/server/app-render/dynamic-rendering.js +127 -14
  100. qalita/_frontend/node_modules/next/dist/server/app-render/encryption-utils.js +3 -108
  101. qalita/_frontend/node_modules/next/dist/server/app-render/encryption.js +4 -3
  102. qalita/_frontend/node_modules/next/dist/server/app-render/flight-render-result.js +3 -2
  103. qalita/_frontend/node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js +9 -8
  104. qalita/_frontend/node_modules/next/dist/server/app-render/get-layer-assets.js +1 -1
  105. qalita/_frontend/node_modules/next/dist/server/app-render/manifests-singleton.js +257 -0
  106. qalita/_frontend/node_modules/next/dist/server/app-render/prospective-render-utils.js +25 -8
  107. qalita/_frontend/node_modules/next/dist/server/app-render/staged-rendering.js +161 -15
  108. qalita/_frontend/node_modules/next/dist/server/app-render/use-flight-response.js +67 -20
  109. qalita/_frontend/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +2 -2
  110. qalita/_frontend/node_modules/next/dist/server/async-storage/work-store.js +2 -1
  111. qalita/_frontend/node_modules/next/dist/server/base-server.js +32 -23
  112. qalita/_frontend/node_modules/next/dist/server/capsize-font-metrics.json +181516 -0
  113. qalita/_frontend/node_modules/next/dist/server/config-schema.js +8 -1
  114. qalita/_frontend/node_modules/next/dist/server/config-shared.js +83 -2
  115. qalita/_frontend/node_modules/next/dist/server/config.js +24 -17
  116. qalita/_frontend/node_modules/next/dist/server/dev/hot-reloader-rspack.js +171 -0
  117. qalita/_frontend/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +37 -25
  118. qalita/_frontend/node_modules/next/dist/server/dev/hot-reloader-types.js +1 -0
  119. qalita/_frontend/node_modules/next/dist/server/dev/hot-reloader-webpack.js +62 -57
  120. qalita/_frontend/node_modules/next/dist/server/dev/log-requests.js +11 -3
  121. qalita/_frontend/node_modules/next/dist/server/dev/messages.js +10 -0
  122. qalita/_frontend/node_modules/next/dist/server/dev/serialized-errors.js +67 -0
  123. qalita/_frontend/node_modules/next/dist/server/dev/static-paths-worker.js +10 -0
  124. qalita/_frontend/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  125. qalita/_frontend/node_modules/next/dist/server/lib/chrome-devtools-workspace.js +2 -2
  126. qalita/_frontend/node_modules/next/dist/server/lib/dev-bundler-service.js +6 -10
  127. qalita/_frontend/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +4 -4
  128. qalita/_frontend/node_modules/next/dist/server/lib/lazy-result.js +1 -1
  129. qalita/_frontend/node_modules/next/dist/server/lib/patch-fetch.js +9 -9
  130. qalita/_frontend/node_modules/next/dist/server/lib/router-server.js +43 -29
  131. qalita/_frontend/node_modules/next/dist/server/lib/router-utils/build-prefetch-segment-data-route.js +0 -21
  132. qalita/_frontend/node_modules/next/dist/server/lib/router-utils/filesystem.js +2 -7
  133. qalita/_frontend/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +8 -4
  134. qalita/_frontend/node_modules/next/dist/server/lib/start-server.js +3 -3
  135. qalita/_frontend/node_modules/next/dist/server/lib/trace/tracer.js +4 -0
  136. qalita/_frontend/node_modules/next/dist/server/load-components.js +3 -9
  137. qalita/_frontend/node_modules/next/dist/server/next-server.js +19 -18
  138. qalita/_frontend/node_modules/next/dist/server/next.js +1 -1
  139. qalita/_frontend/node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +570 -0
  140. qalita/_frontend/node_modules/next/dist/server/node-environment-extensions/utils.js +60 -3
  141. qalita/_frontend/node_modules/next/dist/server/node-environment.js +1 -0
  142. qalita/_frontend/node_modules/next/dist/server/patch-error-inspect.js +7 -4
  143. qalita/_frontend/node_modules/next/dist/server/request/fallback-params.js +23 -66
  144. qalita/_frontend/node_modules/next/dist/server/route-modules/app-route/module.js +2 -2
  145. qalita/_frontend/node_modules/next/dist/server/route-modules/pages/pages-handler.js +6 -3
  146. qalita/_frontend/node_modules/next/dist/server/route-modules/route-module.js +79 -18
  147. qalita/_frontend/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +28 -4
  148. qalita/_frontend/node_modules/next/dist/server/typescript/rules/config.js +50 -6
  149. qalita/_frontend/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +68 -23
  150. qalita/_frontend/node_modules/next/dist/server/web/edge-route-module-wrapper.js +7 -5
  151. qalita/_frontend/node_modules/next/dist/server/web/sandbox/context.js +8 -9
  152. qalita/_frontend/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +2 -1
  153. qalita/_frontend/node_modules/next/dist/server/web/spec-extension/revalidate.js +7 -3
  154. qalita/_frontend/node_modules/next/dist/shared/lib/action-revalidation-kind.js +31 -0
  155. qalita/_frontend/node_modules/next/dist/shared/lib/constants.js +6 -1
  156. qalita/_frontend/node_modules/next/dist/shared/lib/deployment-id.js +36 -0
  157. qalita/_frontend/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  158. qalita/_frontend/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +5 -0
  159. qalita/_frontend/node_modules/next/dist/shared/lib/router/routes/app.js +122 -0
  160. qalita/_frontend/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +20 -49
  161. qalita/_frontend/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +6 -6
  162. qalita/_frontend/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +33 -0
  163. qalita/_frontend/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +116 -0
  164. qalita/_frontend/node_modules/next/dist/shared/lib/segment-cache/output-export-prefetch-encoding.js +3 -24
  165. qalita/_frontend/node_modules/next/dist/shared/lib/segment.js +5 -0
  166. qalita/_frontend/node_modules/next/dist/shared/lib/turbopack/utils.js +6 -5
  167. qalita/_frontend/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  168. qalita/_frontend/node_modules/next/dist/telemetry/events/build.js +11 -0
  169. qalita/_frontend/node_modules/next/dist/telemetry/events/version.js +2 -2
  170. qalita/_frontend/node_modules/next/package.json +20 -18
  171. qalita/_frontend/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
  172. qalita/_frontend/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
  173. qalita/_frontend/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
  174. qalita/_frontend/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
  175. qalita/_frontend/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
  176. qalita/_frontend/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
  177. qalita/_frontend/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
  178. qalita/_frontend/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
  179. qalita/_frontend/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
  180. qalita/_frontend/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
  181. qalita/_frontend/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
  182. qalita/_frontend/node_modules/typescript/lib/typesMap.json +497 -0
  183. qalita/_frontend/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
  184. qalita/_frontend/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
  185. qalita/_frontend/package.json +3 -3
  186. qalita/_frontend/server.js +1 -1
  187. qalita/commands/pack.py +3 -3
  188. qalita/commands/source.py +1 -1
  189. qalita/internal/utils.py +11 -7
  190. qalita/web/app.py +20 -4
  191. {qalita-2.5.4.dist-info → qalita-2.6.1.dist-info}/METADATA +1 -1
  192. {qalita-2.5.4.dist-info → qalita-2.6.1.dist-info}/RECORD +197 -168
  193. qalita/_frontend/.next/static/chunks/023d923a37d494fc.js +0 -1
  194. qalita/_frontend/.next/static/chunks/247eb132b7f7b574.js +0 -1
  195. qalita/_frontend/.next/static/chunks/bba035711c7e37a2.js +0 -4
  196. qalita/_frontend/.next/static/chunks/c903f9580a4b6572.js +0 -2
  197. qalita/_frontend/.next/static/chunks/cbd55ab9639e1e66.js +0 -1
  198. qalita/_frontend/.next/static/chunks/turbopack-1ad58da399056f41.js +0 -3
  199. qalita/_frontend/node_modules/next/dist/build/deployment-id.js +0 -18
  200. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/apply-flight-data.js +0 -53
  201. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/apply-router-state-patch-to-tree.js +0 -105
  202. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/fill-cache-with-new-subtree-data.js +0 -110
  203. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/fill-lazy-items-till-leaf-with-head.js +0 -131
  204. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/handle-segment-mismatch.js +0 -25
  205. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/invalidate-cache-by-router-state.js +0 -32
  206. qalita/_frontend/node_modules/next/dist/client/components/router-reducer/refetch-inactive-parallel-segments.js +0 -104
  207. qalita/_frontend/node_modules/next/dist/server/app-render/action-utils.js +0 -90
  208. qalita/_frontend/node_modules/next/dist/server/normalizers/request/prefetch-rsc.js +0 -31
  209. /qalita/_frontend/.next/static/{X4_AlYMbCyee-ZVLjCYMg → _0oyfpC7N2IGDMa04TT9R}/_buildManifest.js +0 -0
  210. /qalita/_frontend/.next/static/{X4_AlYMbCyee-ZVLjCYMg → _0oyfpC7N2IGDMa04TT9R}/_ssgManifest.js +0 -0
  211. {qalita-2.5.4.dist-info → qalita-2.6.1.dist-info}/WHEEL +0 -0
  212. {qalita-2.5.4.dist-info → qalita-2.6.1.dist-info}/entry_points.txt +0 -0
  213. {qalita-2.5.4.dist-info → qalita-2.6.1.dist-info}/licenses/LICENSE +0 -0
@@ -36,20 +36,20 @@ function getSegmentParam(segment) {
36
36
  return {
37
37
  // TODO-APP: Optional catchall does not currently work with parallel routes,
38
38
  // so for now aren't handling a potential interception marker.
39
- type: 'optional-catchall',
40
- param: segment.slice(5, -2)
39
+ paramType: 'optional-catchall',
40
+ paramName: segment.slice(5, -2)
41
41
  };
42
42
  }
43
43
  if (segment.startsWith('[...') && segment.endsWith(']')) {
44
44
  return {
45
- type: interceptionMarker ? `catchall-intercepted-${interceptionMarker}` : 'catchall',
46
- param: segment.slice(4, -1)
45
+ paramType: interceptionMarker ? `catchall-intercepted-${interceptionMarker}` : 'catchall',
46
+ paramName: segment.slice(4, -1)
47
47
  };
48
48
  }
49
49
  if (segment.startsWith('[') && segment.endsWith(']')) {
50
50
  return {
51
- type: interceptionMarker ? `dynamic-intercepted-${interceptionMarker}` : 'dynamic',
52
- param: segment.slice(1, -1)
51
+ paramType: interceptionMarker ? `dynamic-intercepted-${interceptionMarker}` : 'dynamic',
52
+ paramName: segment.slice(1, -1)
53
53
  };
54
54
  }
55
55
  return null;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "interceptionPrefixFromParamType", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return interceptionPrefixFromParamType;
9
+ }
10
+ });
11
+ function interceptionPrefixFromParamType(paramType) {
12
+ switch(paramType){
13
+ case 'catchall-intercepted-(..)(..)':
14
+ case 'dynamic-intercepted-(..)(..)':
15
+ return '(..)(..)';
16
+ case 'catchall-intercepted-(.)':
17
+ case 'dynamic-intercepted-(.)':
18
+ return '(.)';
19
+ case 'catchall-intercepted-(..)':
20
+ case 'dynamic-intercepted-(..)':
21
+ return '(..)';
22
+ case 'catchall-intercepted-(...)':
23
+ case 'dynamic-intercepted-(...)':
24
+ return '(...)';
25
+ case 'catchall':
26
+ case 'dynamic':
27
+ case 'optional-catchall':
28
+ default:
29
+ return null;
30
+ }
31
+ }
32
+
33
+ //# sourceMappingURL=interception-prefix-from-param-type.js.map
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "resolveParamValue", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return resolveParamValue;
9
+ }
10
+ });
11
+ const _invarianterror = require("../../invariant-error");
12
+ const _interceptionprefixfromparamtype = require("./interception-prefix-from-param-type");
13
+ /**
14
+ * Extracts the param value from a path segment, handling interception markers
15
+ * based on the expected param type.
16
+ *
17
+ * @param pathSegment - The path segment to extract the value from
18
+ * @param params - The current params object for resolving dynamic param references
19
+ * @param paramType - The expected param type which may include interception marker info
20
+ * @returns The extracted param value
21
+ */ function getParamValueFromSegment(pathSegment, params, paramType) {
22
+ // If the segment is dynamic, resolve it from the params object
23
+ if (pathSegment.type === 'dynamic') {
24
+ return params[pathSegment.param.paramName];
25
+ }
26
+ // If the paramType indicates this is an intercepted param, strip the marker
27
+ // that matches the interception marker in the param type
28
+ const interceptionPrefix = (0, _interceptionprefixfromparamtype.interceptionPrefixFromParamType)(paramType);
29
+ if (interceptionPrefix === pathSegment.interceptionMarker) {
30
+ return pathSegment.name.replace(pathSegment.interceptionMarker, '');
31
+ }
32
+ // For static segments, use the name
33
+ return pathSegment.name;
34
+ }
35
+ function resolveParamValue(paramName, paramType, depth, route, params) {
36
+ switch(paramType){
37
+ case 'catchall':
38
+ case 'optional-catchall':
39
+ case 'catchall-intercepted-(..)(..)':
40
+ case 'catchall-intercepted-(.)':
41
+ case 'catchall-intercepted-(..)':
42
+ case 'catchall-intercepted-(...)':
43
+ // For catchall routes, derive from pathname using depth to determine
44
+ // which segments to use
45
+ const processedSegments = [];
46
+ // Process segments to handle any embedded dynamic params
47
+ for(let index = depth; index < route.segments.length; index++){
48
+ const pathSegment = route.segments[index];
49
+ if (pathSegment.type === 'static') {
50
+ let value = pathSegment.name;
51
+ // For intercepted catch-all params, strip the marker from the first segment
52
+ const interceptionPrefix = (0, _interceptionprefixfromparamtype.interceptionPrefixFromParamType)(paramType);
53
+ if (interceptionPrefix && index === depth && interceptionPrefix === pathSegment.interceptionMarker) {
54
+ // Strip the interception marker from the value
55
+ value = value.replace(pathSegment.interceptionMarker, '');
56
+ }
57
+ processedSegments.push(value);
58
+ } else {
59
+ // If the segment is a param placeholder, check if we have its value
60
+ if (!params.hasOwnProperty(pathSegment.param.paramName)) {
61
+ // If the segment is an optional catchall, we can break out of the
62
+ // loop because it's optional!
63
+ if (pathSegment.param.paramType === 'optional-catchall') {
64
+ break;
65
+ }
66
+ // Unknown param placeholder in pathname - can't derive full value
67
+ return undefined;
68
+ }
69
+ // If the segment matches a param, use the param value
70
+ // We don't encode values here as that's handled during retrieval.
71
+ const paramValue = params[pathSegment.param.paramName];
72
+ if (Array.isArray(paramValue)) {
73
+ processedSegments.push(...paramValue);
74
+ } else {
75
+ processedSegments.push(paramValue);
76
+ }
77
+ }
78
+ }
79
+ if (processedSegments.length > 0) {
80
+ return processedSegments;
81
+ } else if (paramType === 'optional-catchall') {
82
+ return undefined;
83
+ } else {
84
+ // We shouldn't be able to match a catchall segment without any path
85
+ // segments if it's not an optional catchall
86
+ throw Object.defineProperty(new _invarianterror.InvariantError(`Unexpected empty path segments match for a route "${route.pathname}" with param "${paramName}" of type "${paramType}"`), "__NEXT_ERROR_CODE", {
87
+ value: "E931",
88
+ enumerable: false,
89
+ configurable: true
90
+ });
91
+ }
92
+ case 'dynamic':
93
+ case 'dynamic-intercepted-(..)(..)':
94
+ case 'dynamic-intercepted-(.)':
95
+ case 'dynamic-intercepted-(..)':
96
+ case 'dynamic-intercepted-(...)':
97
+ // For regular dynamic parameters, take the segment at this depth
98
+ if (depth < route.segments.length) {
99
+ const pathSegment = route.segments[depth];
100
+ // Check if the segment at this depth is a placeholder for an unknown param
101
+ if (pathSegment.type === 'dynamic' && !params.hasOwnProperty(pathSegment.param.paramName)) {
102
+ // The segment is a placeholder like [category] and we don't have the value
103
+ return undefined;
104
+ }
105
+ // If the segment matches a param, use the param value from params object
106
+ // Otherwise it's a static segment, just use it directly
107
+ // We don't encode values here as that's handled during retrieval
108
+ return getParamValueFromSegment(pathSegment, params, paramType);
109
+ }
110
+ return undefined;
111
+ default:
112
+ paramType;
113
+ }
114
+ }
115
+
116
+ //# sourceMappingURL=resolve-param-value.js.map
@@ -16,32 +16,15 @@
16
16
  Object.defineProperty(exports, "__esModule", {
17
17
  value: true
18
18
  });
19
- 0 && (module.exports = {
20
- DOC_PREFETCH_RANGE_HEADER_VALUE: null,
21
- doesExportedHtmlMatchBuildId: null,
22
- insertBuildIdComment: null
23
- });
24
- function _export(target, all) {
25
- for(var name in all)Object.defineProperty(target, name, {
26
- enumerable: true,
27
- get: all[name]
28
- });
29
- }
30
- _export(exports, {
31
- DOC_PREFETCH_RANGE_HEADER_VALUE: function() {
32
- return DOC_PREFETCH_RANGE_HEADER_VALUE;
33
- },
34
- doesExportedHtmlMatchBuildId: function() {
35
- return doesExportedHtmlMatchBuildId;
36
- },
37
- insertBuildIdComment: function() {
19
+ Object.defineProperty(exports, "insertBuildIdComment", {
20
+ enumerable: true,
21
+ get: function() {
38
22
  return insertBuildIdComment;
39
23
  }
40
24
  });
41
25
  const DOCTYPE_PREFIX = '<!DOCTYPE html>' // 15 bytes
42
26
  ;
43
27
  const MAX_BUILD_ID_LENGTH = 24;
44
- const DOC_PREFETCH_RANGE_HEADER_VALUE = 'bytes=0-63';
45
28
  function escapeBuildId(buildId) {
46
29
  // If the build id is longer than the given limit, it's OK for our purposes
47
30
  // to only match the beginning.
@@ -65,9 +48,5 @@ function insertBuildIdComment(originalHtml, buildId) {
65
48
  // The comment must be inserted after the doctype.
66
49
  return originalHtml.replace(DOCTYPE_PREFIX, DOCTYPE_PREFIX + '<!--' + escapeBuildId(buildId) + '-->');
67
50
  }
68
- function doesExportedHtmlMatchBuildId(partialHtmlDocument, buildId) {
69
- // Check whether the document starts with the expected buildId.
70
- return partialHtmlDocument.startsWith(DOCTYPE_PREFIX + '<!--' + escapeBuildId(buildId) + '-->');
71
- }
72
51
 
73
52
  //# sourceMappingURL=output-export-prefetch-encoding.js.map
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  0 && (module.exports = {
6
6
  DEFAULT_SEGMENT_KEY: null,
7
+ NOT_FOUND_SEGMENT_KEY: null,
7
8
  PAGE_SEGMENT_KEY: null,
8
9
  addSearchParamsIfPageSegment: null,
9
10
  computeSelectedLayoutSegment: null,
@@ -22,6 +23,9 @@ _export(exports, {
22
23
  DEFAULT_SEGMENT_KEY: function() {
23
24
  return DEFAULT_SEGMENT_KEY;
24
25
  },
26
+ NOT_FOUND_SEGMENT_KEY: function() {
27
+ return NOT_FOUND_SEGMENT_KEY;
28
+ },
25
29
  PAGE_SEGMENT_KEY: function() {
26
30
  return PAGE_SEGMENT_KEY;
27
31
  },
@@ -93,5 +97,6 @@ function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first = true, segm
93
97
  }
94
98
  const PAGE_SEGMENT_KEY = '__PAGE__';
95
99
  const DEFAULT_SEGMENT_KEY = '__DEFAULT__';
100
+ const NOT_FOUND_SEGMENT_KEY = '/_not-found';
96
101
 
97
102
  //# sourceMappingURL=segment.js.map
@@ -54,6 +54,7 @@ const _picocolors = require("../../../lib/picocolors");
54
54
  const _isinternal = /*#__PURE__*/ _interop_require_default._(require("../is-internal"));
55
55
  const _magicidentifier = require("../magic-identifier");
56
56
  const _log = /*#__PURE__*/ _interop_require_wildcard._(require("../../../build/output/log"));
57
+ const VERBOSE_ISSUES = !!process.env.NEXT_TURBOPACK_VERBOSE_ISSUES;
57
58
  class ModuleBuildError extends Error {
58
59
  constructor(...args){
59
60
  super(...args), this.name = 'ModuleBuildError';
@@ -100,7 +101,7 @@ function processIssues(currentEntryIssues, key, result, throwIssue, logErrors) {
100
101
  }
101
102
  }
102
103
  function formatIssue(issue) {
103
- const { filePath, title, description, source, importTraces } = issue;
104
+ const { filePath, title, description, detail, source, importTraces } = issue;
104
105
  let { documentationLink } = issue;
105
106
  const formattedTitle = renderStyledStringToErrorAnsi(title).replace(/\n/g, '\n ');
106
107
  // TODO: Use error codes to identify these
@@ -147,10 +148,10 @@ function formatIssue(issue) {
147
148
  message += renderStyledStringToErrorAnsi(description) + '\n\n';
148
149
  }
149
150
  }
150
- // TODO: make it possible to enable this for debugging, but not in tests.
151
- // if (detail) {
152
- // message += renderStyledStringToErrorAnsi(detail) + '\n\n'
153
- // }
151
+ // TODO: make it easier to enable this for debugging
152
+ if (VERBOSE_ISSUES && detail) {
153
+ message += renderStyledStringToErrorAnsi(detail) + '\n\n';
154
+ }
154
155
  if (importTraces?.length) {
155
156
  // This is the same logic as in turbopack/crates/turbopack-cli-utils/src/issue.rs
156
157
  // We end up with multiple traces when the file with the error is reachable from multiple
@@ -81,7 +81,7 @@ function getAnonymousMeta() {
81
81
  isWsl: _iswsl.default,
82
82
  isCI: _ciinfo.isCI,
83
83
  ciName: _ciinfo.isCI && _ciinfo.name || null,
84
- nextVersion: "16.0.10"
84
+ nextVersion: "16.1.1"
85
85
  };
86
86
  return traits;
87
87
  }
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  EVENT_BUILD_FEATURE_USAGE: null,
8
8
  EVENT_MCP_TOOL_USAGE: null,
9
9
  EVENT_NAME_PACKAGE_USED_IN_GET_SERVER_SIDE_PROPS: null,
10
+ eventAnalyzeCompleted: null,
10
11
  eventBuildCompleted: null,
11
12
  eventBuildFailed: null,
12
13
  eventBuildFeatureUsage: null,
@@ -36,6 +37,9 @@ _export(exports, {
36
37
  EVENT_NAME_PACKAGE_USED_IN_GET_SERVER_SIDE_PROPS: function() {
37
38
  return EVENT_NAME_PACKAGE_USED_IN_GET_SERVER_SIDE_PROPS;
38
39
  },
40
+ eventAnalyzeCompleted: function() {
41
+ return eventAnalyzeCompleted;
42
+ },
39
43
  eventBuildCompleted: function() {
40
44
  return eventBuildCompleted;
41
45
  },
@@ -82,6 +86,13 @@ function eventLintCheckCompleted(event) {
82
86
  payload: event
83
87
  };
84
88
  }
89
+ const EVENT_ANALYZE_COMPLETED = 'NEXT_ANALYZE_COMPLETED';
90
+ function eventAnalyzeCompleted(event) {
91
+ return {
92
+ eventName: EVENT_ANALYZE_COMPLETED,
93
+ payload: event
94
+ };
95
+ }
85
96
  const EVENT_BUILD_COMPLETED = 'NEXT_BUILD_COMPLETED';
86
97
  function eventBuildCompleted(pagePaths, event) {
87
98
  return {
@@ -12,12 +12,12 @@ const EVENT_VERSION = 'NEXT_CLI_SESSION_STARTED';
12
12
  function eventCliSession(nextConfig, event) {
13
13
  var _nextConfig_experimental_staleTimes, _nextConfig_experimental_staleTimes1, _nextConfig_reactCompiler, _nextConfig_reactCompiler1;
14
14
  // This should be an invariant, if it fails our build tooling is broken.
15
- if (typeof "16.0.10" !== 'string') {
15
+ if (typeof "16.1.1" !== 'string') {
16
16
  return [];
17
17
  }
18
18
  const { images, i18n } = nextConfig || {};
19
19
  const payload = {
20
- nextVersion: "16.0.10",
20
+ nextVersion: "16.1.1",
21
21
  nodeVersion: process.version,
22
22
  cliCommand: event.cliCommand,
23
23
  isSrcDir: event.isSrcDir,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next",
3
- "version": "16.0.10",
3
+ "version": "16.1.1",
4
4
  "description": "The React Framework",
5
5
  "main": "./dist/server/next.js",
6
6
  "license": "MIT",
@@ -79,8 +79,7 @@
79
79
  },
80
80
  "scripts": {
81
81
  "dev": "cross-env NEXT_SERVER_NO_MANGLE=1 taskr",
82
- "release": "taskr release",
83
- "build": "pnpm release",
82
+ "build": "taskr release",
84
83
  "prepublishOnly": "cd ../../ && turbo run build",
85
84
  "types": "tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --stripInternal --declarationDir dist",
86
85
  "typescript": "tsec --noEmit",
@@ -98,8 +97,9 @@
98
97
  ]
99
98
  },
100
99
  "dependencies": {
101
- "@next/env": "16.0.10",
100
+ "@next/env": "16.1.1",
102
101
  "@swc/helpers": "0.5.15",
102
+ "baseline-browser-mapping": "^2.8.3",
103
103
  "caniuse-lite": "^1.0.30001579",
104
104
  "postcss": "8.4.31",
105
105
  "styled-jsx": "5.1.6"
@@ -128,14 +128,14 @@
128
128
  },
129
129
  "optionalDependencies": {
130
130
  "sharp": "^0.34.4",
131
- "@next/swc-darwin-arm64": "16.0.10",
132
- "@next/swc-darwin-x64": "16.0.10",
133
- "@next/swc-linux-arm64-gnu": "16.0.10",
134
- "@next/swc-linux-arm64-musl": "16.0.10",
135
- "@next/swc-linux-x64-gnu": "16.0.10",
136
- "@next/swc-linux-x64-musl": "16.0.10",
137
- "@next/swc-win32-arm64-msvc": "16.0.10",
138
- "@next/swc-win32-x64-msvc": "16.0.10"
131
+ "@next/swc-darwin-arm64": "16.1.1",
132
+ "@next/swc-darwin-x64": "16.1.1",
133
+ "@next/swc-linux-arm64-gnu": "16.1.1",
134
+ "@next/swc-linux-arm64-musl": "16.1.1",
135
+ "@next/swc-linux-x64-gnu": "16.1.1",
136
+ "@next/swc-linux-x64-musl": "16.1.1",
137
+ "@next/swc-win32-arm64-msvc": "16.1.1",
138
+ "@next/swc-win32-x64-msvc": "16.1.1"
139
139
  },
140
140
  "devDependencies": {
141
141
  "@babel/code-frame": "7.26.2",
@@ -170,14 +170,14 @@
170
170
  "@modelcontextprotocol/sdk": "1.18.1",
171
171
  "@mswjs/interceptors": "0.23.0",
172
172
  "@napi-rs/triples": "1.2.0",
173
- "@next/font": "16.0.10",
174
- "@next/polyfill-module": "16.0.10",
175
- "@next/polyfill-nomodule": "16.0.10",
176
- "@next/react-refresh-utils": "16.0.10",
177
- "@next/swc": "16.0.10",
173
+ "@next/font": "16.1.1",
174
+ "@next/polyfill-module": "16.1.1",
175
+ "@next/polyfill-nomodule": "16.1.1",
176
+ "@next/react-refresh-utils": "16.1.1",
177
+ "@next/swc": "16.1.1",
178
178
  "@opentelemetry/api": "1.6.0",
179
179
  "@playwright/test": "1.51.1",
180
- "@rspack/core": "1.6.0",
180
+ "@rspack/core": "1.6.7",
181
181
  "@storybook/addon-a11y": "8.6.0",
182
182
  "@storybook/addon-essentials": "8.6.0",
183
183
  "@storybook/addon-interactions": "8.6.0",
@@ -218,6 +218,7 @@
218
218
  "@types/react-is": "18.2.4",
219
219
  "@types/semver": "7.3.1",
220
220
  "@types/send": "0.14.4",
221
+ "@types/serve-handler": "6.1.4",
221
222
  "@types/shell-quote": "1.7.1",
222
223
  "@types/tar": "6.1.5",
223
224
  "@types/text-table": "0.2.1",
@@ -323,6 +324,7 @@
323
324
  "schema-utils3": "npm:schema-utils@3.0.0",
324
325
  "semver": "7.3.2",
325
326
  "send": "0.18.0",
327
+ "serve-handler": "6.1.6",
326
328
  "server-only": "0.0.1",
327
329
  "setimmediate": "1.0.5",
328
330
  "shell-quote": "1.7.3",