conductor-oss 0.60.20 → 0.61.1

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 (521) hide show
  1. package/node_modules/@conductor-oss/core/package.json +1 -1
  2. package/package.json +8 -8
  3. package/web/.next/standalone/node_modules/@next/env/package.json +1 -1
  4. package/web/.next/standalone/node_modules/@puppeteer/browsers/lib/cjs/CLI.js +1 -1
  5. package/web/.next/standalone/node_modules/@puppeteer/browsers/lib/cjs/install.js +1 -1
  6. package/web/.next/standalone/node_modules/@puppeteer/browsers/lib/esm/CLI.js +1 -1
  7. package/web/.next/standalone/node_modules/@puppeteer/browsers/lib/esm/install.js +1 -1
  8. package/web/.next/standalone/node_modules/@puppeteer/browsers/package.json +2 -2
  9. package/web/.next/standalone/node_modules/basic-ftp/dist/Client.js +9 -6
  10. package/web/.next/standalone/node_modules/basic-ftp/dist/FtpContext.js +11 -1
  11. package/web/.next/standalone/node_modules/basic-ftp/dist/StringWriter.js +15 -9
  12. package/web/.next/standalone/node_modules/basic-ftp/package.json +8 -8
  13. package/web/.next/standalone/node_modules/ip-address/dist/common.js +21 -0
  14. package/web/.next/standalone/node_modules/ip-address/dist/ipv4.js +193 -68
  15. package/web/.next/standalone/node_modules/ip-address/dist/ipv6.js +345 -131
  16. package/web/.next/standalone/node_modules/ip-address/dist/v6/constants.js +5 -0
  17. package/web/.next/standalone/node_modules/ip-address/dist/v6/helpers.js +12 -3
  18. package/web/.next/standalone/node_modules/ip-address/package.json +45 -35
  19. package/web/.next/standalone/node_modules/nanoid/package.json +1 -1
  20. package/web/.next/standalone/node_modules/next/dist/build/analysis/get-page-static-info.js +12 -1
  21. package/web/.next/standalone/node_modules/next/dist/build/static-paths/app.js +2 -1
  22. package/web/.next/standalone/node_modules/next/dist/build/swc/index.js +1 -1
  23. package/web/.next/standalone/node_modules/next/dist/build/utils.js +2 -1
  24. package/web/.next/standalone/node_modules/next/dist/build/webpack-config.js +3 -3
  25. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +2 -2
  26. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/set-cache-busting-search-param.js +8 -2
  27. package/web/.next/standalone/node_modules/next/dist/client/route-params.js +23 -6
  28. package/web/.next/standalone/node_modules/next/dist/client/script.js +5 -4
  29. package/web/.next/standalone/node_modules/next/dist/compiled/babel-packages/packages-bundle.js +2 -2
  30. package/web/.next/standalone/node_modules/next/dist/compiled/jsonwebtoken/index.js +2 -2
  31. package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +11 -11
  32. package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +13 -13
  33. package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +11 -11
  34. package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +11 -11
  35. package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +2 -2
  36. package/web/.next/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +10 -10
  37. package/web/.next/standalone/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +10 -10
  38. package/web/.next/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  39. package/web/.next/standalone/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +80 -0
  40. package/web/.next/standalone/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +24 -20
  41. package/web/.next/standalone/node_modules/next/dist/server/app-render/action-handler.js +3 -6
  42. package/web/.next/standalone/node_modules/next/dist/server/app-render/app-render.js +62 -9
  43. package/web/.next/standalone/node_modules/next/dist/server/app-render/create-component-tree.js +49 -19
  44. package/web/.next/standalone/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +8 -20
  45. package/web/.next/standalone/node_modules/next/dist/server/app-render/metadata-insertion/create-server-inserted-metadata.js +8 -7
  46. package/web/.next/standalone/node_modules/next/dist/server/app-render/use-flight-response.js +2 -2
  47. package/web/.next/standalone/node_modules/next/dist/server/async-storage/work-store.js +2 -1
  48. package/web/.next/standalone/node_modules/next/dist/server/base-server.js +13 -5
  49. package/web/.next/standalone/node_modules/next/dist/server/config-schema.js +11 -2
  50. package/web/.next/standalone/node_modules/next/dist/server/config.js +1 -1
  51. package/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +18 -16
  52. package/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  53. package/web/.next/standalone/node_modules/next/dist/server/dev/next-dev-server.js +1 -0
  54. package/web/.next/standalone/node_modules/next/dist/server/dev/static-paths-worker.js +2 -1
  55. package/web/.next/standalone/node_modules/next/dist/server/image-optimizer.js +22 -2
  56. package/web/.next/standalone/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  57. package/web/.next/standalone/node_modules/next/dist/server/lib/is-rsc-request.js +18 -0
  58. package/web/.next/standalone/node_modules/next/dist/server/lib/mock-request.js +30 -5
  59. package/web/.next/standalone/node_modules/next/dist/server/lib/patch-set-header.js +7 -0
  60. package/web/.next/standalone/node_modules/next/dist/server/lib/router-server.js +20 -4
  61. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +18 -4
  62. package/web/.next/standalone/node_modules/next/dist/server/lib/server-ipc/utils.js +3 -1
  63. package/web/.next/standalone/node_modules/next/dist/server/lib/start-server.js +1 -1
  64. package/web/.next/standalone/node_modules/next/dist/server/next-server.js +1 -1
  65. package/web/.next/standalone/node_modules/next/dist/server/render.js +47 -39
  66. package/web/.next/standalone/node_modules/next/dist/server/request/fallback-params.js +27 -1
  67. package/web/.next/standalone/node_modules/next/dist/server/route-modules/route-module.js +11 -1
  68. package/web/.next/standalone/node_modules/next/dist/server/server-utils.js +19 -2
  69. package/web/.next/standalone/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +5 -5
  70. package/web/.next/standalone/node_modules/next/dist/server/web/adapter.js +4 -1
  71. package/web/.next/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  72. package/web/.next/standalone/node_modules/next/dist/{server → shared/lib}/htmlescape.js +15 -0
  73. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/routes/app.js +13 -1
  74. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +56 -10
  75. package/web/.next/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  76. package/web/.next/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  77. package/web/.next/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
  78. package/web/.next/standalone/node_modules/next/package.json +15 -15
  79. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/container.js +26 -18
  80. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/css-syntax-error.js +47 -14
  81. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/input.js +54 -29
  82. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/lazy-result.js +50 -37
  83. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/map-generator.js +26 -9
  84. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/no-work-result.js +57 -55
  85. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/node.js +99 -31
  86. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/parser.js +46 -38
  87. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/previous-map.js +30 -11
  88. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/processor.js +7 -7
  89. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/result.js +5 -5
  90. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/stringifier.js +41 -20
  91. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/tokenize.js +6 -2
  92. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/package.json +48 -48
  93. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Browser.js +7 -7
  94. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/api/BrowserContext.js +4 -3
  95. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Extension.js +88 -0
  96. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/api/JSHandle.js +1 -1
  97. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js +4 -3
  98. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Realm.js +29 -1
  99. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/api/WebWorker.js +15 -1
  100. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/api/api.js +1 -0
  101. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/api/locators/locators.js +53 -23
  102. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/bidi/Browser.js +8 -0
  103. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/bidi/BrowserConnector.js +2 -1
  104. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/bidi/BrowserContext.js +6 -0
  105. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/bidi/ElementHandle.js +1 -0
  106. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/bidi/Frame.js +9 -47
  107. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/bidi/Input.js +0 -1
  108. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/bidi/Page.js +17 -1
  109. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/bidi/Realm.js +22 -1
  110. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/bidi/Target.js +2 -2
  111. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/bidi/core/Realm.js +18 -0
  112. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/bidi/util.js +80 -0
  113. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Browser.js +77 -10
  114. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/BrowserConnector.js +2 -2
  115. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CdpIssue.js +27 -0
  116. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ElementHandle.js +1 -0
  117. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js +1 -0
  118. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Extension.js +79 -0
  119. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js +30 -15
  120. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/FrameManager.js +41 -1
  121. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/IsolatedWorld.js +32 -2
  122. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Page.js +61 -35
  123. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Target.js +16 -7
  124. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/TargetManager.js +96 -2
  125. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/WebMCP.js +281 -0
  126. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/WebWorker.js +28 -3
  127. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/cdp.js +1 -0
  128. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/utils.js +36 -0
  129. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js +11 -0
  130. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js +7 -0
  131. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserLauncher.js +11 -2
  132. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js +5 -2
  133. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ScreenRecorder.js +1 -0
  134. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js +3 -3
  135. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Mutex.js +1 -1
  136. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/puppeteer/util/version.js +1 -1
  137. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/third_party/mitt/mitt.js +2 -2
  138. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/third_party/parsel-js/parsel-js.js +1 -1
  139. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/third_party/rxjs/rxjs.js +446 -446
  140. package/web/.next/standalone/node_modules/puppeteer-core/lib/cjs/third_party/urlpattern-polyfill/urlpattern-polyfill.js +853 -0
  141. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.js +7 -7
  142. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js +4 -3
  143. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Extension.js +84 -0
  144. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js +1 -1
  145. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js +4 -3
  146. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js +29 -1
  147. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/WebWorker.js +14 -0
  148. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.js +1 -0
  149. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/locators/locators.js +53 -23
  150. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Browser.js +8 -0
  151. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserConnector.js +2 -1
  152. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserContext.js +6 -0
  153. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/ElementHandle.js +1 -0
  154. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Frame.js +8 -46
  155. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Input.js +0 -1
  156. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Page.js +17 -1
  157. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js +23 -2
  158. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Target.js +2 -2
  159. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Realm.js +18 -0
  160. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/util.js +74 -0
  161. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Browser.js +77 -10
  162. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js +2 -2
  163. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpIssue.js +23 -0
  164. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js +1 -0
  165. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js +1 -0
  166. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Extension.js +75 -0
  167. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js +30 -15
  168. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js +41 -1
  169. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js +32 -2
  170. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js +61 -35
  171. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Target.js +16 -7
  172. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js +96 -2
  173. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/WebMCP.js +275 -0
  174. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/WebWorker.js +29 -4
  175. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/cdp.js +1 -0
  176. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/utils.js +34 -0
  177. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +10 -0
  178. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +8 -1
  179. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js +11 -2
  180. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js +5 -2
  181. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/node/ScreenRecorder.js +1 -0
  182. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +3 -3
  183. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Mutex.js +1 -1
  184. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/version.js +1 -1
  185. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js +1 -1
  186. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/parsel-js/parsel-js.js +1 -1
  187. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js +97 -97
  188. package/web/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/urlpattern-polyfill/urlpattern-polyfill.js +805 -0
  189. package/web/.next/standalone/node_modules/puppeteer-core/package.json +10 -10
  190. package/web/.next/standalone/node_modules/ws/index.js +15 -6
  191. package/web/.next/standalone/node_modules/ws/lib/permessage-deflate.js +6 -6
  192. package/web/.next/standalone/node_modules/ws/lib/receiver.js +54 -0
  193. package/web/.next/standalone/node_modules/ws/lib/sender.js +6 -1
  194. package/web/.next/standalone/node_modules/ws/lib/websocket-server.js +13 -5
  195. package/web/.next/standalone/node_modules/ws/lib/websocket.js +20 -6
  196. package/web/.next/standalone/node_modules/ws/package.json +4 -3
  197. package/web/.next/standalone/node_modules/ws/wrapper.mjs +14 -1
  198. package/web/.next/standalone/node_modules/yauzl/fd-slicer.js +18 -144
  199. package/web/.next/standalone/node_modules/yauzl/index.js +54 -29
  200. package/web/.next/standalone/node_modules/yauzl/package.json +1 -1
  201. package/web/.next/standalone/package.json +11 -4
  202. package/web/.next/standalone/packages/web/.next/BUILD_ID +1 -1
  203. package/web/.next/standalone/packages/web/.next/app-path-routes-manifest.json +6 -6
  204. package/web/.next/standalone/packages/web/.next/build-manifest.json +4 -4
  205. package/web/.next/standalone/packages/web/.next/prerender-manifest.json +3 -3
  206. package/web/.next/standalone/packages/web/.next/react-loadable-manifest.json +10 -10
  207. package/web/.next/standalone/packages/web/.next/server/app/__clerk/[[...path]]/route.js +1 -1
  208. package/web/.next/standalone/packages/web/.next/server/app/_global-error/page.js +3 -3
  209. package/web/.next/standalone/packages/web/.next/server/app/_global-error/page.js.nft.json +1 -1
  210. package/web/.next/standalone/packages/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  211. package/web/.next/standalone/packages/web/.next/server/app/_global-error.html +1 -1
  212. package/web/.next/standalone/packages/web/.next/server/app/_global-error.rsc +1 -1
  213. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  214. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  215. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  216. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  217. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  218. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  219. package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js +2 -2
  220. package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  221. package/web/.next/standalone/packages/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  222. package/web/.next/standalone/packages/web/.next/server/app/api/access/route.js +1 -1
  223. package/web/.next/standalone/packages/web/.next/server/app/api/agents/route.js +1 -1
  224. package/web/.next/standalone/packages/web/.next/server/app/api/app-update/route.js +1 -1
  225. package/web/.next/standalone/packages/web/.next/server/app/api/attachments/route.js +1 -1
  226. package/web/.next/standalone/packages/web/.next/server/app/api/auth/profile/route.js +1 -1
  227. package/web/.next/standalone/packages/web/.next/server/app/api/boards/comments/route.js +1 -1
  228. package/web/.next/standalone/packages/web/.next/server/app/api/boards/route.js +1 -1
  229. package/web/.next/standalone/packages/web/.next/server/app/api/bridge/bridges/[bridgeId]/route.js +1 -1
  230. package/web/.next/standalone/packages/web/.next/server/app/api/bridge/bridges/route.js +1 -1
  231. package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/app-update/route.js +1 -1
  232. package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/repair/route.js +1 -1
  233. package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/route.js +1 -1
  234. package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/service-restart/route.js +1 -1
  235. package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/claims/complete/route.js +1 -1
  236. package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/code/route.js +1 -1
  237. package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/route.js +1 -1
  238. package/web/.next/standalone/packages/web/.next/server/app/api/bridges/route.js +1 -1
  239. package/web/.next/standalone/packages/web/.next/server/app/api/config/route.js +1 -1
  240. package/web/.next/standalone/packages/web/.next/server/app/api/context-files/open/route.js +1 -1
  241. package/web/.next/standalone/packages/web/.next/server/app/api/context-files/route.js +1 -1
  242. package/web/.next/standalone/packages/web/.next/server/app/api/events/route.js +1 -1
  243. package/web/.next/standalone/packages/web/.next/server/app/api/executor/health/route.js +1 -1
  244. package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/directory/route.js +1 -1
  245. package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/pick-directory/route.js +1 -1
  246. package/web/.next/standalone/packages/web/.next/server/app/api/github/projects/route.js +1 -1
  247. package/web/.next/standalone/packages/web/.next/server/app/api/github/projects/sync/route.js +1 -1
  248. package/web/.next/standalone/packages/web/.next/server/app/api/github/repos/route.js +1 -1
  249. package/web/.next/standalone/packages/web/.next/server/app/api/github/webhook/route.js +1 -1
  250. package/web/.next/standalone/packages/web/.next/server/app/api/health/boards/route.js +1 -1
  251. package/web/.next/standalone/packages/web/.next/server/app/api/health/sessions/route.js +1 -1
  252. package/web/.next/standalone/packages/web/.next/server/app/api/notifications/route.js +1 -1
  253. package/web/.next/standalone/packages/web/.next/server/app/api/preferences/route.js +1 -1
  254. package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/backlinks/route.js +1 -1
  255. package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/daily/route.js +1 -1
  256. package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/file/route.js +1 -1
  257. package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/graph/route.js +1 -1
  258. package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/open/route.js +1 -1
  259. package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/route.js +1 -1
  260. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/approve/route.js +1 -1
  261. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/bindings/route.js +1 -1
  262. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/feed/route.js +1 -1
  263. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/feed/stream/route.js +1 -1
  264. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/integration/route.js +1 -1
  265. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/interrupt/route.js +1 -1
  266. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/preferences/route.js +1 -1
  267. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/reject/route.js +1 -1
  268. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/route.js +1 -1
  269. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/send/route.js +1 -1
  270. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route.js +1 -1
  271. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/[task]/route.js +1 -1
  272. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/route.js +1 -1
  273. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatchers/route.js +1 -1
  274. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/open/route.js +1 -1
  275. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/route.js +1 -1
  276. package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/setup/route.js +1 -1
  277. package/web/.next/standalone/packages/web/.next/server/app/api/projects/route.js +1 -1
  278. package/web/.next/standalone/packages/web/.next/server/app/api/repositories/[id]/route.js +1 -1
  279. package/web/.next/standalone/packages/web/.next/server/app/api/repositories/route.js +1 -1
  280. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/actions/route.js +1 -1
  281. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/archive/route.js +1 -1
  282. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/checks/route.js +1 -1
  283. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/diff/route.js +1 -1
  284. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/files/route.js +1 -1
  285. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/keys/route.js +1 -1
  286. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/kill/route.js +1 -1
  287. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/route.js +1 -1
  288. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route.js +1 -1
  289. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/dom/route.js +1 -1
  290. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/dom/route.js.nft.json +1 -1
  291. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/route.js +1 -1
  292. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/route.js.nft.json +1 -1
  293. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/screenshot/route.js +1 -1
  294. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/screenshot/route.js.nft.json +1 -1
  295. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/restore/route.js +1 -1
  296. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/route.js +1 -1
  297. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/relay/route.js +1 -1
  298. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/snapshot/route.js +1 -1
  299. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/token/route.js +1 -1
  300. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/route.js +1 -1
  301. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/token/route.js +1 -1
  302. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/ws/route.js +1 -1
  303. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/route.js +1 -1
  304. package/web/.next/standalone/packages/web/.next/server/app/api/skills/activate/route.js +1 -1
  305. package/web/.next/standalone/packages/web/.next/server/app/api/skills/catalog/route.js +1 -1
  306. package/web/.next/standalone/packages/web/.next/server/app/api/skills/deactivate/route.js +1 -1
  307. package/web/.next/standalone/packages/web/.next/server/app/api/skills/install/route.js +1 -1
  308. package/web/.next/standalone/packages/web/.next/server/app/api/skills/installed/route.js +1 -1
  309. package/web/.next/standalone/packages/web/.next/server/app/api/skills/session-active/route.js +1 -1
  310. package/web/.next/standalone/packages/web/.next/server/app/api/skills/uninstall/route.js +1 -1
  311. package/web/.next/standalone/packages/web/.next/server/app/api/spawn/route.js +1 -1
  312. package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/branches/route.js +1 -1
  313. package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/route.js +1 -1
  314. package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page.js +2 -2
  315. package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page.js.nft.json +1 -1
  316. package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page_client-reference-manifest.js +1 -1
  317. package/web/.next/standalone/packages/web/.next/server/app/bridge/install.ps1/route.js +36 -7
  318. package/web/.next/standalone/packages/web/.next/server/app/bridge/install.sh/route.js +1 -1
  319. package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page.js +2 -2
  320. package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page.js.nft.json +1 -1
  321. package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page_client-reference-manifest.js +1 -1
  322. package/web/.next/standalone/packages/web/.next/server/app/icon.svg/route.js +1 -1
  323. package/web/.next/standalone/packages/web/.next/server/app/page.js +2 -2
  324. package/web/.next/standalone/packages/web/.next/server/app/page.js.nft.json +1 -1
  325. package/web/.next/standalone/packages/web/.next/server/app/page_client-reference-manifest.js +1 -1
  326. package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js +2 -2
  327. package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js.nft.json +1 -1
  328. package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
  329. package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page.js +2 -2
  330. package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page.js.nft.json +1 -1
  331. package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page_client-reference-manifest.js +1 -1
  332. package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js +2 -2
  333. package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js.nft.json +1 -1
  334. package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page_client-reference-manifest.js +1 -1
  335. package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page.js +2 -2
  336. package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page.js.nft.json +1 -1
  337. package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page_client-reference-manifest.js +1 -1
  338. package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page.js +2 -2
  339. package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page.js.nft.json +1 -1
  340. package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page_client-reference-manifest.js +1 -1
  341. package/web/.next/standalone/packages/web/.next/server/app/sign-up/[[...sign-up]]/page.js +2 -2
  342. package/web/.next/standalone/packages/web/.next/server/app/sign-up/[[...sign-up]]/page.js.nft.json +1 -1
  343. package/web/.next/standalone/packages/web/.next/server/app/sign-up/[[...sign-up]]/page_client-reference-manifest.js +1 -1
  344. package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js +2 -2
  345. package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js.nft.json +1 -1
  346. package/web/.next/standalone/packages/web/.next/server/app/unlock/page_client-reference-manifest.js +1 -1
  347. package/web/.next/standalone/packages/web/.next/server/app-paths-manifest.json +6 -6
  348. package/web/.next/standalone/packages/web/.next/server/chunks/1984.js +1 -0
  349. package/web/.next/standalone/packages/web/.next/server/chunks/2512.js +46 -0
  350. package/web/.next/standalone/packages/web/.next/server/chunks/{2831.js → 2677.js} +1 -1
  351. package/web/.next/standalone/packages/web/.next/server/chunks/3698.js +3 -3
  352. package/web/.next/standalone/packages/web/.next/server/chunks/3786.js +45 -0
  353. package/web/.next/standalone/packages/web/.next/server/chunks/4036.js +1 -0
  354. package/web/.next/standalone/packages/web/.next/server/chunks/4256.js +6 -6
  355. package/web/.next/standalone/packages/web/.next/server/chunks/6014.js +1 -1
  356. package/web/.next/standalone/packages/web/.next/server/chunks/6034.js +1 -1
  357. package/web/.next/standalone/packages/web/.next/server/chunks/7667.js +1 -0
  358. package/web/.next/standalone/packages/web/.next/server/chunks/7776.js +15 -13
  359. package/web/.next/standalone/packages/web/.next/server/chunks/7895.js +1 -0
  360. package/web/.next/standalone/packages/web/.next/server/chunks/9455.js +1 -1
  361. package/web/.next/standalone/packages/web/.next/server/functions-config-manifest.json +2 -2
  362. package/web/.next/standalone/packages/web/.next/server/middleware-build-manifest.js +1 -1
  363. package/web/.next/standalone/packages/web/.next/server/middleware-react-loadable-manifest.js +1 -1
  364. package/web/.next/standalone/packages/web/.next/server/middleware.js +14 -14
  365. package/web/.next/standalone/packages/web/.next/server/pages/500.html +1 -1
  366. package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.js +1 -1
  367. package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.json +1 -1
  368. package/web/.next/standalone/packages/web/.next/static/chunks/20217-97d45ecc44de7d37.js +19 -0
  369. package/web/.next/standalone/packages/web/.next/static/chunks/24607.272ce532ac5ed877.js +3 -0
  370. package/web/.next/standalone/packages/web/.next/static/chunks/3324.13c418df31b914ee.js +1 -0
  371. package/web/.next/standalone/packages/web/.next/static/chunks/34443.18c1a7dfc334c906.js +1 -0
  372. package/web/.next/standalone/packages/web/.next/static/chunks/{35493-c39caef34f8d7b4d.js → 35493-bec918ac58d9fc84.js} +1 -1
  373. package/web/.next/{static/chunks/58607.eabd886c80f1df38.js → standalone/packages/web/.next/static/chunks/58607.bce7eb75dddcebd1.js} +1 -1
  374. package/web/.next/standalone/packages/web/.next/static/chunks/61968-84de5fd1d154571d.js +32 -0
  375. package/web/.next/standalone/packages/web/.next/static/chunks/71679-17d6b3fdf81fdb11.js +1 -0
  376. package/web/.next/standalone/packages/web/.next/static/chunks/79593-6ea7984fecff4f65.js +9 -0
  377. package/web/.next/standalone/packages/web/.next/static/chunks/app/layout-268ff731369e11a0.js +1 -0
  378. package/web/.next/standalone/packages/web/.next/static/chunks/app/page-0775ebdefe7c09d1.js +1 -0
  379. package/web/.next/{static/chunks/app/sign-in/[[...sign-in]]/page-4213b7d86313ac85.js → standalone/packages/web/.next/static/chunks/app/sign-in/[[...sign-in]]/page-6ba340ad536efd2d.js} +1 -1
  380. package/web/.next/standalone/packages/web/.next/static/chunks/app/sign-up/[[...sign-up]]/{page-83c0752161f259ce.js → page-35e34a3cc336595c.js} +1 -1
  381. package/web/.next/standalone/packages/web/.next/static/chunks/{main-ffdc5ee594ae3141.js → main-e776ff7a08a61c77.js} +2 -2
  382. package/web/.next/standalone/packages/web/.next/static/chunks/webpack-3fb4eda26c89efd2.js +1 -0
  383. package/web/.next/standalone/packages/web/.next/static/css/895fa8ff3c08143e.css +1 -0
  384. package/web/.next/standalone/packages/web/package.json +6 -6
  385. package/web/.next/static/chunks/20217-97d45ecc44de7d37.js +19 -0
  386. package/web/.next/static/chunks/24607.272ce532ac5ed877.js +3 -0
  387. package/web/.next/static/chunks/3324.13c418df31b914ee.js +1 -0
  388. package/web/.next/static/chunks/34443.18c1a7dfc334c906.js +1 -0
  389. package/web/.next/static/chunks/{35493-c39caef34f8d7b4d.js → 35493-bec918ac58d9fc84.js} +1 -1
  390. package/web/.next/{standalone/packages/web/.next/static/chunks/58607.eabd886c80f1df38.js → static/chunks/58607.bce7eb75dddcebd1.js} +1 -1
  391. package/web/.next/static/chunks/61968-84de5fd1d154571d.js +32 -0
  392. package/web/.next/static/chunks/71679-17d6b3fdf81fdb11.js +1 -0
  393. package/web/.next/static/chunks/79593-6ea7984fecff4f65.js +9 -0
  394. package/web/.next/static/chunks/app/layout-268ff731369e11a0.js +1 -0
  395. package/web/.next/static/chunks/app/page-0775ebdefe7c09d1.js +1 -0
  396. package/web/.next/{standalone/packages/web/.next/static/chunks/app/sign-in/[[...sign-in]]/page-4213b7d86313ac85.js → static/chunks/app/sign-in/[[...sign-in]]/page-6ba340ad536efd2d.js} +1 -1
  397. package/web/.next/static/chunks/app/sign-up/[[...sign-up]]/{page-83c0752161f259ce.js → page-35e34a3cc336595c.js} +1 -1
  398. package/web/.next/static/chunks/{main-ffdc5ee594ae3141.js → main-e776ff7a08a61c77.js} +2 -2
  399. package/web/.next/static/chunks/webpack-3fb4eda26c89efd2.js +1 -0
  400. package/web/.next/static/css/895fa8ff3c08143e.css +1 -0
  401. package/web/.next/standalone/packages/web/.next/server/chunks/1967.js +0 -1
  402. package/web/.next/standalone/packages/web/.next/server/chunks/4684.js +0 -1
  403. package/web/.next/standalone/packages/web/.next/server/chunks/479.js +0 -45
  404. package/web/.next/standalone/packages/web/.next/server/chunks/6213.js +0 -46
  405. package/web/.next/standalone/packages/web/.next/server/chunks/6829.js +0 -1
  406. package/web/.next/standalone/packages/web/.next/server/chunks/8573.js +0 -1
  407. package/web/.next/standalone/packages/web/.next/static/chunks/12432.05dc6aaa259bc819.js +0 -3
  408. package/web/.next/standalone/packages/web/.next/static/chunks/20217-bca061c69c3542cc.js +0 -19
  409. package/web/.next/standalone/packages/web/.next/static/chunks/34443.cab1a0ba6fbaf067.js +0 -1
  410. package/web/.next/standalone/packages/web/.next/static/chunks/61968-8477b4b3530d6c4b.js +0 -32
  411. package/web/.next/standalone/packages/web/.next/static/chunks/74419-f0ef6cf2e081f2c6.js +0 -9
  412. package/web/.next/standalone/packages/web/.next/static/chunks/97048.0699c66e5d25227e.js +0 -1
  413. package/web/.next/standalone/packages/web/.next/static/chunks/99847.87545f71a963c57c.js +0 -1
  414. package/web/.next/standalone/packages/web/.next/static/chunks/app/layout-a25ac4238653208d.js +0 -1
  415. package/web/.next/standalone/packages/web/.next/static/chunks/app/page-af50b13589ff37c9.js +0 -1
  416. package/web/.next/standalone/packages/web/.next/static/chunks/webpack-52e4d66b87d44b19.js +0 -1
  417. package/web/.next/standalone/packages/web/.next/static/css/a0ce5e327296ee86.css +0 -1
  418. package/web/.next/static/chunks/12432.05dc6aaa259bc819.js +0 -3
  419. package/web/.next/static/chunks/20217-bca061c69c3542cc.js +0 -19
  420. package/web/.next/static/chunks/34443.cab1a0ba6fbaf067.js +0 -1
  421. package/web/.next/static/chunks/61968-8477b4b3530d6c4b.js +0 -32
  422. package/web/.next/static/chunks/74419-f0ef6cf2e081f2c6.js +0 -9
  423. package/web/.next/static/chunks/97048.0699c66e5d25227e.js +0 -1
  424. package/web/.next/static/chunks/99847.87545f71a963c57c.js +0 -1
  425. package/web/.next/static/chunks/app/layout-a25ac4238653208d.js +0 -1
  426. package/web/.next/static/chunks/app/page-af50b13589ff37c9.js +0 -1
  427. package/web/.next/static/chunks/webpack-52e4d66b87d44b19.js +0 -1
  428. package/web/.next/static/css/a0ce5e327296ee86.css +0 -1
  429. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/at-rule.js +0 -0
  430. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/comment.js +0 -0
  431. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/declaration.js +4 -4
  432. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/document.js +0 -0
  433. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/fromJSON.js +3 -3
  434. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/list.js +0 -0
  435. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/parse.js +1 -1
  436. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/postcss.js +12 -12
  437. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/root.js +0 -0
  438. package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/rule.js +6 -6
  439. /package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/stringify.js +0 -0
  440. /package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/symbols.js +0 -0
  441. /package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/terminal-highlight.js +0 -0
  442. /package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/warn-once.js +0 -0
  443. /package/web/.next/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/warning.js +0 -0
  444. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/BidiMapper.js +0 -0
  445. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/BidiNoOpParser.js +0 -0
  446. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/BidiServer.js +0 -0
  447. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/CommandProcessor.js +0 -0
  448. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/OutgoingMessage.js +0 -0
  449. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/bluetooth/BluetoothProcessor.js +0 -0
  450. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/browser/BrowserProcessor.js +0 -0
  451. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/browser/ContextConfig.js +0 -0
  452. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/browser/ContextConfigStorage.js +0 -0
  453. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/browser/UserContextStorage.js +0 -0
  454. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/cdp/CdpProcessor.js +0 -0
  455. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/cdp/CdpTarget.js +0 -0
  456. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/cdp/CdpTargetManager.js +0 -0
  457. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/context/BrowsingContextImpl.js +0 -0
  458. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/context/BrowsingContextProcessor.js +0 -0
  459. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/context/BrowsingContextStorage.js +0 -0
  460. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/context/NavigationTracker.js +0 -0
  461. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/emulation/EmulationProcessor.js +0 -0
  462. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/input/ActionDispatcher.js +0 -0
  463. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/input/InputProcessor.js +0 -0
  464. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/input/InputSource.js +0 -0
  465. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/input/InputState.js +0 -0
  466. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/input/InputStateManager.js +0 -0
  467. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/input/USKeyboardLayout.js +0 -0
  468. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/input/keyUtils.js +0 -0
  469. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/log/LogManager.js +0 -0
  470. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/log/logHelper.js +0 -0
  471. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/network/CollectorsStorage.js +0 -0
  472. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/network/NetworkProcessor.js +0 -0
  473. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/network/NetworkRequest.js +0 -0
  474. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/network/NetworkStorage.js +0 -0
  475. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/network/NetworkUtils.js +0 -0
  476. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/permissions/PermissionsProcessor.js +0 -0
  477. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/script/ChannelProxy.js +0 -0
  478. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/script/PreloadScript.js +0 -0
  479. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/script/PreloadScriptStorage.js +0 -0
  480. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/script/Realm.js +0 -0
  481. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/script/RealmStorage.js +0 -0
  482. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/script/ScriptProcessor.js +0 -0
  483. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/script/SharedId.js +0 -0
  484. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/script/WindowRealm.js +0 -0
  485. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/script/WorkerRealm.js +0 -0
  486. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/session/EventManager.js +0 -0
  487. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/session/SessionProcessor.js +0 -0
  488. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/session/SubscriptionManager.js +0 -0
  489. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/session/events.js +0 -0
  490. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/speculation/SpeculationProcessor.js +0 -0
  491. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/storage/StorageProcessor.js +0 -0
  492. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/bidiMapper/modules/webExtension/WebExtensionProcessor.js +0 -0
  493. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/protocol/ErrorResponse.js +0 -0
  494. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/protocol/cdp.js +0 -0
  495. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/protocol/chromium-bidi.js +0 -0
  496. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js +0 -0
  497. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/protocol/generated/webdriver-bidi-nav-speculation.js +0 -0
  498. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/protocol/generated/webdriver-bidi-permissions.js +0 -0
  499. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/protocol/generated/webdriver-bidi-ua-client-hints.js +0 -0
  500. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/protocol/generated/webdriver-bidi.js +0 -0
  501. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/protocol/protocol.js +0 -0
  502. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/Buffer.js +0 -0
  503. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/DefaultMap.js +0 -0
  504. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/Deferred.js +0 -0
  505. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/EventEmitter.js +0 -0
  506. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/IdWrapper.js +0 -0
  507. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/Mutex.js +0 -0
  508. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/ProcessingQueue.js +0 -0
  509. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/assert.js +0 -0
  510. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/base64.js +0 -0
  511. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/graphemeTools.js +0 -0
  512. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/log.js +0 -0
  513. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/time.js +0 -0
  514. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/unitConversions.js +0 -0
  515. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/urlHelpers.js +0 -0
  516. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/lib/cjs/utils/uuid.js +0 -0
  517. /package/web/.next/standalone/node_modules/{chromium-bidi → puppeteer-core/node_modules/chromium-bidi}/package.json +0 -0
  518. /package/web/.next/standalone/packages/web/.next/static/{4OnzIthq13Hzhfk96dKRu → gYDZqiVrgQEw51XaJ7b_W}/_buildManifest.js +0 -0
  519. /package/web/.next/standalone/packages/web/.next/static/{4OnzIthq13Hzhfk96dKRu → gYDZqiVrgQEw51XaJ7b_W}/_ssgManifest.js +0 -0
  520. /package/web/.next/static/{4OnzIthq13Hzhfk96dKRu → gYDZqiVrgQEw51XaJ7b_W}/_buildManifest.js +0 -0
  521. /package/web/.next/static/{4OnzIthq13Hzhfk96dKRu → gYDZqiVrgQEw51XaJ7b_W}/_ssgManifest.js +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puppeteer-core",
