conductor-oss 0.61.21 → 0.61.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@conductor-oss/core/package.json +1 -1
- package/package.json +6 -6
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/README.md +46 -0
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +219 -0
- package/web/.next/standalone/node_modules/@img/{sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 → sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.3} +0 -0
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/package.json +2 -2
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/versions.json +20 -20
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +46 -0
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +219 -0
- package/web/.next/standalone/node_modules/@img/{sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 → sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.18.3} +0 -0
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +2 -2
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +20 -20
- package/web/.next/standalone/node_modules/@img/sharp-linux-x64/index.cjs +1 -0
- package/web/.next/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64-0.35.0.node +0 -0
- package/web/.next/standalone/node_modules/@img/sharp-linux-x64/package.json +6 -5
- package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/index.cjs +1 -0
- package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64-0.35.0.node +0 -0
- package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +6 -5
- package/web/.next/standalone/node_modules/@next/env/package.json +8 -9
- package/web/.next/standalone/node_modules/next/dist/build/swc/index.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/build/webpack-config.js +3 -3
- package/web/.next/standalone/node_modules/next/dist/client/dev/debug-channel.js +102 -2
- package/web/.next/standalone/node_modules/next/dist/compiled/http-proxy/index.js +5 -5
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +11 -10
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +12 -11
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +14 -13
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +11 -10
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +2 -2
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +9 -9
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +9 -9
- package/web/.next/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
- package/web/.next/standalone/node_modules/next/dist/server/app-render/action-handler.js +147 -42
- package/web/.next/standalone/node_modules/next/dist/server/app-render/manifests-singleton.js +52 -4
- package/web/.next/standalone/node_modules/next/dist/server/config-schema.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/server/config-shared.js +0 -2
- package/web/.next/standalone/node_modules/next/dist/server/config.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
- package/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/server/image-optimizer.js +8 -27
- package/web/.next/standalone/node_modules/next/dist/server/lib/app-info-log.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/server/lib/encode-cache-tag.js +45 -0
- package/web/.next/standalone/node_modules/next/dist/server/lib/implicit-tags.js +6 -3
- package/web/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/index.js +90 -53
- package/web/.next/standalone/node_modules/next/dist/server/lib/patch-fetch.js +20 -3
- package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/proxy-request.js +4 -0
- package/web/.next/standalone/node_modules/next/dist/server/lib/start-server.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/shared/lib/router/router.js +8 -1
- package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +2 -1
- package/web/.next/standalone/node_modules/next/dist/shared/lib/server-reference-info.js +12 -0
- package/web/.next/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/web/.next/standalone/node_modules/next/package.json +10 -252
- package/web/.next/standalone/node_modules/postcss/lib/container.js +81 -34
- package/web/.next/standalone/node_modules/postcss/lib/fromJSON.js +76 -23
- package/web/.next/standalone/node_modules/postcss/lib/input.js +13 -4
- package/web/.next/standalone/node_modules/postcss/lib/lazy-result.js +55 -13
- package/web/.next/standalone/node_modules/postcss/lib/node.js +105 -60
- package/web/.next/standalone/node_modules/postcss/lib/previous-map.js +11 -2
- package/web/.next/standalone/node_modules/postcss/lib/processor.js +1 -1
- package/web/.next/standalone/node_modules/postcss/lib/stringifier.js +90 -25
- package/web/.next/standalone/node_modules/postcss/package.json +1 -1
- package/web/.next/standalone/node_modules/sharp/{lib/channel.js → dist/channel.cjs} +1 -1
- package/web/.next/standalone/node_modules/sharp/{lib/colour.js → dist/colour.cjs} +1 -1
- package/web/.next/standalone/node_modules/sharp/{lib/composite.js → dist/composite.cjs} +2 -1
- package/web/.next/standalone/node_modules/sharp/{lib/constructor.js → dist/constructor.cjs} +41 -29
- package/web/.next/standalone/node_modules/sharp/dist/index.cjs +25 -0
- package/web/.next/standalone/node_modules/sharp/{lib/input.js → dist/input.cjs} +19 -14
- package/web/.next/standalone/node_modules/sharp/{lib/libvips.js → dist/libvips.cjs} +35 -30
- package/web/.next/standalone/node_modules/sharp/{lib/operation.js → dist/operation.cjs} +6 -35
- package/web/.next/standalone/node_modules/sharp/{lib/output.js → dist/output.cjs} +142 -14
- package/web/.next/standalone/node_modules/sharp/{lib/resize.js → dist/resize.cjs} +19 -1
- package/web/.next/standalone/node_modules/sharp/dist/sharp.cjs +164 -0
- package/web/.next/standalone/node_modules/sharp/{lib/utility.js → dist/utility.cjs} +11 -7
- package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/range.js +24 -4
- package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/semver.js +19 -2
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/clean.js +8 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/compare-build.js +9 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/compare-loose.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/diff.js +60 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/inc.js +21 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/major.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/minor.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/patch.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/prerelease.js +8 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/rcompare.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/rsort.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/sort.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/truncate.js +48 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/valid.js +8 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/index.js +93 -0
- package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/re.js +1 -1
- package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/package.json +4 -4
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/preload.js +4 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/gtr.js +6 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/intersects.js +9 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/ltr.js +6 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/min-version.js +63 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/outside.js +82 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/simplify.js +49 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/subset.js +249 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/to-comparators.js +10 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/valid.js +13 -0
- package/web/.next/standalone/node_modules/sharp/package.json +60 -49
- package/web/.next/standalone/package.json +3 -2
- package/web/.next/standalone/packages/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/packages/web/.next/app-path-routes-manifest.json +9 -9
- package/web/.next/standalone/packages/web/.next/build-manifest.json +4 -4
- package/web/.next/standalone/packages/web/.next/prerender-manifest.json +3 -3
- package/web/.next/standalone/packages/web/.next/react-loadable-manifest.json +8 -8
- package/web/.next/standalone/packages/web/.next/required-server-files.json +6 -1
- package/web/.next/standalone/packages/web/.next/server/app/__clerk/[[...path]]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.html +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/access/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/agents/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/app-update/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/attachments/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/auth/profile/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/boards/comments/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/boards/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/bridges/[bridgeId]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/bridges/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/app-update/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/repair/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/service-restart/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/claims/complete/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/code/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridges/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/config/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/context-files/open/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/context-files/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/events/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/executor/health/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/directory/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/pick-directory/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/projects/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/projects/sync/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/repos/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/webhook/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/health/boards/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/health/sessions/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/notifications/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/preferences/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/backlinks/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/daily/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/file/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/graph/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/open/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/approve/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/bindings/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/feed/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/feed/stream/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/integration/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/interrupt/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/preferences/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/reject/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/send/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/[task]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatchers/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/open/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/setup/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/repositories/[id]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/repositories/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/actions/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/archive/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/checks/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/diff/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/files/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/keys/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/kill/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/dom/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/screenshot/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/restore/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/send/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/relay/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/snapshot/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/token/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/token/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/ws/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/activate/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/catalog/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/deactivate/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/install/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/installed/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/session-active/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/uninstall/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/spawn/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/branches/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/install.ps1/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/install.sh/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/icon.svg/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-up/[[...sign-up]]/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-up/[[...sign-up]]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-up/[[...sign-up]]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app-paths-manifest.json +9 -9
- package/web/.next/standalone/packages/web/.next/server/chunks/2074.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/chunks/2512.js +3 -3
- package/web/.next/standalone/packages/web/.next/server/chunks/3303.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/3698.js +5 -3
- package/web/.next/standalone/packages/web/.next/server/chunks/3786.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/chunks/6108.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/chunks/6472.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/724.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/7481.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/7776.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/8688.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/chunks/9455.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/9787.js +3 -3
- package/web/.next/standalone/packages/web/.next/server/middleware-build-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/middleware.js +4 -4
- package/web/.next/standalone/packages/web/.next/server/next-font-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/next-font-manifest.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/pages/500.html +1 -1
- package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.json +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/17319.f853545792589ec2.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/{34443.c71c524d5fcc197f.js → 34443.fa5f443480cf2b8a.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/39816.fd2a8af735afdbe1.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/41696.3e691c667c1e7b81.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/41998.bfd148a33a5b285a.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/{61968-84de5fd1d154571d.js → 61968-1d55f423ea1ad7fb.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/76892-86e55e6d0e7ca057.js +1 -0
- package/web/.next/{static/chunks/79593-c8c8ed0f8829c660.js → standalone/packages/web/.next/static/chunks/79593-2f58ba44bc178231.js} +2 -2
- package/web/.next/standalone/packages/web/.next/static/chunks/81132.92c626a062747078.js +3 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/9016-c4fa23038e6de72b.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/{layout-1d6034a5d57a2849.js → layout-dc8ca6126999c95c.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/page-f3925343b6c5eaa9.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/sessions/[id]/page-b1d7e1d41fba2817.js +1 -0
- package/web/.next/{static/chunks/main-e776ff7a08a61c77.js → standalone/packages/web/.next/static/chunks/main-0a70c45f3b60fdcf.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/webpack-0562fb102dd7e557.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/css/dfd1cecfd68c43ff.css +1 -0
- package/web/.next/standalone/packages/web/package.json +2 -1
- package/web/.next/standalone/packages/web/server.js +1 -1
- package/web/.next/static/chunks/17319.f853545792589ec2.js +1 -0
- package/web/.next/static/chunks/{34443.c71c524d5fcc197f.js → 34443.fa5f443480cf2b8a.js} +1 -1
- package/web/.next/static/chunks/39816.fd2a8af735afdbe1.js +1 -0
- package/web/.next/static/chunks/41696.3e691c667c1e7b81.js +1 -0
- package/web/.next/static/chunks/41998.bfd148a33a5b285a.js +1 -0
- package/web/.next/static/chunks/{61968-84de5fd1d154571d.js → 61968-1d55f423ea1ad7fb.js} +1 -1
- package/web/.next/static/chunks/76892-86e55e6d0e7ca057.js +1 -0
- package/web/.next/{standalone/packages/web/.next/static/chunks/79593-c8c8ed0f8829c660.js → static/chunks/79593-2f58ba44bc178231.js} +2 -2
- package/web/.next/static/chunks/81132.92c626a062747078.js +3 -0
- package/web/.next/static/chunks/9016-c4fa23038e6de72b.js +1 -0
- package/web/.next/static/chunks/app/{layout-1d6034a5d57a2849.js → layout-dc8ca6126999c95c.js} +1 -1
- package/web/.next/static/chunks/app/page-f3925343b6c5eaa9.js +1 -0
- package/web/.next/static/chunks/app/sessions/[id]/page-b1d7e1d41fba2817.js +1 -0
- package/web/.next/{standalone/packages/web/.next/static/chunks/main-e776ff7a08a61c77.js → static/chunks/main-0a70c45f3b60fdcf.js} +1 -1
- package/web/.next/static/chunks/webpack-0562fb102dd7e557.js +1 -0
- package/web/.next/static/css/dfd1cecfd68c43ff.css +1 -0
- package/web/.next/standalone/node_modules/@img/sharp-linux-x64/LICENSE +0 -191
- package/web/.next/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
- package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/LICENSE +0 -191
- package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
- package/web/.next/standalone/node_modules/sharp/lib/index.js +0 -16
- package/web/.next/standalone/node_modules/sharp/lib/sharp.js +0 -121
- package/web/.next/standalone/packages/web/.next/server/chunks/1364.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/4013.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/9398.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/28386-0121205400994756.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/39816.a3835fb513390d7c.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/41696.08fe09203aaf1a18.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/41998.4a8b2f9f7d29a4dc.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/81132.bfc52d50d21324b2.js +0 -3
- package/web/.next/standalone/packages/web/.next/static/chunks/84322.a03fd8fc2bb2e8d7.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/9016-2b7d7b8b143a8323.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/page-0ba7acf47a6b3ac6.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/sessions/[id]/page-aeb1ccc1a89248d5.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/webpack-c447583f01d6313b.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/css/895fa8ff3c08143e.css +0 -1
- package/web/.next/static/chunks/28386-0121205400994756.js +0 -1
- package/web/.next/static/chunks/39816.a3835fb513390d7c.js +0 -1
- package/web/.next/static/chunks/41696.08fe09203aaf1a18.js +0 -1
- package/web/.next/static/chunks/41998.4a8b2f9f7d29a4dc.js +0 -1
- package/web/.next/static/chunks/81132.bfc52d50d21324b2.js +0 -3
- package/web/.next/static/chunks/84322.a03fd8fc2bb2e8d7.js +0 -1
- package/web/.next/static/chunks/9016-2b7d7b8b143a8323.js +0 -1
- package/web/.next/static/chunks/app/page-0ba7acf47a6b3ac6.js +0 -1
- package/web/.next/static/chunks/app/sessions/[id]/page-aeb1ccc1a89248d5.js +0 -1
- package/web/.next/static/chunks/webpack-c447583f01d6313b.js +0 -1
- package/web/.next/static/css/895fa8ff3c08143e.css +0 -1
- /package/web/.next/standalone/node_modules/sharp/{lib/is.js → dist/is.cjs} +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/comparator.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/cmp.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/coerce.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/compare.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/eq.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gt.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gte.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lt.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lte.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/neq.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/parse.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/satisfies.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/constants.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/debug.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/identifiers.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/lrucache.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/parse-options.js +0 -0
- /package/web/.next/standalone/packages/web/.next/static/{bUZhqJ_eDpMX4oqHwonGR → p-tYD_lKtKhjhiZkKCbLL}/_buildManifest.js +0 -0
- /package/web/.next/standalone/packages/web/.next/static/{bUZhqJ_eDpMX4oqHwonGR → p-tYD_lKtKhjhiZkKCbLL}/_ssgManifest.js +0 -0
- /package/web/.next/static/{bUZhqJ_eDpMX4oqHwonGR → p-tYD_lKtKhjhiZkKCbLL}/_buildManifest.js +0 -0
- /package/web/.next/static/{bUZhqJ_eDpMX4oqHwonGR → p-tYD_lKtKhjhiZkKCbLL}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Percent-encode every character outside printable ASCII so a tag value can be
|
|
3
|
+
* safely serialized as part of the `x-next-cache-tags` HTTP header.
|
|
4
|
+
*
|
|
5
|
+
* Node's `validateHeaderValue` rejects any code unit outside `\t\x20-\x7e`, so
|
|
6
|
+
* a matched route path or user-supplied tag containing a non-ASCII character
|
|
7
|
+
* (Hebrew, Arabic, Chinese, emoji, …) would otherwise throw `ERR_INVALID_CHAR`
|
|
8
|
+
* and crash ISR on every affected request.
|
|
9
|
+
*
|
|
10
|
+
* This is applied at the public boundaries — tag construction
|
|
11
|
+
* (`getImplicitTags`, `validateTags`) and invalidation input (`revalidatePath`,
|
|
12
|
+
* `revalidateTag`, `updateTag`) — so storage, comparison, and the wire all see
|
|
13
|
+
* the same canonical ASCII-safe form.
|
|
14
|
+
*
|
|
15
|
+
* The character class `[\t\x20-\x7e]` mirrors Node's `validHdrChars` table —
|
|
16
|
+
* `\t` plus printable ASCII through `~`. Anything outside that is rejected
|
|
17
|
+
* by `validateHeaderValue`, so we encode runs of those characters and leave
|
|
18
|
+
* everything else (`,`, `/`, `%`, `[`, `]`, `_`, `-`, `\t`, …) byte-for-byte
|
|
19
|
+
* unchanged. This preserves the comma-separated header format and the
|
|
20
|
+
* dynamic-segment markers in derived tags (`_N_T_/[slug]/page`).
|
|
21
|
+
*
|
|
22
|
+
* Properties:
|
|
23
|
+
* - Fast-path: input that already fits the validation class is returned
|
|
24
|
+
* unchanged. This makes the encoder idempotent on already-encoded `%xx`
|
|
25
|
+
* sequences.
|
|
26
|
+
* - Matches *runs* of out-of-class code units so surrogate pairs (e.g. an
|
|
27
|
+
* emoji) are handed to `encodeURIComponent` as a complete code point — a
|
|
28
|
+
* per-code-unit regex would split the pair and throw `URIError`.
|
|
29
|
+
*/ "use strict";
|
|
30
|
+
Object.defineProperty(exports, "__esModule", {
|
|
31
|
+
value: true
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "encodeCacheTag", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function() {
|
|
36
|
+
return encodeCacheTag;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
const OUT_OF_CLASS_CHAR = /[^\t\x20-\x7e]/;
|
|
40
|
+
const OUT_OF_CLASS_RUN = /[^\t\x20-\x7e]+/g;
|
|
41
|
+
function encodeCacheTag(tag) {
|
|
42
|
+
return OUT_OF_CLASS_CHAR.test(tag) ? tag.replace(OUT_OF_CLASS_RUN, (run)=>encodeURIComponent(run)) : tag;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=encode-cache-tag.js.map
|
|
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "getImplicitTags", {
|
|
|
10
10
|
});
|
|
11
11
|
const _constants = require("../../lib/constants");
|
|
12
12
|
const _handlers = require("../use-cache/handlers");
|
|
13
|
+
const _encodecachetag = require("./encode-cache-tag");
|
|
13
14
|
const _lazyresult = require("./lazy-result");
|
|
14
15
|
const getDerivedTags = (pathname)=>{
|
|
15
16
|
const derivedTags = [
|
|
@@ -49,16 +50,18 @@ const getDerivedTags = (pathname)=>{
|
|
|
49
50
|
}
|
|
50
51
|
async function getImplicitTags(page, pathname, fallbackRouteParams) {
|
|
51
52
|
const tags = new Set();
|
|
52
|
-
// Add the derived tags from the page.
|
|
53
|
+
// Add the derived tags from the page. Encode each tag so a non-ASCII
|
|
54
|
+
// pathname doesn't trip header validation when written to
|
|
55
|
+
// `x-next-cache-tags`. Idempotent on already-ASCII input.
|
|
53
56
|
const derivedTags = getDerivedTags(page);
|
|
54
57
|
for (let tag of derivedTags){
|
|
55
|
-
tag = `${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}${tag}
|
|
58
|
+
tag = (0, _encodecachetag.encodeCacheTag)(`${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}${tag}`);
|
|
56
59
|
tags.add(tag);
|
|
57
60
|
}
|
|
58
61
|
// Add the tags from the pathname. If the route has unknown params, we don't
|
|
59
62
|
// want to add the pathname as a tag, as it will be invalid.
|
|
60
63
|
if (pathname && (!fallbackRouteParams || fallbackRouteParams.size === 0)) {
|
|
61
|
-
const tag = `${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}${pathname}
|
|
64
|
+
const tag = (0, _encodecachetag.encodeCacheTag)(`${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}${pathname}`);
|
|
62
65
|
tags.add(tag);
|
|
63
66
|
}
|
|
64
67
|
if (tags.has(`${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}/`)) {
|
|
@@ -37,6 +37,33 @@ function _interop_require_default(obj) {
|
|
|
37
37
|
default: obj
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
+
function toHex(buffer) {
|
|
41
|
+
// Hex-encode body bytes losslessly: decoding as UTF-8 would collapse
|
|
42
|
+
// distinct bytes (0xff/0xfe to U+FFFD) and collide; Buffer isn't on edge.
|
|
43
|
+
const bytes = isArrayBuffer(buffer) ? new Uint8Array(buffer) : new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
44
|
+
let hex = '';
|
|
45
|
+
for (const byte of bytes){
|
|
46
|
+
hex += byte.toString(16).padStart(2, '0');
|
|
47
|
+
}
|
|
48
|
+
return hex;
|
|
49
|
+
}
|
|
50
|
+
// Duck typing to support Edge runtime
|
|
51
|
+
// TODO: Switch to instanceof checks once Edge runtime is removed.
|
|
52
|
+
function isArrayBuffer(buffer) {
|
|
53
|
+
return !('buffer' in buffer);
|
|
54
|
+
}
|
|
55
|
+
function isBodyByteSequence(body) {
|
|
56
|
+
return typeof body === 'object' && 'byteLength' in body;
|
|
57
|
+
}
|
|
58
|
+
function isBodyReadableStream(body) {
|
|
59
|
+
return typeof body.getReader === 'function';
|
|
60
|
+
}
|
|
61
|
+
function isBodyFormDataOrURLSearchParams(body) {
|
|
62
|
+
return typeof body.keys === 'function';
|
|
63
|
+
}
|
|
64
|
+
function isBodyBlob(body) {
|
|
65
|
+
return typeof body.arrayBuffer === 'function';
|
|
66
|
+
}
|
|
40
67
|
class CacheHandler {
|
|
41
68
|
// eslint-disable-next-line
|
|
42
69
|
constructor(_ctx){}
|
|
@@ -47,6 +74,19 @@ class CacheHandler {
|
|
|
47
74
|
async revalidateTag(_tags, _durations) {}
|
|
48
75
|
resetRequestCache() {}
|
|
49
76
|
}
|
|
77
|
+
async function hashString(cacheString) {
|
|
78
|
+
if (process.env.NEXT_RUNTIME === 'edge') {
|
|
79
|
+
const encoder = new TextEncoder();
|
|
80
|
+
const buffer = encoder.encode(cacheString);
|
|
81
|
+
return toHex(await crypto.subtle.digest('SHA-256', buffer));
|
|
82
|
+
} else {
|
|
83
|
+
const crypto1 = require('crypto');
|
|
84
|
+
return crypto1.createHash('sha256').update(cacheString).digest('hex');
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
// this should be bumped anytime a fix is made to cache entries
|
|
88
|
+
// that should bust the cache
|
|
89
|
+
const MAIN_KEY_PREFIX = 'v4';
|
|
50
90
|
class IncrementalCache {
|
|
51
91
|
static #_ = this.debug = !!process.env.NEXT_PRIVATE_DEBUG_CACHE;
|
|
52
92
|
constructor({ fs, dev, flushToDisk, minimalMode, serverDistDir, requestHeaders, maxMemoryCacheSize, getPrerenderManifest, fetchCacheKeyPrefix, CurCacheHandler, allowedRevalidateHeaderKeys }){
|
|
@@ -161,38 +201,34 @@ class IncrementalCache {
|
|
|
161
201
|
var _this_cacheHandler;
|
|
162
202
|
return (_this_cacheHandler = this.cacheHandler) == null ? void 0 : _this_cacheHandler.revalidateTag(tags, durations);
|
|
163
203
|
}
|
|
204
|
+
async generateSimpleCacheKey(input) {
|
|
205
|
+
const cacheString = JSON.stringify([
|
|
206
|
+
MAIN_KEY_PREFIX,
|
|
207
|
+
this.fetchCacheKeyPrefix || '',
|
|
208
|
+
input
|
|
209
|
+
]);
|
|
210
|
+
return hashString(cacheString);
|
|
211
|
+
}
|
|
164
212
|
// x-ref: https://github.com/facebook/react/blob/2655c9354d8e1c54ba888444220f63e836925caa/packages/react/src/ReactFetch.js#L23
|
|
165
213
|
async generateCacheKey(url, init = {}) {
|
|
166
|
-
// this should be bumped anytime a fix is made to cache entries
|
|
167
|
-
// that should bust the cache
|
|
168
|
-
const MAIN_KEY_PREFIX = 'v3';
|
|
169
214
|
const bodyChunks = [];
|
|
170
215
|
const encoder = new TextEncoder();
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
216
|
+
// Will be set implementing https://fetch.spec.whatwg.org/#concept-bodyinit-extract
|
|
217
|
+
let bodyType = null;
|
|
218
|
+
const body = init.body;
|
|
219
|
+
if (body) {
|
|
220
|
+
if (isBodyByteSequence(body)) {
|
|
221
|
+
bodyChunks.push(`bytes:${toHex(body)}`);
|
|
222
|
+
init._ogBody = body;
|
|
223
|
+
} else if (isBodyReadableStream(body)) {
|
|
224
|
+
const readableBody = body;
|
|
179
225
|
const chunks = [];
|
|
180
226
|
try {
|
|
181
227
|
await readableBody.pipeTo(new WritableStream({
|
|
182
228
|
write (chunk) {
|
|
183
|
-
|
|
184
|
-
chunks.push(encoder.encode(chunk));
|
|
185
|
-
bodyChunks.push(chunk);
|
|
186
|
-
} else {
|
|
187
|
-
chunks.push(chunk);
|
|
188
|
-
bodyChunks.push(decoder.decode(chunk, {
|
|
189
|
-
stream: true
|
|
190
|
-
}));
|
|
191
|
-
}
|
|
229
|
+
chunks.push(typeof chunk === 'string' ? encoder.encode(chunk) : chunk);
|
|
192
230
|
}
|
|
193
231
|
}));
|
|
194
|
-
// Flush the decoder.
|
|
195
|
-
bodyChunks.push(decoder.decode());
|
|
196
232
|
// Create a new buffer with all the chunks.
|
|
197
233
|
const length = chunks.reduce((total, arr)=>total + arr.length, 0);
|
|
198
234
|
const arrayBuffer = new Uint8Array(length);
|
|
@@ -202,39 +238,46 @@ class IncrementalCache {
|
|
|
202
238
|
arrayBuffer.set(chunk, offset);
|
|
203
239
|
offset += chunk.length;
|
|
204
240
|
}
|
|
205
|
-
;
|
|
241
|
+
bodyChunks.push(`bytes:${toHex(arrayBuffer)}`);
|
|
206
242
|
init._ogBody = arrayBuffer;
|
|
207
243
|
} catch (err) {
|
|
208
244
|
console.error('Problem reading body', err);
|
|
209
245
|
}
|
|
210
|
-
} else if (
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
])){
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
}))).join(',')}`);
|
|
246
|
+
} else if (isBodyFormDataOrURLSearchParams(body)) {
|
|
247
|
+
bodyType = String(body) === '[object FormData]' ? 'multipart/form-data; boundary=' : 'application/x-www-form-urlencoded;charset=UTF-8';
|
|
248
|
+
const iterable = body;
|
|
249
|
+
init._ogBody = body;
|
|
250
|
+
// Separate, tagged chunks so `["a","b"]` can't collide with `["a,b"]`.
|
|
251
|
+
for (const [key, val] of iterable.entries()){
|
|
252
|
+
bodyChunks.push(`key:${key}`);
|
|
253
|
+
if (typeof val === 'string') {
|
|
254
|
+
bodyChunks.push(`str:${val}`);
|
|
255
|
+
} else {
|
|
256
|
+
bodyChunks.push('file', val.name, val.type, `bytes:${toHex(await val.arrayBuffer())}`);
|
|
257
|
+
}
|
|
224
258
|
}
|
|
225
259
|
// handle blob body
|
|
226
|
-
} else if (
|
|
227
|
-
const blob =
|
|
260
|
+
} else if (isBodyBlob(body)) {
|
|
261
|
+
const blob = body;
|
|
228
262
|
const arrayBuffer = await blob.arrayBuffer();
|
|
229
|
-
bodyChunks.push(
|
|
263
|
+
bodyChunks.push('blob', blob.type, `bytes:${toHex(arrayBuffer)}`);
|
|
230
264
|
init._ogBody = new Blob([
|
|
231
265
|
arrayBuffer
|
|
232
266
|
], {
|
|
233
267
|
type: blob.type
|
|
234
268
|
});
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
269
|
+
bodyType = blob.type;
|
|
270
|
+
} else if (typeof body === 'string') {
|
|
271
|
+
bodyChunks.push(`str:${body}`);
|
|
272
|
+
init._ogBody = body;
|
|
273
|
+
bodyType = 'text/plain;charset=UTF-8';
|
|
274
|
+
} else {
|
|
275
|
+
body;
|
|
276
|
+
throw Object.defineProperty(new Error(`Unsupported body type: ${typeof body}`), "__NEXT_ERROR_CODE", {
|
|
277
|
+
value: "E1145",
|
|
278
|
+
enumerable: false,
|
|
279
|
+
configurable: true
|
|
280
|
+
});
|
|
238
281
|
}
|
|
239
282
|
}
|
|
240
283
|
const headers = typeof (init.headers || {}).keys === 'function' ? Object.fromEntries(init.headers) : Object.assign({}, init.headers);
|
|
@@ -247,6 +290,9 @@ class IncrementalCache {
|
|
|
247
290
|
this.fetchCacheKeyPrefix || '',
|
|
248
291
|
url,
|
|
249
292
|
init.method,
|
|
293
|
+
// Ensures default Content-Type is part of the cache key
|
|
294
|
+
// TODO: Only necessary when headers are not used from the Request instance
|
|
295
|
+
bodyType,
|
|
250
296
|
headers,
|
|
251
297
|
init.mode,
|
|
252
298
|
init.redirect,
|
|
@@ -257,16 +303,7 @@ class IncrementalCache {
|
|
|
257
303
|
init.cache,
|
|
258
304
|
bodyChunks
|
|
259
305
|
]);
|
|
260
|
-
|
|
261
|
-
function bufferToHex(buffer) {
|
|
262
|
-
return Array.prototype.map.call(new Uint8Array(buffer), (b)=>b.toString(16).padStart(2, '0')).join('');
|
|
263
|
-
}
|
|
264
|
-
const buffer = encoder.encode(cacheString);
|
|
265
|
-
return bufferToHex(await crypto.subtle.digest('SHA-256', buffer));
|
|
266
|
-
} else {
|
|
267
|
-
const crypto1 = require('crypto');
|
|
268
|
-
return crypto1.createHash('sha256').update(cacheString).digest('hex');
|
|
269
|
-
}
|
|
306
|
+
return hashString(cacheString);
|
|
270
307
|
}
|
|
271
308
|
async get(cacheKey, ctx) {
|
|
272
309
|
var _this_cacheHandler, _cacheData_value;
|
|
@@ -42,6 +42,7 @@ const _workunitasyncstorageexternal = require("../app-render/work-unit-async-sto
|
|
|
42
42
|
const _responsecache = require("../response-cache");
|
|
43
43
|
const _cloneresponse = require("./clone-response");
|
|
44
44
|
const _stagedrendering = require("../app-render/staged-rendering");
|
|
45
|
+
const _encodecachetag = require("./encode-cache-tag");
|
|
45
46
|
const isEdgeRuntime = process.env.NEXT_RUNTIME === 'edge';
|
|
46
47
|
const NEXT_PATCH_SYMBOL = Symbol.for('next-patch');
|
|
47
48
|
function isFetchPatched() {
|
|
@@ -86,7 +87,10 @@ function validateTags(tags, description) {
|
|
|
86
87
|
reason: `exceeded max length of ${_constants1.NEXT_CACHE_TAG_MAX_LENGTH}`
|
|
87
88
|
});
|
|
88
89
|
} else {
|
|
89
|
-
|
|
90
|
+
// Encode so a non-ASCII tag can be safely serialized into the
|
|
91
|
+
// `x-next-cache-tags` HTTP header without tripping Node's header
|
|
92
|
+
// validation. Length is checked on the raw input above.
|
|
93
|
+
validTags.push((0, _encodecachetag.encodeCacheTag)(tag));
|
|
90
94
|
}
|
|
91
95
|
if (validTags.length > _constants1.NEXT_CACHE_TAG_MAX_ITEMS) {
|
|
92
96
|
console.warn(`Warning: exceeded max tag count for ${description}, dropped tags:`, tags.slice(i).join(', '));
|
|
@@ -250,6 +254,19 @@ function createPatchedFetcher(originFetch, { workAsyncStorage, workUnitAsyncStor
|
|
|
250
254
|
return originFetch(input, init);
|
|
251
255
|
}
|
|
252
256
|
const isRequestInput = input && typeof input === 'object' && typeof input.method === 'string';
|
|
257
|
+
// With `fetch(new Request(url), init)`, native fetch lets `init`
|
|
258
|
+
// override the base Request. Merge them into a single effective Request
|
|
259
|
+
// so cacheability, the cache key, and the upstream request all describe
|
|
260
|
+
// the same thing.
|
|
261
|
+
if (isRequestInput && init) {
|
|
262
|
+
// `next` (revalidate/tags) is Next-specific and dropped by
|
|
263
|
+
// `new Request`, so keep it on `init` and move the rest onto input.
|
|
264
|
+
const { next, ...overrides } = init;
|
|
265
|
+
input = new Request(input, overrides);
|
|
266
|
+
init = next ? {
|
|
267
|
+
next
|
|
268
|
+
} : undefined;
|
|
269
|
+
}
|
|
253
270
|
const getRequestMeta = (field)=>{
|
|
254
271
|
// If request input is present but init is not, retrieve from input first.
|
|
255
272
|
const value = init == null ? void 0 : init[field];
|
|
@@ -579,8 +596,8 @@ function createPatchedFetcher(originFetch, { workAsyncStorage, workUnitAsyncStor
|
|
|
579
596
|
if (incrementalCache && (isCacheableRevalidate || serverComponentsHmrCache)) {
|
|
580
597
|
try {
|
|
581
598
|
cacheKey = await incrementalCache.generateCacheKey(fetchUrl, isRequestInput ? input : init);
|
|
582
|
-
} catch (
|
|
583
|
-
console.error(`Failed to generate cache key for`, input);
|
|
599
|
+
} catch (cause) {
|
|
600
|
+
console.error(`Failed to generate cache key for`, input, cause);
|
|
584
601
|
}
|
|
585
602
|
}
|
|
586
603
|
const fetchIdx = workStore.nextFetchId ?? 1;
|
package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/proxy-request.js
CHANGED
|
@@ -22,6 +22,10 @@ async function proxyRequest(req, res, parsedUrl, upgradeHead, reqBody, proxyTime
|
|
|
22
22
|
delete parsedUrl.query;
|
|
23
23
|
parsedUrl.search = (0, _serverrouteutils.stringifyQuery)(req, query);
|
|
24
24
|
const target = _url.default.format(parsedUrl);
|
|
25
|
+
// Keep in mind that a WHATWG URL's hostname and the parsedUrl's hostname
|
|
26
|
+
// are not strictly equal due to lowercasing, IDN translation, IPv4 and IPv6 normalization, etc.
|
|
27
|
+
// We just make sure this is a valid URL since http-proxy doesn't validate.
|
|
28
|
+
new URL(target);
|
|
25
29
|
const HttpProxy = require('next/dist/compiled/http-proxy');
|
|
26
30
|
const proxy = new HttpProxy({
|
|
27
31
|
target,
|
|
@@ -178,7 +178,7 @@ async function getRequestHandlers({ dir, port, isDev, onDevServerCleanup, server
|
|
|
178
178
|
async function startServer(serverOptions) {
|
|
179
179
|
const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate, serverFastRefresh } = serverOptions;
|
|
180
180
|
let { port } = serverOptions;
|
|
181
|
-
process.title = `next-server (v${"16.2.
|
|
181
|
+
process.title = `next-server (v${"16.2.11"})`;
|
|
182
182
|
let handlersReady = ()=>{};
|
|
183
183
|
let handlersError = ()=>{};
|
|
184
184
|
let handlersPromise = new Promise((resolve, reject)=>{
|
package/web/.next/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js
CHANGED
|
@@ -21,7 +21,7 @@ _export(exports, {
|
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
function isStableBuild() {
|
|
24
|
-
return !"16.2.
|
|
24
|
+
return !"16.2.11"?.includes('canary') && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
|
|
25
25
|
}
|
|
26
26
|
class CanaryOnlyConfigError extends Error {
|
|
27
27
|
constructor(arg){
|
|
@@ -150,7 +150,14 @@ function getMiddlewareData(source, response, options) {
|
|
|
150
150
|
let as = (0, _addlocale.addLocale)(pathnameInfo.pathname, pathnameInfo.locale);
|
|
151
151
|
if ((0, _isdynamic.isDynamicRoute)(as) || !rewriteHeader && pages.includes((0, _normalizelocalepath.normalizeLocalePath)((0, _removebasepath.removeBasePath)(as), options.router.locales).pathname)) {
|
|
152
152
|
const parsedSource = (0, _getnextpathnameinfo.getNextPathnameInfo)((0, _parserelativeurl.parseRelativeUrl)(source).pathname, {
|
|
153
|
-
|
|
153
|
+
// Pass basePath (and trailingSlash) so the basePath prefix is
|
|
154
|
+
// stripped before the `_next/data/` check, but omit `i18n` so the
|
|
155
|
+
// locale prefix is preserved here — the rewrite resolver below
|
|
156
|
+
// handles the locale-prefixed `as`.
|
|
157
|
+
nextConfig: {
|
|
158
|
+
basePath: nextConfig.basePath,
|
|
159
|
+
trailingSlash: nextConfig.trailingSlash
|
|
160
|
+
},
|
|
154
161
|
parseData: true
|
|
155
162
|
});
|
|
156
163
|
as = (0, _addbasepath.addBasePath)(parsedSource.pathname);
|
package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js
CHANGED
|
@@ -215,7 +215,8 @@ function prepareDestination(args) {
|
|
|
215
215
|
let destHostnameCompiler;
|
|
216
216
|
if (destHostname) {
|
|
217
217
|
destHostnameCompiler = (0, _routematchutils.safeCompile)(destHostname, {
|
|
218
|
-
validate: false
|
|
218
|
+
validate: false,
|
|
219
|
+
encode: encodeURIComponent
|
|
219
220
|
});
|
|
220
221
|
}
|
|
221
222
|
// update any params in query values
|
|
@@ -3,7 +3,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
5
|
0 && (module.exports = {
|
|
6
|
+
SERVER_REFERENCE_ID_LENGTH: null,
|
|
6
7
|
extractInfoFromServerReferenceId: null,
|
|
8
|
+
mightBeServerReferenceId: null,
|
|
7
9
|
omitUnusedArgs: null
|
|
8
10
|
});
|
|
9
11
|
function _export(target, all) {
|
|
@@ -13,13 +15,23 @@ function _export(target, all) {
|
|
|
13
15
|
});
|
|
14
16
|
}
|
|
15
17
|
_export(exports, {
|
|
18
|
+
SERVER_REFERENCE_ID_LENGTH: function() {
|
|
19
|
+
return SERVER_REFERENCE_ID_LENGTH;
|
|
20
|
+
},
|
|
16
21
|
extractInfoFromServerReferenceId: function() {
|
|
17
22
|
return extractInfoFromServerReferenceId;
|
|
18
23
|
},
|
|
24
|
+
mightBeServerReferenceId: function() {
|
|
25
|
+
return mightBeServerReferenceId;
|
|
26
|
+
},
|
|
19
27
|
omitUnusedArgs: function() {
|
|
20
28
|
return omitUnusedArgs;
|
|
21
29
|
}
|
|
22
30
|
});
|
|
31
|
+
const SERVER_REFERENCE_ID_LENGTH = 42;
|
|
32
|
+
function mightBeServerReferenceId(id) {
|
|
33
|
+
return id.length === SERVER_REFERENCE_ID_LENGTH;
|
|
34
|
+
}
|
|
23
35
|
function extractInfoFromServerReferenceId(id) {
|
|
24
36
|
const infoByte = parseInt(id.slice(0, 2), 16);
|
|
25
37
|
const typeBit = infoByte >> 7 & 0x1;
|
|
@@ -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.2.
|
|
15
|
+
if (typeof "16.2.11" !== 'string') {
|
|
16
16
|
return [];
|
|
17
17
|
}
|
|
18
18
|
const { images, i18n } = nextConfig || {};
|
|
19
19
|
const payload = {
|
|
20
|
-
nextVersion: "16.2.
|
|
20
|
+
nextVersion: "16.2.11",
|
|
21
21
|
nodeVersion: process.version,
|
|
22
22
|
cliCommand: event.cliCommand,
|
|
23
23
|
isSrcDir: event.isSrcDir,
|