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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "semver",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.8.5",
|
|
4
4
|
"description": "The semantic version parser used by npm.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@npmcli/eslint-config": "^
|
|
18
|
-
"@npmcli/template-oss": "
|
|
17
|
+
"@npmcli/eslint-config": "^7.0.0",
|
|
18
|
+
"@npmcli/template-oss": "5.0.0",
|
|
19
19
|
"benchmark": "^2.1.4",
|
|
20
20
|
"tap": "^16.0.0"
|
|
21
21
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"author": "GitHub Inc.",
|
|
53
53
|
"templateOSS": {
|
|
54
54
|
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
55
|
-
"version": "
|
|
55
|
+
"version": "5.0.0",
|
|
56
56
|
"engines": ">=10",
|
|
57
57
|
"distPaths": [
|
|
58
58
|
"classes/",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const SemVer = require('../classes/semver')
|
|
4
|
+
const Range = require('../classes/range')
|
|
5
|
+
|
|
6
|
+
const maxSatisfying = (versions, range, options) => {
|
|
7
|
+
let max = null
|
|
8
|
+
let maxSV = null
|
|
9
|
+
let rangeObj = null
|
|
10
|
+
try {
|
|
11
|
+
rangeObj = new Range(range, options)
|
|
12
|
+
} catch (er) {
|
|
13
|
+
return null
|
|
14
|
+
}
|
|
15
|
+
versions.forEach((v) => {
|
|
16
|
+
if (rangeObj.test(v)) {
|
|
17
|
+
// satisfies(v, range, options)
|
|
18
|
+
if (!max || maxSV.compare(v) === -1) {
|
|
19
|
+
// compare(max, v, true)
|
|
20
|
+
max = v
|
|
21
|
+
maxSV = new SemVer(max, options)
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
})
|
|
25
|
+
return max
|
|
26
|
+
}
|
|
27
|
+
module.exports = maxSatisfying
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const SemVer = require('../classes/semver')
|
|
4
|
+
const Range = require('../classes/range')
|
|
5
|
+
const minSatisfying = (versions, range, options) => {
|
|
6
|
+
let min = null
|
|
7
|
+
let minSV = null
|
|
8
|
+
let rangeObj = null
|
|
9
|
+
try {
|
|
10
|
+
rangeObj = new Range(range, options)
|
|
11
|
+
} catch (er) {
|
|
12
|
+
return null
|
|
13
|
+
}
|
|
14
|
+
versions.forEach((v) => {
|
|
15
|
+
if (rangeObj.test(v)) {
|
|
16
|
+
// satisfies(v, range, options)
|
|
17
|
+
if (!min || minSV.compare(v) === 1) {
|
|
18
|
+
// compare(min, v, true)
|
|
19
|
+
min = v
|
|
20
|
+
minSV = new SemVer(min, options)
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
return min
|
|
25
|
+
}
|
|
26
|
+
module.exports = minSatisfying
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const SemVer = require('../classes/semver')
|
|
4
|
+
const Range = require('../classes/range')
|
|
5
|
+
const gt = require('../functions/gt')
|
|
6
|
+
|
|
7
|
+
const minVersion = (range, loose) => {
|
|
8
|
+
range = new Range(range, loose)
|
|
9
|
+
|
|
10
|
+
let minver = new SemVer('0.0.0')
|
|
11
|
+
if (range.test(minver)) {
|
|
12
|
+
return minver
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
minver = new SemVer('0.0.0-0')
|
|
16
|
+
if (range.test(minver)) {
|
|
17
|
+
return minver
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
minver = null
|
|
21
|
+
for (let i = 0; i < range.set.length; ++i) {
|
|
22
|
+
const comparators = range.set[i]
|
|
23
|
+
|
|
24
|
+
let setMin = null
|
|
25
|
+
comparators.forEach((comparator) => {
|
|
26
|
+
// Clone to avoid manipulating the comparator's semver object.
|
|
27
|
+
const compver = new SemVer(comparator.semver.version)
|
|
28
|
+
switch (comparator.operator) {
|
|
29
|
+
case '>':
|
|
30
|
+
if (compver.prerelease.length === 0) {
|
|
31
|
+
compver.patch++
|
|
32
|
+
} else {
|
|
33
|
+
compver.prerelease.push(0)
|
|
34
|
+
}
|
|
35
|
+
compver.raw = compver.format()
|
|
36
|
+
/* fallthrough */
|
|
37
|
+
case '':
|
|
38
|
+
case '>=':
|
|
39
|
+
if (!setMin || gt(compver, setMin)) {
|
|
40
|
+
setMin = compver
|
|
41
|
+
}
|
|
42
|
+
break
|
|
43
|
+
case '<':
|
|
44
|
+
case '<=':
|
|
45
|
+
/* Ignore maximum versions */
|
|
46
|
+
break
|
|
47
|
+
/* istanbul ignore next */
|
|
48
|
+
default:
|
|
49
|
+
throw new Error(`Unexpected operation: ${comparator.operator}`)
|
|
50
|
+
}
|
|
51
|
+
})
|
|
52
|
+
if (setMin && (!minver || gt(minver, setMin))) {
|
|
53
|
+
minver = setMin
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (minver && range.test(minver)) {
|
|
58
|
+
return minver
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return null
|
|
62
|
+
}
|
|
63
|
+
module.exports = minVersion
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const SemVer = require('../classes/semver')
|
|
4
|
+
const Comparator = require('../classes/comparator')
|
|
5
|
+
const { ANY } = Comparator
|
|
6
|
+
const Range = require('../classes/range')
|
|
7
|
+
const satisfies = require('../functions/satisfies')
|
|
8
|
+
const gt = require('../functions/gt')
|
|
9
|
+
const lt = require('../functions/lt')
|
|
10
|
+
const lte = require('../functions/lte')
|
|
11
|
+
const gte = require('../functions/gte')
|
|
12
|
+
|
|
13
|
+
const outside = (version, range, hilo, options) => {
|
|
14
|
+
version = new SemVer(version, options)
|
|
15
|
+
range = new Range(range, options)
|
|
16
|
+
|
|
17
|
+
let gtfn, ltefn, ltfn, comp, ecomp
|
|
18
|
+
switch (hilo) {
|
|
19
|
+
case '>':
|
|
20
|
+
gtfn = gt
|
|
21
|
+
ltefn = lte
|
|
22
|
+
ltfn = lt
|
|
23
|
+
comp = '>'
|
|
24
|
+
ecomp = '>='
|
|
25
|
+
break
|
|
26
|
+
case '<':
|
|
27
|
+
gtfn = lt
|
|
28
|
+
ltefn = gte
|
|
29
|
+
ltfn = gt
|
|
30
|
+
comp = '<'
|
|
31
|
+
ecomp = '<='
|
|
32
|
+
break
|
|
33
|
+
default:
|
|
34
|
+
throw new TypeError('Must provide a hilo val of "<" or ">"')
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// If it satisfies the range it is not outside
|
|
38
|
+
if (satisfies(version, range, options)) {
|
|
39
|
+
return false
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// From now on, variable terms are as if we're in "gtr" mode.
|
|
43
|
+
// but note that everything is flipped for the "ltr" function.
|
|
44
|
+
|
|
45
|
+
for (let i = 0; i < range.set.length; ++i) {
|
|
46
|
+
const comparators = range.set[i]
|
|
47
|
+
|
|
48
|
+
let high = null
|
|
49
|
+
let low = null
|
|
50
|
+
|
|
51
|
+
comparators.forEach((comparator) => {
|
|
52
|
+
if (comparator.semver === ANY) {
|
|
53
|
+
comparator = new Comparator('>=0.0.0')
|
|
54
|
+
}
|
|
55
|
+
high = high || comparator
|
|
56
|
+
low = low || comparator
|
|
57
|
+
if (gtfn(comparator.semver, high.semver, options)) {
|
|
58
|
+
high = comparator
|
|
59
|
+
} else if (ltfn(comparator.semver, low.semver, options)) {
|
|
60
|
+
low = comparator
|
|
61
|
+
}
|
|
62
|
+
})
|
|
63
|
+
|
|
64
|
+
// If the edge version comparator has a operator then our version
|
|
65
|
+
// isn't outside it
|
|
66
|
+
if (high.operator === comp || high.operator === ecomp) {
|
|
67
|
+
return false
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// If the lowest version comparator has an operator and our version
|
|
71
|
+
// is less than it then it isn't higher than the range
|
|
72
|
+
if ((!low.operator || low.operator === comp) &&
|
|
73
|
+
ltefn(version, low.semver)) {
|
|
74
|
+
return false
|
|
75
|
+
} else if (low.operator === ecomp && ltfn(version, low.semver)) {
|
|
76
|
+
return false
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return true
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
module.exports = outside
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
// given a set of versions and a range, create a "simplified" range
|
|
4
|
+
// that includes the same versions that the original range does
|
|
5
|
+
// If the original range is shorter than the simplified one, return that.
|
|
6
|
+
const satisfies = require('../functions/satisfies.js')
|
|
7
|
+
const compare = require('../functions/compare.js')
|
|
8
|
+
module.exports = (versions, range, options) => {
|
|
9
|
+
const set = []
|
|
10
|
+
let first = null
|
|
11
|
+
let prev = null
|
|
12
|
+
const v = versions.sort((a, b) => compare(a, b, options))
|
|
13
|
+
for (const version of v) {
|
|
14
|
+
const included = satisfies(version, range, options)
|
|
15
|
+
if (included) {
|
|
16
|
+
prev = version
|
|
17
|
+
if (!first) {
|
|
18
|
+
first = version
|
|
19
|
+
}
|
|
20
|
+
} else {
|
|
21
|
+
if (prev) {
|
|
22
|
+
set.push([first, prev])
|
|
23
|
+
}
|
|
24
|
+
prev = null
|
|
25
|
+
first = null
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
if (first) {
|
|
29
|
+
set.push([first, null])
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const ranges = []
|
|
33
|
+
for (const [min, max] of set) {
|
|
34
|
+
if (min === max) {
|
|
35
|
+
ranges.push(min)
|
|
36
|
+
} else if (!max && min === v[0]) {
|
|
37
|
+
ranges.push('*')
|
|
38
|
+
} else if (!max) {
|
|
39
|
+
ranges.push(`>=${min}`)
|
|
40
|
+
} else if (min === v[0]) {
|
|
41
|
+
ranges.push(`<=${max}`)
|
|
42
|
+
} else {
|
|
43
|
+
ranges.push(`${min} - ${max}`)
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
const simplified = ranges.join(' || ')
|
|
47
|
+
const original = typeof range.raw === 'string' ? range.raw : String(range)
|
|
48
|
+
return simplified.length < original.length ? simplified : range
|
|
49
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const Range = require('../classes/range.js')
|
|
4
|
+
const Comparator = require('../classes/comparator.js')
|
|
5
|
+
const { ANY } = Comparator
|
|
6
|
+
const satisfies = require('../functions/satisfies.js')
|
|
7
|
+
const compare = require('../functions/compare.js')
|
|
8
|
+
|
|
9
|
+
// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:
|
|
10
|
+
// - Every simple range `r1, r2, ...` is a null set, OR
|
|
11
|
+
// - Every simple range `r1, r2, ...` which is not a null set is a subset of
|
|
12
|
+
// some `R1, R2, ...`
|
|
13
|
+
//
|
|
14
|
+
// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:
|
|
15
|
+
// - If c is only the ANY comparator
|
|
16
|
+
// - If C is only the ANY comparator, return true
|
|
17
|
+
// - Else if in prerelease mode, return false
|
|
18
|
+
// - else replace c with `[>=0.0.0]`
|
|
19
|
+
// - If C is only the ANY comparator
|
|
20
|
+
// - if in prerelease mode, return true
|
|
21
|
+
// - else replace C with `[>=0.0.0]`
|
|
22
|
+
// - Let EQ be the set of = comparators in c
|
|
23
|
+
// - If EQ is more than one, return true (null set)
|
|
24
|
+
// - Let GT be the highest > or >= comparator in c
|
|
25
|
+
// - Let LT be the lowest < or <= comparator in c
|
|
26
|
+
// - If GT and LT, and GT.semver > LT.semver, return true (null set)
|
|
27
|
+
// - If any C is a = range, and GT or LT are set, return false
|
|
28
|
+
// - If EQ
|
|
29
|
+
// - If GT, and EQ does not satisfy GT, return true (null set)
|
|
30
|
+
// - If LT, and EQ does not satisfy LT, return true (null set)
|
|
31
|
+
// - If EQ satisfies every C, return true
|
|
32
|
+
// - Else return false
|
|
33
|
+
// - If GT
|
|
34
|
+
// - If GT.semver is lower than any > or >= comp in C, return false
|
|
35
|
+
// - If GT is >=, and GT.semver does not satisfy every C, return false
|
|
36
|
+
// - If GT.semver has a prerelease, and not in prerelease mode
|
|
37
|
+
// - If no C has a prerelease and the GT.semver tuple, return false
|
|
38
|
+
// - If LT
|
|
39
|
+
// - If LT.semver is greater than any < or <= comp in C, return false
|
|
40
|
+
// - If LT is <=, and LT.semver does not satisfy every C, return false
|
|
41
|
+
// - If LT.semver has a prerelease, and not in prerelease mode
|
|
42
|
+
// - If no C has a prerelease and the LT.semver tuple, return false
|
|
43
|
+
// - Else return true
|
|
44
|
+
|
|
45
|
+
const subset = (sub, dom, options = {}) => {
|
|
46
|
+
if (sub === dom) {
|
|
47
|
+
return true
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
sub = new Range(sub, options)
|
|
51
|
+
dom = new Range(dom, options)
|
|
52
|
+
let sawNonNull = false
|
|
53
|
+
|
|
54
|
+
OUTER: for (const simpleSub of sub.set) {
|
|
55
|
+
for (const simpleDom of dom.set) {
|
|
56
|
+
const isSub = simpleSubset(simpleSub, simpleDom, options)
|
|
57
|
+
sawNonNull = sawNonNull || isSub !== null
|
|
58
|
+
if (isSub) {
|
|
59
|
+
continue OUTER
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
// the null set is a subset of everything, but null simple ranges in
|
|
63
|
+
// a complex range should be ignored. so if we saw a non-null range,
|
|
64
|
+
// then we know this isn't a subset, but if EVERY simple range was null,
|
|
65
|
+
// then it is a subset.
|
|
66
|
+
if (sawNonNull) {
|
|
67
|
+
return false
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return true
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
const minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]
|
|
74
|
+
const minimumVersion = [new Comparator('>=0.0.0')]
|
|
75
|
+
|
|
76
|
+
const simpleSubset = (sub, dom, options) => {
|
|
77
|
+
if (sub === dom) {
|
|
78
|
+
return true
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
if (sub.length === 1 && sub[0].semver === ANY) {
|
|
82
|
+
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
83
|
+
return true
|
|
84
|
+
} else if (options.includePrerelease) {
|
|
85
|
+
sub = minimumVersionWithPreRelease
|
|
86
|
+
} else {
|
|
87
|
+
sub = minimumVersion
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
92
|
+
if (options.includePrerelease) {
|
|
93
|
+
return true
|
|
94
|
+
} else {
|
|
95
|
+
dom = minimumVersion
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
const eqSet = new Set()
|
|
100
|
+
let gt, lt
|
|
101
|
+
for (const c of sub) {
|
|
102
|
+
if (c.operator === '>' || c.operator === '>=') {
|
|
103
|
+
gt = higherGT(gt, c, options)
|
|
104
|
+
} else if (c.operator === '<' || c.operator === '<=') {
|
|
105
|
+
lt = lowerLT(lt, c, options)
|
|
106
|
+
} else {
|
|
107
|
+
eqSet.add(c.semver)
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (eqSet.size > 1) {
|
|
112
|
+
return null
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
let gtltComp
|
|
116
|
+
if (gt && lt) {
|
|
117
|
+
gtltComp = compare(gt.semver, lt.semver, options)
|
|
118
|
+
if (gtltComp > 0) {
|
|
119
|
+
return null
|
|
120
|
+
} else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {
|
|
121
|
+
return null
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// will iterate one or zero times
|
|
126
|
+
for (const eq of eqSet) {
|
|
127
|
+
if (gt && !satisfies(eq, String(gt), options)) {
|
|
128
|
+
return null
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
if (lt && !satisfies(eq, String(lt), options)) {
|
|
132
|
+
return null
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
for (const c of dom) {
|
|
136
|
+
if (!satisfies(eq, String(c), options)) {
|
|
137
|
+
return false
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
return true
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
let higher, lower
|
|
145
|
+
let hasDomLT, hasDomGT
|
|
146
|
+
// if the subset has a prerelease, we need a comparator in the superset
|
|
147
|
+
// with the same tuple and a prerelease, or it's not a subset
|
|
148
|
+
let needDomLTPre = lt &&
|
|
149
|
+
!options.includePrerelease &&
|
|
150
|
+
lt.semver.prerelease.length ? lt.semver : false
|
|
151
|
+
let needDomGTPre = gt &&
|
|
152
|
+
!options.includePrerelease &&
|
|
153
|
+
gt.semver.prerelease.length ? gt.semver : false
|
|
154
|
+
// exception: <1.2.3-0 is the same as <1.2.3
|
|
155
|
+
if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&
|
|
156
|
+
lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {
|
|
157
|
+
needDomLTPre = false
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
for (const c of dom) {
|
|
161
|
+
hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='
|
|
162
|
+
hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='
|
|
163
|
+
if (gt) {
|
|
164
|
+
if (needDomGTPre) {
|
|
165
|
+
if (c.semver.prerelease && c.semver.prerelease.length &&
|
|
166
|
+
c.semver.major === needDomGTPre.major &&
|
|
167
|
+
c.semver.minor === needDomGTPre.minor &&
|
|
168
|
+
c.semver.patch === needDomGTPre.patch) {
|
|
169
|
+
needDomGTPre = false
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
if (c.operator === '>' || c.operator === '>=') {
|
|
173
|
+
higher = higherGT(gt, c, options)
|
|
174
|
+
if (higher === c && higher !== gt) {
|
|
175
|
+
return false
|
|
176
|
+
}
|
|
177
|
+
} else if (gt.operator === '>=' && !c.test(gt.semver)) {
|
|
178
|
+
return false
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
if (lt) {
|
|
182
|
+
if (needDomLTPre) {
|
|
183
|
+
if (c.semver.prerelease && c.semver.prerelease.length &&
|
|
184
|
+
c.semver.major === needDomLTPre.major &&
|
|
185
|
+
c.semver.minor === needDomLTPre.minor &&
|
|
186
|
+
c.semver.patch === needDomLTPre.patch) {
|
|
187
|
+
needDomLTPre = false
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
if (c.operator === '<' || c.operator === '<=') {
|
|
191
|
+
lower = lowerLT(lt, c, options)
|
|
192
|
+
if (lower === c && lower !== lt) {
|
|
193
|
+
return false
|
|
194
|
+
}
|
|
195
|
+
} else if (lt.operator === '<=' && !c.test(lt.semver)) {
|
|
196
|
+
return false
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
if (!c.operator && (lt || gt) && gtltComp !== 0) {
|
|
200
|
+
return false
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// if there was a < or >, and nothing in the dom, then must be false
|
|
205
|
+
// UNLESS it was limited by another range in the other direction.
|
|
206
|
+
// Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0
|
|
207
|
+
if (gt && hasDomLT && !lt && gtltComp !== 0) {
|
|
208
|
+
return false
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
if (lt && hasDomGT && !gt && gtltComp !== 0) {
|
|
212
|
+
return false
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// we needed a prerelease range in a specific tuple, but didn't get one
|
|
216
|
+
// then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,
|
|
217
|
+
// because it includes prereleases in the 1.2.3 tuple
|
|
218
|
+
if (needDomGTPre || needDomLTPre) {
|
|
219
|
+
return false
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
return true
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// >=1.2.3 is lower than >1.2.3
|
|
226
|
+
const higherGT = (a, b, options) => {
|
|
227
|
+
if (!a) {
|
|
228
|
+
return b
|
|
229
|
+
}
|
|
230
|
+
const comp = compare(a.semver, b.semver, options)
|
|
231
|
+
return comp > 0 ? a
|
|
232
|
+
: comp < 0 ? b
|
|
233
|
+
: b.operator === '>' && a.operator === '>=' ? b
|
|
234
|
+
: a
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
// <=1.2.3 is higher than <1.2.3
|
|
238
|
+
const lowerLT = (a, b, options) => {
|
|
239
|
+
if (!a) {
|
|
240
|
+
return b
|
|
241
|
+
}
|
|
242
|
+
const comp = compare(a.semver, b.semver, options)
|
|
243
|
+
return comp < 0 ? a
|
|
244
|
+
: comp > 0 ? b
|
|
245
|
+
: b.operator === '<' && a.operator === '<=' ? b
|
|
246
|
+
: a
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
module.exports = subset
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const Range = require('../classes/range')
|
|
4
|
+
|
|
5
|
+
// Mostly just for testing and legacy API reasons
|
|
6
|
+
const toComparators = (range, options) =>
|
|
7
|
+
new Range(range, options).set
|
|
8
|
+
.map(comp => comp.map(c => c.value).join(' ').trim().split(' '))
|
|
9
|
+
|
|
10
|
+
module.exports = toComparators
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const Range = require('../classes/range')
|
|
4
|
+
const validRange = (range, options) => {
|
|
5
|
+
try {
|
|
6
|
+
// Return '*' instead of '' so that truthiness works.
|
|
7
|
+
// This will throw if it's invalid anyway
|
|
8
|
+
return new Range(range, options).range || '*'
|
|
9
|
+
} catch (er) {
|
|
10
|
+
return null
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
module.exports = validRange
|