3
- "version": "24.38.0",
3
+ "version": "24.43.1",
4
4
  "description": "A high-level API to control headless Chrome over the DevTools Protocol",
5
5
  "keywords": [
6
6
  "puppeteer",
@@ -108,9 +108,8 @@
108
108
  ]
109
109
  },
110
110
  "build:types": {
111
- "command": "api-extractor run --local && eslint --cache-location .eslintcache --cache --no-ignore --no-config-lookup -c=../../eslint.types.config.mjs --fix lib/types.d.ts",
111
+ "command": "api-extractor run --local && eslint --fix lib/types.d.ts --no-ignore",
112
112
  "files": [
113
- "../../eslint.types.config.mjs",
114
113
  "api-extractor.json",
115
114
  "lib/esm/puppeteer/types.d.ts",
116
115
  "tsconfig.json"
@@ -149,21 +148,22 @@
149
148
  "author": "The Chromium Authors",
150
149
  "license": "Apache-2.0",
151
150
  "dependencies": {
152
- "@puppeteer/browsers": "2.13.0",
151
+ "@puppeteer/browsers": "2.13.2",
153
152
  "chromium-bidi": "14.0.0",
154
153
  "debug": "^4.4.3",
155
- "devtools-protocol": "0.0.1581282",
156
- "typed-query-selector": "^2.12.1",
154
+ "devtools-protocol": "0.0.1608973",
155
+ "typed-query-selector": "^2.12.2",
157
156
  "webdriver-bidi-protocol": "0.4.1",
158
- "ws": "^8.19.0"
157
+ "ws": "^8.20.0"
159
158
  },
160
159
  "devDependencies": {
161
- "@types/chrome": "0.1.37",
162
- "@types/debug": "4.1.12",
160
+ "@types/chrome": "0.1.40",
161
+ "@types/debug": "4.1.13",
163
162
  "@types/node": "^18.17.15",
164
163
  "@types/ws": "8.18.1",
165
164
  "mitt": "3.0.1",
166
165
  "parsel-js": "1.2.2",
167
- "rxjs": "7.8.2"
166
+ "rxjs": "^7.8.2",
167
+ "urlpattern-polyfill": "10.1.0"
168
168
  }
169
169
  }
@@ -1,13 +1,22 @@
1
1
  'use strict';
2
2
 
3
+ const createWebSocketStream = require('./lib/stream');
4
+ const extension = require('./lib/extension');
5
+ const PerMessageDeflate = require('./lib/permessage-deflate');
6
+ const Receiver = require('./lib/receiver');
7
+ const Sender = require('./lib/sender');
8
+ const subprotocol = require('./lib/subprotocol');
3
9
  const WebSocket = require('./lib/websocket');
10
+ const WebSocketServer = require('./lib/websocket-server');
4
11
 
5
- WebSocket.createWebSocketStream = require('./lib/stream');
6
- WebSocket.Server = require('./lib/websocket-server');
7
- WebSocket.Receiver = require('./lib/receiver');
8
- WebSocket.Sender = require('./lib/sender');
9
-
12
+ WebSocket.createWebSocketStream = createWebSocketStream;
13
+ WebSocket.extension = extension;
14
+ WebSocket.PerMessageDeflate = PerMessageDeflate;
15
+ WebSocket.Receiver = Receiver;
16
+ WebSocket.Sender = Sender;
17
+ WebSocket.Server = WebSocketServer;
18
+ WebSocket.subprotocol = subprotocol;
10
19
  WebSocket.WebSocket = WebSocket;
11
- WebSocket.WebSocketServer = WebSocket.Server;
20
+ WebSocket.WebSocketServer = WebSocketServer;
12
21
 
13
22
  module.exports = WebSocket;
@@ -37,6 +37,9 @@ class PerMessageDeflate {
37
37
  * acknowledge disabling of client context takeover
38
38
  * @param {Number} [options.concurrencyLimit=10] The number of concurrent
39
39
  * calls to zlib
40
+ * @param {Boolean} [options.isServer=false] Create the instance in either
41
+ * server or client mode
42
+ * @param {Number} [options.maxPayload=0] The maximum allowed message length
40
43
  * @param {(Boolean|Number)} [options.serverMaxWindowBits] Request/confirm the
41
44
  * use of a custom server window size
42
45
  * @param {Boolean} [options.serverNoContextTakeover=false] Request/accept
@@ -47,16 +50,13 @@ class PerMessageDeflate {
47
50
  * deflate
48
51
  * @param {Object} [options.zlibInflateOptions] Options to pass to zlib on
49
52
  * inflate
50
- * @param {Boolean} [isServer=false] Create the instance in either server or
51
- * client mode
52
- * @param {Number} [maxPayload=0] The maximum allowed message length
53
53
  */
54
- constructor(options, isServer, maxPayload) {
55
- this._maxPayload = maxPayload | 0;
54
+ constructor(options) {
56
55
  this._options = options || {};
57
56
  this._threshold =
58
57
  this._options.threshold !== undefined ? this._options.threshold : 1024;
59
- this._isServer = !!isServer;
58
+ this._maxPayload = this._options.maxPayload | 0;
59
+ this._isServer = !!this._options.isServer;
60
60
  this._deflate = null;
61
61
  this._inflate = null;
62
62
 
@@ -40,6 +40,10 @@ class Receiver extends Writable {
40
40
  * extensions
41
41
  * @param {Boolean} [options.isServer=false] Specifies whether to operate in
42
42
  * client or server mode
43
+ * @param {Number} [options.maxBufferedChunks=0] The maximum number of
44
+ * buffered data chunks
45
+ * @param {Number} [options.maxFragments=0] The maximum number of message
46
+ * fragments
43
47
  * @param {Number} [options.maxPayload=0] The maximum allowed message length
44
48
  * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or
45
49
  * not to skip UTF-8 validation for text and close messages
@@ -54,6 +58,8 @@ class Receiver extends Writable {
54
58
  this._binaryType = options.binaryType || BINARY_TYPES[0];
55
59
  this._extensions = options.extensions || {};
56
60
  this._isServer = !!options.isServer;
61
+ this._maxBufferedChunks = options.maxBufferedChunks | 0;
62
+ this._maxFragments = options.maxFragments | 0;
57
63
  this._maxPayload = options.maxPayload | 0;
58
64
  this._skipUTF8Validation = !!options.skipUTF8Validation;
59
65
  this[kWebSocket] = undefined;
@@ -89,6 +95,22 @@ class Receiver extends Writable {
89
95
  _write(chunk, encoding, cb) {
90
96
  if (this._opcode === 0x08 && this._state == GET_INFO) return cb();
91
97
 
98
+ if (
99
+ this._maxBufferedChunks > 0 &&
100
+ this._buffers.length >= this._maxBufferedChunks
101
+ ) {
102
+ cb(
103
+ this.createError(
104
+ RangeError,
105
+ 'Too many buffered chunks',
106
+ false,
107
+ 1008,
108
+ 'WS_ERR_TOO_MANY_BUFFERED_PARTS'
109
+ )
110
+ );
111
+ return;
112
+ }
113
+
92
114
  this._bufferedBytes += chunk.length;
93
115
  this._buffers.push(chunk);
94
116
  this.startLoop(cb);
@@ -485,6 +507,22 @@ class Receiver extends Writable {
485
507
  }
486
508
 
487
509
  if (data.length) {
510
+ if (
511
+ this._maxFragments > 0 &&
512
+ this._fragments.length >= this._maxFragments
513
+ ) {
514
+ const error = this.createError(
515
+ RangeError,
516
+ 'Too many message fragments',
517
+ false,
518
+ 1008,
519
+ 'WS_ERR_TOO_MANY_BUFFERED_PARTS'
520
+ );
521
+
522
+ cb(error);
523
+ return;
524
+ }
525
+
488
526
  //
489
527
  // This message is not compressed so its length is the sum of the payload
490
528
  // length of all fragments.
@@ -524,6 +562,22 @@ class Receiver extends Writable {
524
562
  return;
525
563
  }
526
564
 
565
+ if (
566
+ this._maxFragments > 0 &&
567
+ this._fragments.length >= this._maxFragments
568
+ ) {
569
+ const error = this.createError(
570
+ RangeError,
571
+ 'Too many message fragments',
572
+ false,
573
+ 1008,
574
+ 'WS_ERR_TOO_MANY_BUFFERED_PARTS'
575
+ );
576
+
577
+ cb(error);
578
+ return;
579
+ }
580
+
527
581
  this._fragments.push(buf);
528
582
  }
529
583
 
@@ -4,6 +4,9 @@
4
4
 
5
5
  const { Duplex } = require('stream');
6
6
  const { randomFillSync } = require('crypto');
7
+ const {
8
+ types: { isUint8Array }
9
+ } = require('util');
7
10
 
8
11
  const PerMessageDeflate = require('./permessage-deflate');
9
12
  const { EMPTY_BUFFER, kWebSocket, NOOP } = require('./constants');
@@ -200,8 +203,10 @@ class Sender {
200
203
 
201
204
  if (typeof data === 'string') {
202
205
  buf.write(data, 2);
203
- } else {
206
+ } else if (isUint8Array(data)) {
204
207
  buf.set(data, 2);
208
+ } else {
209
+ throw new TypeError('Second argument must be a string or a Uint8Array');
205
210
  }
206
211
  }
207
212
 
@@ -43,6 +43,10 @@ class WebSocketServer extends EventEmitter {
43
43
  * called
44
44
  * @param {Function} [options.handleProtocols] A hook to handle protocols
45
45
  * @param {String} [options.host] The hostname where to bind the server
46
+ * @param {Number} [options.maxBufferedChunks=1048576] The maximum number of
47
+ * buffered data chunks
48
+ * @param {Number} [options.maxFragments=131072] The maximum number of message
49
+ * fragments
46
50
  * @param {Number} [options.maxPayload=104857600] The maximum allowed message
47
51
  * size
48
52
  * @param {Boolean} [options.noServer=false] Enable no server mode
@@ -65,6 +69,8 @@ class WebSocketServer extends EventEmitter {
65
69
  options = {
66
70
  allowSynchronousEvents: true,
67
71
  autoPong: true,
72
+ maxBufferedChunks: 1024 * 1024,
73
+ maxFragments: 128 * 1024,
68
74
  maxPayload: 100 * 1024 * 1024,
69
75
  skipUTF8Validation: false,
70
76
  perMessageDeflate: false,
@@ -293,11 +299,11 @@ class WebSocketServer extends EventEmitter {
293
299
  this.options.perMessageDeflate &&
294
300
  secWebSocketExtensions !== undefined
295
301
  ) {
296
- const perMessageDeflate = new PerMessageDeflate(
297
- this.options.perMessageDeflate,
298
- true,
299
- this.options.maxPayload
300
- );
302
+ const perMessageDeflate = new PerMessageDeflate({
303
+ ...this.options.perMessageDeflate,
304
+ isServer: true,
305
+ maxPayload: this.options.maxPayload
306
+ });
301
307
 
302
308
  try {
303
309
  const offers = extension.parse(secWebSocketExtensions);
@@ -424,6 +430,8 @@ class WebSocketServer extends EventEmitter {
424
430
 
425
431
  ws.setSocket(socket, head, {
426
432
  allowSynchronousEvents: this.options.allowSynchronousEvents,
433
+ maxBufferedChunks: this.options.maxBufferedChunks,
434
+ maxFragments: this.options.maxFragments,
427
435
  maxPayload: this.options.maxPayload,
428
436
  skipUTF8Validation: this.options.skipUTF8Validation
429
437
  });
@@ -201,6 +201,10 @@ class WebSocket extends EventEmitter {
201
201
  * multiple times in the same tick
202
202
  * @param {Function} [options.generateMask] The function used to generate the
203
203
  * masking key
204
+ * @param {Number} [options.maxBufferedChunks=0] The maximum number of
205
+ * buffered data chunks
206
+ * @param {Number} [options.maxFragments=0] The maximum number of message
207
+ * fragments
204
208
  * @param {Number} [options.maxPayload=0] The maximum allowed message size
205
209
  * @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or
206
210
  * not to skip UTF-8 validation for text and close messages
@@ -212,6 +216,8 @@ class WebSocket extends EventEmitter {
212
216
  binaryType: this.binaryType,
213
217
  extensions: this._extensions,
214
218
  isServer: this._isServer,
219
+ maxBufferedChunks: options.maxBufferedChunks,
220
+ maxFragments: options.maxFragments,
215
221
  maxPayload: options.maxPayload,
216
222
  skipUTF8Validation: options.skipUTF8Validation
217
223
  });
@@ -640,6 +646,10 @@ module.exports = WebSocket;
640
646
  * masking key
641
647
  * @param {Number} [options.handshakeTimeout] Timeout in milliseconds for the
642
648
  * handshake request
649
+ * @param {Number} [options.maxBufferedChunks=1048576] The maximum number of
650
+ * buffered data chunks
651
+ * @param {Number} [options.maxFragments=131072] The maximum number of message
652
+ * fragments
643
653
  * @param {Number} [options.maxPayload=104857600] The maximum allowed message
644
654
  * size
645
655
  * @param {Number} [options.maxRedirects=10] The maximum number of redirects
@@ -660,6 +670,8 @@ function initAsClient(websocket, address, protocols, options) {
660
670
  autoPong: true,
661
671
  closeTimeout: CLOSE_TIMEOUT,
662
672
  protocolVersion: protocolVersions[1],
673
+ maxBufferedChunks: 1024 * 1024,
674
+ maxFragments: 128 * 1024,
663
675
  maxPayload: 100 * 1024 * 1024,
664
676
  skipUTF8Validation: false,
665
677
  perMessageDeflate: true,
@@ -693,7 +705,7 @@ function initAsClient(websocket, address, protocols, options) {
693
705
  } else {
694
706
  try {
695
707
  parsedUrl = new URL(address);
696
- } catch (e) {
708
+ } catch {
697
709
  throw new SyntaxError(`Invalid URL: ${address}`);
698
710
  }
699
711
  }
@@ -755,11 +767,11 @@ function initAsClient(websocket, address, protocols, options) {
755
767
  opts.timeout = opts.handshakeTimeout;
756
768
 
757
769
  if (opts.perMessageDeflate) {
758
- perMessageDeflate = new PerMessageDeflate(
759
- opts.perMessageDeflate !== true ? opts.perMessageDeflate : {},
760
- false,
761
- opts.maxPayload
762
- );
770
+ perMessageDeflate = new PerMessageDeflate({
771
+ ...opts.perMessageDeflate,
772
+ isServer: false,
773
+ maxPayload: opts.maxPayload
774
+ });
763
775
  opts.headers['Sec-WebSocket-Extensions'] = format({
764
776
  [PerMessageDeflate.extensionName]: perMessageDeflate.offer()
765
777
  });
@@ -1017,6 +1029,8 @@ function initAsClient(websocket, address, protocols, options) {
1017
1029
  websocket.setSocket(socket, head, {
1018
1030
  allowSynchronousEvents: opts.allowSynchronousEvents,
1019
1031
  generateMask: opts.generateMask,
1032
+ maxBufferedChunks: opts.maxBufferedChunks,
1033
+ maxFragments: opts.maxFragments,
1020
1034
  maxPayload: opts.maxPayload,
1021
1035
  skipUTF8Validation: opts.skipUTF8Validation
1022
1036
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ws",
3
- "version": "8.19.0",
3
+ "version": "8.21.0",
4
4
  "description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js",
5
5
  "keywords": [
6
6
  "HyBi",
@@ -55,12 +55,13 @@
55
55
  }
56
56
  },
57
57
  "devDependencies": {
58
+ "@eslint/js": "^10.0.1",
58
59
  "benchmark": "^2.1.4",
59
60
  "bufferutil": "^4.0.1",
60
- "eslint": "^9.0.0",
61
+ "eslint": "^10.0.1",
61
62
  "eslint-config-prettier": "^10.0.1",
62
63
  "eslint-plugin-prettier": "^5.0.0",
63
- "globals": "^16.0.0",
64
+ "globals": "^17.0.0",
64
65
  "mocha": "^8.4.0",
65
66
  "nyc": "^15.0.0",
66
67
  "prettier": "^3.0.0",
@@ -1,8 +1,21 @@
1
1
  import createWebSocketStream from './lib/stream.js';
2
+ import extension from './lib/extension.js';
3
+ import PerMessageDeflate from './lib/permessage-deflate.js';
2
4
  import Receiver from './lib/receiver.js';
3
5
  import Sender from './lib/sender.js';
6
+ import subprotocol from './lib/subprotocol.js';
4
7
  import WebSocket from './lib/websocket.js';
5
8
  import WebSocketServer from './lib/websocket-server.js';
6
9
 
7
- export { createWebSocketStream, Receiver, Sender, WebSocket, WebSocketServer };
10
+ export {
11
+ createWebSocketStream,
12
+ extension,
13
+ PerMessageDeflate,
14
+ Receiver,
15
+ Sender,
16
+ subprotocol,
17
+ WebSocket,
18
+ WebSocketServer
19
+ };
20
+
8
21
  export default WebSocket;
@@ -3,26 +3,21 @@ var fs = require('fs');
3
3
  var util = require('util');
4
4
  var stream = require('stream');
5
5
  var Readable = stream.Readable;
6
- var Writable = stream.Writable;
7
6
  var PassThrough = stream.PassThrough;
8
7
  var Pend = require('pend');
9
8
  var EventEmitter = require('events').EventEmitter;
10
9
 
11
- exports.createFromBuffer = createFromBuffer;
12
- exports.createFromFd = createFromFd;
13
10
  exports.BufferSlicer = BufferSlicer;
14
11
  exports.FdSlicer = FdSlicer;
15
12
 
16
13
  util.inherits(FdSlicer, EventEmitter);
17
- function FdSlicer(fd, options) {
18
- options = options || {};
14
+ function FdSlicer(fd) {
19
15
  EventEmitter.call(this);
20
16
 
21
17
  this.fd = fd;
22
18
  this.pend = new Pend();
23
19
  this.pend.max = 1;
24
20
  this.refCount = 0;
25
- this.autoClose = !!options.autoClose;
26
21
  }
27
22
 
28
23
  FdSlicer.prototype.read = function(buffer, offset, length, position, callback) {
@@ -35,24 +30,10 @@ FdSlicer.prototype.read = function(buffer, offset, length, position, callback) {
35
30
  });
36
31
  };
37
32
 
38
- FdSlicer.prototype.write = function(buffer, offset, length, position, callback) {
39
- var self = this;
40
- self.pend.go(function(cb) {
41
- fs.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
42
- cb();
43
- callback(err, written, buffer);
44
- });
45
- });
46
- };
47
-
48
33
  FdSlicer.prototype.createReadStream = function(options) {
49
34
  return new ReadStream(this, options);
50
35
  };
51
36
 
52
- FdSlicer.prototype.createWriteStream = function(options) {
53
- return new WriteStream(this, options);
54
- };
55
-
56
37
  FdSlicer.prototype.ref = function() {
57
38
  this.refCount += 1;
58
39
  };
@@ -60,13 +41,10 @@ FdSlicer.prototype.ref = function() {
60
41
  FdSlicer.prototype.unref = function() {
61
42
  var self = this;
62
43
  self.refCount -= 1;
63
-
64
- if (self.refCount > 0) return;
65
44
  if (self.refCount < 0) throw new Error("invalid unref");
45
+ if (self.refCount > 0) return;
66
46
 
67
- if (self.autoClose) {
68
- fs.close(self.fd, onCloseDone);
69
- }
47
+ fs.close(self.fd, onCloseDone);
70
48
 
71
49
  function onCloseDone(err) {
72
50
  if (err) {
@@ -88,33 +66,28 @@ function ReadStream(context, options) {
88
66
  this.start = options.start || 0;
89
67
  this.endOffset = options.end;
90
68
  this.pos = this.start;
91
- this.destroyed = false;
92
69
  }
93
70
 
94
71
  ReadStream.prototype._read = function(n) {
95
72
  var self = this;
96
- if (self.destroyed) return;
97
73
 
98
74
  var toRead = Math.min(self._readableState.highWaterMark, n);
99
75
  if (self.endOffset != null) {
100
76
  toRead = Math.min(toRead, self.endOffset - self.pos);
101
77
  }
102
78
  if (toRead <= 0) {
103
- self.destroyed = true;
104
79
  self.push(null);
105
- self.context.unref();
80
+ this._cleanup();
106
81
  return;
107
82
  }
108
83
  self.context.pend.go(function(cb) {
109
- if (self.destroyed) return cb();
110
84
  var buffer = Buffer.allocUnsafe(toRead);
111
85
  fs.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
112
86
  if (err) {
113
87
  self.destroy(err);
114
88
  } else if (bytesRead === 0) {
115
- self.destroyed = true;
116
89
  self.push(null);
117
- self.context.unref();
90
+ this._cleanup();
118
91
  } else {
119
92
  self.pos += bytesRead;
120
93
  self.push(buffer.slice(0, bytesRead));
@@ -124,74 +97,25 @@ ReadStream.prototype._read = function(n) {
124
97
  });
125
98
  };
126
99
 
127
- ReadStream.prototype.destroy = function(err) {
128
- if (this.destroyed) return;
129
- err = err || new Error("stream destroyed");
130
- this.destroyed = true;
131
- this.emit('error', err);
132
- this.context.unref();
100
+ ReadStream.prototype._destroy = function(err, cb) {
101
+ // Node 14+ calls this automatically at EOF.
102
+ this._cleanup();
103
+ cb(err);
133
104
  };
134
105
 
135
- util.inherits(WriteStream, Writable);
136
- function WriteStream(context, options) {
137
- options = options || {};
138
- Writable.call(this, options);
139
-
140
- this.context = context;
141
- this.context.ref();
142
-
143
- this.start = options.start || 0;
144
- this.endOffset = (options.end == null) ? Infinity : +options.end;
145
- this.bytesWritten = 0;
146
- this.pos = this.start;
147
- this.destroyed = false;
148
-
149
- this.on('finish', this.destroy.bind(this));
150
- }
151
-
152
- WriteStream.prototype._write = function(buffer, encoding, callback) {
153
- var self = this;
154
- if (self.destroyed) return;
155
-
156
- if (self.pos + buffer.length > self.endOffset) {
157
- var err = new Error("maximum file length exceeded");
158
- err.code = 'ETOOBIG';
159
- self.destroy();
160
- callback(err);
161
- return;
106
+ ReadStream.prototype._cleanup = function() {
107
+ if (this.context != null) {
108
+ this.context.unref();
109
+ this.context = null;
162
110
  }
163
- self.context.pend.go(function(cb) {
164
- if (self.destroyed) return cb();
165
- fs.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
166
- if (err) {
167
- self.destroy();
168
- cb();
169
- callback(err);
170
- } else {
171
- self.bytesWritten += bytes;
172
- self.pos += bytes;
173
- self.emit('progress');
174
- cb();
175
- callback();
176
- }
177
- });
178
- });
179
- };
180
-
181
- WriteStream.prototype.destroy = function() {
182
- if (this.destroyed) return;
183
- this.destroyed = true;
184
- this.context.unref();
185
111
  };
186
112
 
187
113
  util.inherits(BufferSlicer, EventEmitter);
188
- function BufferSlicer(buffer, options) {
114
+ function BufferSlicer(buffer) {
189
115
  EventEmitter.call(this);
190
116
 
191
- options = options || {};
192
117
  this.refCount = 0;
193
118
  this.buffer = buffer;
194
- this.maxChunkSize = options.maxChunkSize || Number.MAX_SAFE_INTEGER;
195
119
  }
196
120
 
197
121
  BufferSlicer.prototype.read = function(buffer, offset, length, position, callback) {
@@ -221,27 +145,21 @@ BufferSlicer.prototype.read = function(buffer, offset, length, position, callbac
221
145
  });
222
146
  };
223
147
 
224
- BufferSlicer.prototype.write = function(buffer, offset, length, position, callback) {
225
- buffer.copy(this.buffer, position, offset, offset + length);
226
- setImmediate(function() {
227
- callback(null, length, buffer);
228
- });
229
- };
230
-
231
148
  BufferSlicer.prototype.createReadStream = function(options) {
232
149
  options = options || {};
233
150
  var readStream = new PassThrough(options);
234
- readStream.destroyed = false;
235
151
  readStream.start = options.start || 0;
236
152
  readStream.endOffset = options.end;
237
153
  // by the time this function returns, we'll be done.
238
154
  readStream.pos = readStream.endOffset || this.buffer.length;
239
155
 
240
- // respect the maxChunkSize option to slice up the chunk into smaller pieces.
241
156
  var entireSlice = this.buffer.slice(readStream.start, readStream.pos);
157
+ // Cut the buffer into smaller slices for better memory usage when streaming into a zlib inflate stream.
158
+ // See https://github.com/thejoshwolfe/yauzl/issues/87
159
+ var maxChunkSize = 0x10000;
242
160
  var offset = 0;
243
161
  while (true) {
244
- var nextOffset = offset + this.maxChunkSize;
162
+ var nextOffset = offset + maxChunkSize;
245
163
  if (nextOffset >= entireSlice.length) {
246
164
  // last chunk
247
165
  if (offset < entireSlice.length) {
@@ -254,45 +172,9 @@ BufferSlicer.prototype.createReadStream = function(options) {
254
172
  }
255
173
 
256
174
  readStream.end();
257
- readStream.destroy = function() {
258
- readStream.destroyed = true;
259
- };
260
175
  return readStream;
261
176
  };
262
177
 
263
- BufferSlicer.prototype.createWriteStream = function(options) {
264
- var bufferSlicer = this;
265
- options = options || {};
266
- var writeStream = new Writable(options);
267
- writeStream.start = options.start || 0;
268
- writeStream.endOffset = (options.end == null) ? this.buffer.length : +options.end;
269
- writeStream.bytesWritten = 0;
270
- writeStream.pos = writeStream.start;
271
- writeStream.destroyed = false;
272
- writeStream._write = function(buffer, encoding, callback) {
273
- if (writeStream.destroyed) return;
274
-
275
- var end = writeStream.pos + buffer.length;
276
- if (end > writeStream.endOffset) {
277
- var err = new Error("maximum file length exceeded");
278
- err.code = 'ETOOBIG';
279
- writeStream.destroyed = true;
280
- callback(err);
281
- return;
282
- }
283
- buffer.copy(bufferSlicer.buffer, writeStream.pos, 0, buffer.length);
284
-
285
- writeStream.bytesWritten += buffer.length;
286
- writeStream.pos = end;
287
- writeStream.emit('progress');
288
- callback();
289
- };
290
- writeStream.destroy = function() {
291
- writeStream.destroyed = true;
292
- };
293
- return writeStream;
294
- };
295
-
296
178
  BufferSlicer.prototype.ref = function() {
297
179
  this.refCount += 1;
298
180
  };
@@ -304,11 +186,3 @@ BufferSlicer.prototype.unref = function() {
304
186
  throw new Error("invalid unref");
305
187
  }
306
188
  };
307
-
308
- function createFromBuffer(buffer, options) {
309
- return new BufferSlicer(buffer, options);
310
- }
311
-
312
- function createFromFd(fd, options) {
313
- return new FdSlicer(fd, options);
314
- }