next 15.2.0-canary.70 → 15.2.0-canary.71
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.
Potentially problematic release.
This version of next might be problematic. Click here for more details.
- package/dist/bin/next +1 -1
- package/dist/build/index.js +2 -2
- package/dist/build/swc/index.js +1 -1
- package/dist/build/utils.js +20 -12
- package/dist/build/utils.js.map +1 -1
- package/dist/build/webpack-config.js +2 -2
- package/dist/client/app-bootstrap.js +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.d.ts +2 -2
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js +8 -5
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js.map +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.d.ts +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js +2 -2
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js.map +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.d.ts +3 -3
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js +7 -18
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js.map +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js.map +1 -1
- package/dist/client/components/react-dev-overlay/ui/dev-overlay.d.ts +1 -1
- package/dist/client/components/react-dev-overlay/ui/dev-overlay.js.map +1 -1
- package/dist/client/index.js +1 -1
- package/dist/compiled/next-server/app-page-experimental.runtime.dev.js +2 -2
- package/dist/compiled/next-server/app-page-experimental.runtime.dev.js.map +1 -1
- package/dist/compiled/next-server/app-page.runtime.dev.js +2 -2
- package/dist/compiled/next-server/app-page.runtime.dev.js.map +1 -1
- package/dist/compiled/next-server/server.runtime.prod.js +2 -2
- package/dist/compiled/next-server/server.runtime.prod.js.map +1 -1
- package/dist/esm/build/index.js +2 -2
- package/dist/esm/build/swc/index.js +1 -1
- package/dist/esm/build/utils.js +20 -12
- package/dist/esm/build/utils.js.map +1 -1
- package/dist/esm/build/webpack-config.js +2 -2
- package/dist/esm/client/app-bootstrap.js +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js +8 -5
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js.map +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js +2 -2
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js.map +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js +7 -18
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js.map +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js.map +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/dev-overlay.js.map +1 -1
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/export/index.js +4 -1
- package/dist/esm/export/index.js.map +1 -1
- package/dist/esm/export/worker.js +5 -2
- package/dist/esm/export/worker.js.map +1 -1
- package/dist/esm/server/base-server.js +11 -11
- package/dist/esm/server/base-server.js.map +1 -1
- package/dist/esm/server/config-shared.js +1 -1
- package/dist/esm/server/config-shared.js.map +1 -1
- package/dist/esm/server/config.js +1 -1
- package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/esm/server/lib/app-info-log.js +1 -1
- package/dist/esm/server/lib/start-server.js +1 -1
- package/dist/export/index.js +4 -1
- package/dist/export/index.js.map +1 -1
- package/dist/export/worker.js +5 -2
- package/dist/export/worker.js.map +1 -1
- package/dist/server/base-server.js +11 -11
- package/dist/server/base-server.js.map +1 -1
- package/dist/server/config-shared.js +1 -1
- package/dist/server/config-shared.js.map +1 -1
- package/dist/server/config.js +1 -1
- package/dist/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/server/lib/app-info-log.js +1 -1
- package/dist/server/lib/start-server.js +1 -1
- package/dist/telemetry/anonymous-meta.js +1 -1
- package/dist/telemetry/events/session-stopped.js +2 -2
- package/dist/telemetry/events/version.js +2 -2
- package/package.json +16 -16
- package/dist/build/analysis/get-page-static-info.test.d.ts +0 -1
- package/dist/build/normalize-catchall-routes.test.d.ts +0 -1
- package/dist/build/webpack/loaders/metadata/resolve-route-data.test.d.ts +0 -1
- package/dist/build/webpack/plugins/next-types-plugin/index.test.d.ts +0 -1
- package/dist/bundles/cssnano-simple/cssnano-preset-simple.test.d.ts +0 -1
- package/dist/client/components/is-next-router-error.test.d.ts +0 -1
- package/dist/client/components/navigation.test.d.ts +0 -1
- package/dist/client/components/promise-queue.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/server/get-next-error-feedback-middleware.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js +0 -83
- package/dist/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.d.ts +0 -6
- package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js +0 -55
- package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js +0 -106
- package/dist/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.d.ts +0 -9
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js +0 -135
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.d.ts +0 -13
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js +0 -129
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.d.ts +0 -8
- package/dist/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js +0 -65
- package/dist/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.d.ts +0 -9
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js +0 -83
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.d.ts +0 -10
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js +0 -100
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.d.ts +0 -6
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js +0 -88
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.d.ts +0 -9
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js +0 -119
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js +0 -58
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js +0 -56
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js +0 -60
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js +0 -56
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.d.ts +0 -10
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js +0 -83
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js +0 -56
- package/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.d.ts +0 -12
- package/dist/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js +0 -137
- package/dist/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/container/build-error.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/container/build-error.stories.js +0 -61
- package/dist/client/components/react-dev-overlay/ui/container/build-error.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/container/errors.stories.d.ts +0 -9
- package/dist/client/components/react-dev-overlay/ui/container/errors.stories.js +0 -258
- package/dist/client/components/react-dev-overlay/ui/container/errors.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.d.ts +0 -8
- package/dist/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js +0 -79
- package/dist/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.d.ts +0 -8
- package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js +0 -72
- package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/dev-overlay.stories.d.ts +0 -6
- package/dist/client/components/react-dev-overlay/ui/dev-overlay.stories.js +0 -118
- package/dist/client/components/react-dev-overlay/ui/dev-overlay.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/utils/cx.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/ui/utils/parse-url-from-text.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/utils/css.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/utils/webpack-module-path.test.d.ts +0 -1
- package/dist/client/components/redirect.test.d.ts +0 -1
- package/dist/client/components/router-reducer/apply-router-state-patch-to-tree.test.d.ts +0 -1
- package/dist/client/components/router-reducer/clear-cache-node-data-for-segment-path.test.d.ts +0 -1
- package/dist/client/components/router-reducer/compute-changed-path.test.d.ts +0 -1
- package/dist/client/components/router-reducer/create-href-from-url.test.d.ts +0 -1
- package/dist/client/components/router-reducer/create-initial-router-state.test.d.ts +0 -1
- package/dist/client/components/router-reducer/create-router-cache-key.test.d.ts +0 -1
- package/dist/client/components/router-reducer/fill-cache-with-new-subtree-data.test.d.ts +0 -1
- package/dist/client/components/router-reducer/fill-lazy-items-till-leaf-with-head.test.d.ts +0 -1
- package/dist/client/components/router-reducer/get-segment-value.test.d.ts +0 -1
- package/dist/client/components/router-reducer/invalidate-cache-below-flight-segmentpath.test.d.ts +0 -1
- package/dist/client/components/router-reducer/invalidate-cache-by-router-state.test.d.ts +0 -1
- package/dist/client/components/router-reducer/is-navigating-to-new-root-layout.test.d.ts +0 -1
- package/dist/client/components/router-reducer/reducers/find-head-in-cache.test.d.ts +0 -1
- package/dist/client/components/router-reducer/should-hard-navigate.test.d.ts +0 -1
- package/dist/diagnostics/build-diagnostics.test.d.ts +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js +0 -51
- package/dist/esm/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js +0 -27
- package/dist/esm/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js +0 -74
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js +0 -95
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js +0 -73
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js +0 -29
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js +0 -43
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js +0 -56
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js +0 -60
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js +0 -79
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js +0 -26
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js +0 -24
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js +0 -28
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js +0 -24
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js +0 -39
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js +0 -24
- package/dist/esm/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js +0 -85
- package/dist/esm/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/container/build-error.stories.js +0 -29
- package/dist/esm/client/components/react-dev-overlay/ui/container/build-error.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/container/errors.stories.js +0 -218
- package/dist/esm/client/components/react-dev-overlay/ui/container/errors.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js +0 -43
- package/dist/esm/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js +0 -36
- package/dist/esm/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/dev-overlay.stories.js +0 -90
- package/dist/esm/client/components/react-dev-overlay/ui/dev-overlay.stories.js.map +0 -1
- package/dist/experimental/testing/server/config-testing-utils.test.d.ts +0 -1
- package/dist/experimental/testing/server/middleware-testing-utils.test.d.ts +0 -1
- package/dist/lib/batcher.test.d.ts +0 -1
- package/dist/lib/find-config.test.d.ts +0 -1
- package/dist/lib/format-server-error.test.d.ts +0 -1
- package/dist/lib/load-custom-routes.test.d.ts +0 -1
- package/dist/lib/metadata/is-metadata-route.test.d.ts +0 -1
- package/dist/lib/metadata/resolve-metadata.test.d.ts +0 -1
- package/dist/lib/metadata/resolvers/resolve-opengraph.test.d.ts +0 -1
- package/dist/lib/metadata/resolvers/resolve-title.test.d.ts +0 -1
- package/dist/lib/metadata/resolvers/resolve-url.test.d.ts +0 -1
- package/dist/lib/typescript/writeConfigurationDefaults.test.d.ts +0 -1
- package/dist/server/after/after-context.test.d.ts +0 -1
- package/dist/server/after/awaiter.test.d.ts +0 -1
- package/dist/server/app-render/action-handler.test.d.ts +0 -1
- package/dist/server/app-render/csrf-protection.test.d.ts +0 -1
- package/dist/server/app-render/postponed-state.test.d.ts +0 -1
- package/dist/server/app-render/types.test.d.ts +0 -1
- package/dist/server/base-http/web.test.d.ts +0 -1
- package/dist/server/config.test.d.ts +0 -1
- package/dist/server/dev/log-requests.test.d.ts +0 -1
- package/dist/server/dev/parse-version-info.test.d.ts +0 -1
- package/dist/server/lib/experimental/create-env-definitions.test.d.ts +0 -1
- package/dist/server/lib/i18n-provider.test.d.ts +0 -1
- package/dist/server/lib/incremental-cache/shared-revalidate-timings.test.d.ts +0 -1
- package/dist/server/lib/interception-routes.test.d.ts +0 -1
- package/dist/server/lib/mock-request.test.d.ts +0 -1
- package/dist/server/lib/patch-fetch.test.d.ts +0 -1
- package/dist/server/lib/router-utils/build-data-route.test.d.ts +0 -1
- package/dist/server/lib/router-utils/build-prefetch-segment-data-route.test.d.ts +0 -1
- package/dist/server/lib/router-utils/decode-path-params.test.d.ts +0 -1
- package/dist/server/lib/to-route.test.d.ts +0 -1
- package/dist/server/lib/utils.test.d.ts +0 -1
- package/dist/server/load-manifest.test.d.ts +0 -1
- package/dist/server/node-polyfill-crypto.test.d.ts +0 -1
- package/dist/server/normalizers/absolute-filename-normalizer.test.d.ts +0 -1
- package/dist/server/normalizers/request/base-path.test.d.ts +0 -1
- package/dist/server/normalizers/request/next-data.test.d.ts +0 -1
- package/dist/server/normalizers/request/prefetch-rsc.test.d.ts +0 -1
- package/dist/server/normalizers/request/prefix.test.d.ts +0 -1
- package/dist/server/normalizers/request/segment-prefix-rsc.test.d.ts +0 -1
- package/dist/server/normalizers/request/suffix.test.d.ts +0 -1
- package/dist/server/resume-data-cache/resume-data-cache.test.d.ts +0 -1
- package/dist/server/route-matcher-managers/default-route-matcher-manager.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/app-page-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/app-route-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/dev/dev-app-route-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/dev/dev-pages-api-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/dev/dev-pages-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/pages-api-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/pages-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/server-utils.test.d.ts +0 -1
- package/dist/server/web/spec-extension/adapters/headers.test.d.ts +0 -1
- package/dist/server/web/spec-extension/adapters/request-cookies.test.d.ts +0 -1
- package/dist/server/web/utils.test.d.ts +0 -1
- package/dist/server/web/web-on-close.test.d.ts +0 -1
- package/dist/shared/lib/deep-freeze.test.d.ts +0 -1
- package/dist/shared/lib/get-hostname.test.d.ts +0 -1
- package/dist/shared/lib/normalized-asset-prefix.test.d.ts +0 -1
- package/dist/shared/lib/page-path/normalize-page-path.test.d.ts +0 -1
- package/dist/shared/lib/router/adapters.test.d.ts +0 -1
- package/dist/shared/lib/router/utils/app-paths.test.d.ts +0 -1
- package/dist/shared/lib/router/utils/is-dynamic.test.d.ts +0 -1
- package/dist/shared/lib/router/utils/parse-relative-url.test.d.ts +0 -1
- package/dist/shared/lib/router/utils/prepare-destination.test.d.ts +0 -1
- package/dist/shared/lib/router/utils/route-regex.test.d.ts +0 -1
- package/dist/shared/lib/server-reference-info.test.d.ts +0 -1
- package/dist/telemetry/post-telemetry-payload.test.d.ts +0 -1
- package/dist/trace/report/index.test.d.ts +0 -1
- package/dist/trace/trace.test.d.ts +0 -1
@@ -1,83 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
3
|
-
value: true
|
4
|
-
});
|
5
|
-
0 && (module.exports = {
|
6
|
-
BuildError: null,
|
7
|
-
ConsoleError: null,
|
8
|
-
MissingRequiredHTMLTag: null,
|
9
|
-
RuntimeError: null,
|
10
|
-
UnhandledRuntimeError: null,
|
11
|
-
default: null
|
12
|
-
});
|
13
|
-
function _export(target, all) {
|
14
|
-
for(var name in all)Object.defineProperty(target, name, {
|
15
|
-
enumerable: true,
|
16
|
-
get: all[name]
|
17
|
-
});
|
18
|
-
}
|
19
|
-
_export(exports, {
|
20
|
-
BuildError: function() {
|
21
|
-
return BuildError;
|
22
|
-
},
|
23
|
-
ConsoleError: function() {
|
24
|
-
return ConsoleError;
|
25
|
-
},
|
26
|
-
MissingRequiredHTMLTag: function() {
|
27
|
-
return MissingRequiredHTMLTag;
|
28
|
-
},
|
29
|
-
RuntimeError: function() {
|
30
|
-
return RuntimeError;
|
31
|
-
},
|
32
|
-
UnhandledRuntimeError: function() {
|
33
|
-
return UnhandledRuntimeError;
|
34
|
-
},
|
35
|
-
default: function() {
|
36
|
-
return _default;
|
37
|
-
}
|
38
|
-
});
|
39
|
-
const _errortypelabel = require("./error-type-label");
|
40
|
-
const _withshadowportal = require("../../../storybook/with-shadow-portal");
|
41
|
-
const meta = {
|
42
|
-
component: _errortypelabel.ErrorTypeLabel,
|
43
|
-
parameters: {
|
44
|
-
layout: 'centered'
|
45
|
-
},
|
46
|
-
decorators: [
|
47
|
-
_withshadowportal.withShadowPortal
|
48
|
-
]
|
49
|
-
};
|
50
|
-
const _default = meta;
|
51
|
-
const BuildError = {
|
52
|
-
args: {
|
53
|
-
errorType: 'Build Error'
|
54
|
-
}
|
55
|
-
};
|
56
|
-
const RuntimeError = {
|
57
|
-
args: {
|
58
|
-
errorType: 'Runtime Error'
|
59
|
-
}
|
60
|
-
};
|
61
|
-
const ConsoleError = {
|
62
|
-
args: {
|
63
|
-
errorType: 'Console Error'
|
64
|
-
}
|
65
|
-
};
|
66
|
-
const UnhandledRuntimeError = {
|
67
|
-
args: {
|
68
|
-
errorType: 'Unhandled Runtime Error'
|
69
|
-
}
|
70
|
-
};
|
71
|
-
const MissingRequiredHTMLTag = {
|
72
|
-
args: {
|
73
|
-
errorType: 'Missing Required HTML Tag'
|
74
|
-
}
|
75
|
-
};
|
76
|
-
|
77
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
78
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
79
|
-
Object.assign(exports.default, exports);
|
80
|
-
module.exports = exports.default;
|
81
|
-
}
|
82
|
-
|
83
|
-
//# sourceMappingURL=error-type-label.stories.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { ErrorTypeLabel } from './error-type-label'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof ErrorTypeLabel> = {\n component: ErrorTypeLabel,\n parameters: {\n layout: 'centered',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof ErrorTypeLabel>\n\nexport const BuildError: Story = {\n args: {\n errorType: 'Build Error',\n },\n}\n\nexport const RuntimeError: Story = {\n args: {\n errorType: 'Runtime Error',\n },\n}\n\nexport const ConsoleError: Story = {\n args: {\n errorType: 'Console Error',\n },\n}\n\nexport const UnhandledRuntimeError: Story = {\n args: {\n errorType: 'Unhandled Runtime Error',\n },\n}\n\nexport const MissingRequiredHTMLTag: Story = {\n args: {\n errorType: 'Missing Required HTML Tag',\n },\n}\n"],"names":["BuildError","ConsoleError","MissingRequiredHTMLTag","RuntimeError","UnhandledRuntimeError","meta","component","ErrorTypeLabel","parameters","layout","decorators","withShadowPortal","args","errorType"],"mappings":";;;;;;;;;;;;;;;;;;;IAeaA,UAAU;eAAVA;;IAYAC,YAAY;eAAZA;;IAYAC,sBAAsB;eAAtBA;;IAlBAC,YAAY;eAAZA;;IAYAC,qBAAqB;eAArBA;;IArBb,OAAmB;eAAnB;;;gCAX+B;kCACE;AAEjC,MAAMC,OAAoC;IACxCC,WAAWC,8BAAc;IACzBC,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACC,kCAAgB;KAAC;AAChC;MAEA,WAAeN;AAGR,MAAML,aAAoB;IAC/BY,MAAM;QACJC,WAAW;IACb;AACF;AAEO,MAAMV,eAAsB;IACjCS,MAAM;QACJC,WAAW;IACb;AACF;AAEO,MAAMZ,eAAsB;IACjCW,MAAM;QACJC,WAAW;IACb;AACF;AAEO,MAAMT,wBAA+B;IAC1CQ,MAAM;QACJC,WAAW;IACb;AACF;AAEO,MAAMX,yBAAgC;IAC3CU,MAAM;QACJC,WAAW;IACb;AACF"}
|
package/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.d.ts
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { Terminal } from './terminal';
|
3
|
-
declare const meta: Meta<typeof Terminal>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof Terminal>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const WithImportTrace: Story;
|
@@ -1,56 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
3
|
-
value: true
|
4
|
-
});
|
5
|
-
0 && (module.exports = {
|
6
|
-
Default: null,
|
7
|
-
WithImportTrace: null,
|
8
|
-
default: null
|
9
|
-
});
|
10
|
-
function _export(target, all) {
|
11
|
-
for(var name in all)Object.defineProperty(target, name, {
|
12
|
-
enumerable: true,
|
13
|
-
get: all[name]
|
14
|
-
});
|
15
|
-
}
|
16
|
-
_export(exports, {
|
17
|
-
Default: function() {
|
18
|
-
return Default;
|
19
|
-
},
|
20
|
-
WithImportTrace: function() {
|
21
|
-
return WithImportTrace;
|
22
|
-
},
|
23
|
-
default: function() {
|
24
|
-
return _default;
|
25
|
-
}
|
26
|
-
});
|
27
|
-
const _terminal = require("./terminal");
|
28
|
-
const _withshadowportal = require("../../storybook/with-shadow-portal");
|
29
|
-
const meta = {
|
30
|
-
component: _terminal.Terminal,
|
31
|
-
parameters: {
|
32
|
-
layout: 'fullscreen'
|
33
|
-
},
|
34
|
-
decorators: [
|
35
|
-
_withshadowportal.withShadowPortal
|
36
|
-
]
|
37
|
-
};
|
38
|
-
const _default = meta;
|
39
|
-
const Default = {
|
40
|
-
args: {
|
41
|
-
content: "./app/page.tsx:1:1\n\x1b[31m\x1b[1mModule not found\x1b[22m\x1b[39m: Can't resolve '\x1b[32mnot-existing-module\x1b[39m'\n\x1b[0m\x1b[31m\x1b[1m>\x1b[22m\x1b[39m\x1b[90m 1 |\x1b[39m \x1b[36mimport\x1b[39m \x1b[32m'not-existing-module'\x1b[39m\x1b[0m\n\x1b[0m \x1b[90m |\x1b[39m \x1b[31m\x1b[1m^\x1b[22m\x1b[39m\x1b[0m\n\x1b[0m \x1b[90m 2 |\x1b[39m\x1b[0m\n\x1b[0m \x1b[90m 3 |\x1b[39m \x1b[36mexport\x1b[39m \x1b[36mdefault\x1b[39m \x1b[36mfunction\x1b[39m \x1b[33mPage\x1b[39m() {\x1b[0m\n\x1b[0m \x1b[90m 4 |\x1b[39m \x1b[36mreturn\x1b[39m \x1b[33m<\x1b[39m\x1b[33mp\x1b[39m\x1b[33m>\x1b[39mhello world\x1b[33m<\x1b[39m\x1b[33m/\x1b[39m\x1b[33mp\x1b[39m\x1b[33m>\x1b[39m\x1b[0m\n\nhttps://nextjs.org/docs/messages/module-not-found"
|
42
|
-
}
|
43
|
-
};
|
44
|
-
const WithImportTrace = {
|
45
|
-
args: {
|
46
|
-
content: "./app/page.tsx\nError: \x1b[31m\xd7\x1b[0m Expected ';', '}' or <eof>\n ╭─[\x1b[36;1;4m/hello-world/app/page.tsx\x1b[0m:2:1]\n \x1b[2m1\x1b[0m │ export default function Page() {\n \x1b[2m2\x1b[0m │ ret urn <p>hello world</p>\n \xb7 \x1b[35;1m ─┬─\x1b[0m\x1b[33;1m ───\x1b[0m\n \xb7 \x1b[35;1m╰── \x1b[35;1mThis is the expression part of an expression statement\x1b[0m\x1b[0m\n \x1b[2m3\x1b[0m │ }\n ╰────\n\nCaused by:\n Syntax Error\n\nImport trace for requested module:\n./app/page.tsx"
|
47
|
-
}
|
48
|
-
};
|
49
|
-
|
50
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
51
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
52
|
-
Object.assign(exports.default, exports);
|
53
|
-
module.exports = exports.default;
|
54
|
-
}
|
55
|
-
|
56
|
-
//# sourceMappingURL=terminal.stories.js.map
|
package/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../../src/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { Terminal } from './terminal'\nimport { withShadowPortal } from '../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof Terminal> = {\n component: Terminal,\n parameters: {\n layout: 'fullscreen',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof Terminal>\n\nexport const Default: Story = {\n args: {\n content: `./app/page.tsx:1:1\n\\x1B[31m\\x1B[1mModule not found\\x1B[22m\\x1B[39m: Can't resolve '\\x1B[32mnot-existing-module\\x1B[39m'\n\\x1B[0m\\x1B[31m\\x1B[1m>\\x1B[22m\\x1B[39m\\x1B[90m 1 |\\x1B[39m \\x1B[36mimport\\x1B[39m \\x1B[32m'not-existing-module'\\x1B[39m\\x1B[0m\n\\x1B[0m \\x1B[90m |\\x1B[39m \\x1B[31m\\x1B[1m^\\x1B[22m\\x1B[39m\\x1B[0m\n\\x1B[0m \\x1B[90m 2 |\\x1B[39m\\x1B[0m\n\\x1B[0m \\x1B[90m 3 |\\x1B[39m \\x1B[36mexport\\x1B[39m \\x1B[36mdefault\\x1B[39m \\x1B[36mfunction\\x1B[39m \\x1B[33mPage\\x1B[39m() {\\x1B[0m\n\\x1B[0m \\x1B[90m 4 |\\x1B[39m \\x1B[36mreturn\\x1B[39m \\x1B[33m<\\x1B[39m\\x1B[33mp\\x1B[39m\\x1B[33m>\\x1B[39mhello world\\x1B[33m<\\x1B[39m\\x1B[33m/\\x1B[39m\\x1B[33mp\\x1B[39m\\x1B[33m>\\x1B[39m\\x1B[0m\n\nhttps://nextjs.org/docs/messages/module-not-found`,\n },\n}\n\nexport const WithImportTrace: Story = {\n args: {\n content: `./app/page.tsx\nError: \\x1B[31m×\\x1B[0m Expected ';', '}' or <eof>\n ╭─[\\x1B[36;1;4m/hello-world/app/page.tsx\\x1B[0m:2:1]\n \\x1B[2m1\\x1B[0m │ export default function Page() {\n \\x1B[2m2\\x1B[0m │ ret urn <p>hello world</p>\n · \\x1B[35;1m ─┬─\\x1B[0m\\x1B[33;1m ───\\x1B[0m\n · \\x1B[35;1m╰── \\x1B[35;1mThis is the expression part of an expression statement\\x1B[0m\\x1B[0m\n \\x1B[2m3\\x1B[0m │ }\n ╰────\n\nCaused by:\n Syntax Error\n\nImport trace for requested module:\n./app/page.tsx`,\n },\n}\n"],"names":["Default","WithImportTrace","meta","component","Terminal","parameters","layout","decorators","withShadowPortal","args","content"],"mappings":";;;;;;;;;;;;;;;;IAeaA,OAAO;eAAPA;;IAcAC,eAAe;eAAfA;;IAjBb,OAAmB;eAAnB;;;0BAXyB;kCACQ;AAEjC,MAAMC,OAA8B;IAClCC,WAAWC,kBAAQ;IACnBC,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACC,kCAAgB;KAAC;AAChC;MAEA,WAAeN;AAGR,MAAMF,UAAiB;IAC5BS,MAAM;QACJC,SAAU;IASZ;AACF;AAEO,MAAMT,kBAAyB;IACpCQ,MAAM;QACJC,SAAU;IAeZ;AACF"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { VersionStalenessInfo } from './version-staleness-info';
|
3
|
-
declare const meta: Meta<typeof VersionStalenessInfo>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof VersionStalenessInfo>;
|
6
|
-
export declare const Fresh: Story;
|
7
|
-
export declare const StalePatch: Story;
|
8
|
-
export declare const StaleMinor: Story;
|
9
|
-
export declare const StaleMajor: Story;
|
10
|
-
export declare const StalePrerelease: Story;
|
11
|
-
export declare const NewerThanNpm: Story;
|
12
|
-
export declare const Turbopack: Story;
|
@@ -1,137 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
3
|
-
value: true
|
4
|
-
});
|
5
|
-
0 && (module.exports = {
|
6
|
-
Fresh: null,
|
7
|
-
NewerThanNpm: null,
|
8
|
-
StaleMajor: null,
|
9
|
-
StaleMinor: null,
|
10
|
-
StalePatch: null,
|
11
|
-
StalePrerelease: null,
|
12
|
-
Turbopack: null,
|
13
|
-
default: null
|
14
|
-
});
|
15
|
-
function _export(target, all) {
|
16
|
-
for(var name in all)Object.defineProperty(target, name, {
|
17
|
-
enumerable: true,
|
18
|
-
get: all[name]
|
19
|
-
});
|
20
|
-
}
|
21
|
-
_export(exports, {
|
22
|
-
Fresh: function() {
|
23
|
-
return Fresh;
|
24
|
-
},
|
25
|
-
NewerThanNpm: function() {
|
26
|
-
return NewerThanNpm;
|
27
|
-
},
|
28
|
-
StaleMajor: function() {
|
29
|
-
return StaleMajor;
|
30
|
-
},
|
31
|
-
StaleMinor: function() {
|
32
|
-
return StaleMinor;
|
33
|
-
},
|
34
|
-
StalePatch: function() {
|
35
|
-
return StalePatch;
|
36
|
-
},
|
37
|
-
StalePrerelease: function() {
|
38
|
-
return StalePrerelease;
|
39
|
-
},
|
40
|
-
Turbopack: function() {
|
41
|
-
return Turbopack;
|
42
|
-
},
|
43
|
-
default: function() {
|
44
|
-
return _default;
|
45
|
-
}
|
46
|
-
});
|
47
|
-
const _versionstalenessinfo = require("./version-staleness-info");
|
48
|
-
const _withshadowportal = require("../../storybook/with-shadow-portal");
|
49
|
-
const meta = {
|
50
|
-
component: _versionstalenessinfo.VersionStalenessInfo,
|
51
|
-
parameters: {
|
52
|
-
layout: 'centered'
|
53
|
-
},
|
54
|
-
decorators: [
|
55
|
-
_withshadowportal.withShadowPortal
|
56
|
-
]
|
57
|
-
};
|
58
|
-
const _default = meta;
|
59
|
-
// Mock version info for different scenarios
|
60
|
-
const mockVersionInfo = {
|
61
|
-
fresh: {
|
62
|
-
installed: '15.0.0',
|
63
|
-
expected: '15.0.0',
|
64
|
-
staleness: 'fresh'
|
65
|
-
},
|
66
|
-
stalePatch: {
|
67
|
-
installed: '15.0.0',
|
68
|
-
expected: '15.0.1',
|
69
|
-
staleness: 'stale-patch'
|
70
|
-
},
|
71
|
-
staleMinor: {
|
72
|
-
installed: '15.0.0',
|
73
|
-
expected: '15.1.0',
|
74
|
-
staleness: 'stale-minor'
|
75
|
-
},
|
76
|
-
staleMajor: {
|
77
|
-
installed: '14.0.0',
|
78
|
-
expected: '15.0.0',
|
79
|
-
staleness: 'stale-major'
|
80
|
-
},
|
81
|
-
stalePrerelease: {
|
82
|
-
installed: '15.0.0-canary.0',
|
83
|
-
expected: '15.0.0-canary.1',
|
84
|
-
staleness: 'stale-prerelease'
|
85
|
-
},
|
86
|
-
newerThanNpm: {
|
87
|
-
installed: '15.0.0-canary.1',
|
88
|
-
expected: '15.0.0-canary.0',
|
89
|
-
staleness: 'newer-than-npm'
|
90
|
-
}
|
91
|
-
};
|
92
|
-
const Fresh = {
|
93
|
-
args: {
|
94
|
-
versionInfo: mockVersionInfo.fresh
|
95
|
-
}
|
96
|
-
};
|
97
|
-
const StalePatch = {
|
98
|
-
args: {
|
99
|
-
versionInfo: mockVersionInfo.stalePatch
|
100
|
-
}
|
101
|
-
};
|
102
|
-
const StaleMinor = {
|
103
|
-
args: {
|
104
|
-
versionInfo: mockVersionInfo.staleMinor
|
105
|
-
}
|
106
|
-
};
|
107
|
-
const StaleMajor = {
|
108
|
-
args: {
|
109
|
-
versionInfo: mockVersionInfo.staleMajor
|
110
|
-
}
|
111
|
-
};
|
112
|
-
const StalePrerelease = {
|
113
|
-
args: {
|
114
|
-
versionInfo: mockVersionInfo.stalePrerelease
|
115
|
-
}
|
116
|
-
};
|
117
|
-
const NewerThanNpm = {
|
118
|
-
args: {
|
119
|
-
versionInfo: mockVersionInfo.newerThanNpm
|
120
|
-
}
|
121
|
-
};
|
122
|
-
const Turbopack = {
|
123
|
-
args: {
|
124
|
-
versionInfo: {
|
125
|
-
...mockVersionInfo.fresh
|
126
|
-
},
|
127
|
-
isTurbopack: true
|
128
|
-
}
|
129
|
-
};
|
130
|
-
|
131
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
132
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
133
|
-
Object.assign(exports.default, exports);
|
134
|
-
module.exports = exports.default;
|
135
|
-
}
|
136
|
-
|
137
|
-
//# sourceMappingURL=version-staleness-info.stories.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../../src/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { VersionStalenessInfo } from './version-staleness-info'\nimport { withShadowPortal } from '../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof VersionStalenessInfo> = {\n component: VersionStalenessInfo,\n parameters: {\n layout: 'centered',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof VersionStalenessInfo>\n\n// Mock version info for different scenarios\nconst mockVersionInfo = {\n fresh: {\n installed: '15.0.0',\n expected: '15.0.0',\n staleness: 'fresh' as const,\n },\n stalePatch: {\n installed: '15.0.0',\n expected: '15.0.1',\n staleness: 'stale-patch' as const,\n },\n staleMinor: {\n installed: '15.0.0',\n expected: '15.1.0',\n staleness: 'stale-minor' as const,\n },\n staleMajor: {\n installed: '14.0.0',\n expected: '15.0.0',\n staleness: 'stale-major' as const,\n },\n stalePrerelease: {\n installed: '15.0.0-canary.0',\n expected: '15.0.0-canary.1',\n staleness: 'stale-prerelease' as const,\n },\n newerThanNpm: {\n installed: '15.0.0-canary.1',\n expected: '15.0.0-canary.0',\n staleness: 'newer-than-npm' as const,\n },\n}\n\nexport const Fresh: Story = {\n args: {\n versionInfo: mockVersionInfo.fresh,\n },\n}\n\nexport const StalePatch: Story = {\n args: {\n versionInfo: mockVersionInfo.stalePatch,\n },\n}\n\nexport const StaleMinor: Story = {\n args: {\n versionInfo: mockVersionInfo.staleMinor,\n },\n}\n\nexport const StaleMajor: Story = {\n args: {\n versionInfo: mockVersionInfo.staleMajor,\n },\n}\n\nexport const StalePrerelease: Story = {\n args: {\n versionInfo: mockVersionInfo.stalePrerelease,\n },\n}\n\nexport const NewerThanNpm: Story = {\n args: {\n versionInfo: mockVersionInfo.newerThanNpm,\n },\n}\n\nexport const Turbopack: Story = {\n args: {\n versionInfo: {\n ...mockVersionInfo.fresh,\n },\n isTurbopack: true,\n },\n}\n"],"names":["Fresh","NewerThanNpm","StaleMajor","StaleMinor","StalePatch","StalePrerelease","Turbopack","meta","component","VersionStalenessInfo","parameters","layout","decorators","withShadowPortal","mockVersionInfo","fresh","installed","expected","staleness","stalePatch","staleMinor","staleMajor","stalePrerelease","newerThanNpm","args","versionInfo","isTurbopack"],"mappings":";;;;;;;;;;;;;;;;;;;;;IAiDaA,KAAK;eAALA;;IA8BAC,YAAY;eAAZA;;IAZAC,UAAU;eAAVA;;IANAC,UAAU;eAAVA;;IANAC,UAAU;eAAVA;;IAkBAC,eAAe;eAAfA;;IAYAC,SAAS;eAATA;;IAzEb,OAAmB;eAAnB;;;sCAXqC;kCACJ;AAEjC,MAAMC,OAA0C;IAC9CC,WAAWC,0CAAoB;IAC/BC,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACC,kCAAgB;KAAC;AAChC;MAEA,WAAeN;AAGf,4CAA4C;AAC5C,MAAMO,kBAAkB;IACtBC,OAAO;QACLC,WAAW;QACXC,UAAU;QACVC,WAAW;IACb;IACAC,YAAY;QACVH,WAAW;QACXC,UAAU;QACVC,WAAW;IACb;IACAE,YAAY;QACVJ,WAAW;QACXC,UAAU;QACVC,WAAW;IACb;IACAG,YAAY;QACVL,WAAW;QACXC,UAAU;QACVC,WAAW;IACb;IACAI,iBAAiB;QACfN,WAAW;QACXC,UAAU;QACVC,WAAW;IACb;IACAK,cAAc;QACZP,WAAW;QACXC,UAAU;QACVC,WAAW;IACb;AACF;AAEO,MAAMlB,QAAe;IAC1BwB,MAAM;QACJC,aAAaX,gBAAgBC,KAAK;IACpC;AACF;AAEO,MAAMX,aAAoB;IAC/BoB,MAAM;QACJC,aAAaX,gBAAgBK,UAAU;IACzC;AACF;AAEO,MAAMhB,aAAoB;IAC/BqB,MAAM;QACJC,aAAaX,gBAAgBM,UAAU;IACzC;AACF;AAEO,MAAMlB,aAAoB;IAC/BsB,MAAM;QACJC,aAAaX,gBAAgBO,UAAU;IACzC;AACF;AAEO,MAAMhB,kBAAyB;IACpCmB,MAAM;QACJC,aAAaX,gBAAgBQ,eAAe;IAC9C;AACF;AAEO,MAAMrB,eAAsB;IACjCuB,MAAM;QACJC,aAAaX,gBAAgBS,YAAY;IAC3C;AACF;AAEO,MAAMjB,YAAmB;IAC9BkB,MAAM;QACJC,aAAa;YACX,GAAGX,gBAAgBC,KAAK;QAC1B;QACAW,aAAa;IACf;AACF"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { BuildError } from './build-error';
|
3
|
-
declare const meta: Meta<typeof BuildError>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof BuildError>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const Turbopack: Story;
|
@@ -1,61 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
3
|
-
value: true
|
4
|
-
});
|
5
|
-
0 && (module.exports = {
|
6
|
-
Default: null,
|
7
|
-
Turbopack: null,
|
8
|
-
default: null
|
9
|
-
});
|
10
|
-
function _export(target, all) {
|
11
|
-
for(var name in all)Object.defineProperty(target, name, {
|
12
|
-
enumerable: true,
|
13
|
-
get: all[name]
|
14
|
-
});
|
15
|
-
}
|
16
|
-
_export(exports, {
|
17
|
-
Default: function() {
|
18
|
-
return Default;
|
19
|
-
},
|
20
|
-
Turbopack: function() {
|
21
|
-
return Turbopack;
|
22
|
-
},
|
23
|
-
default: function() {
|
24
|
-
return _default;
|
25
|
-
}
|
26
|
-
});
|
27
|
-
const _builderror = require("./build-error");
|
28
|
-
const _withshadowportal = require("../storybook/with-shadow-portal");
|
29
|
-
const meta = {
|
30
|
-
component: _builderror.BuildError,
|
31
|
-
parameters: {
|
32
|
-
layout: 'fullscreen'
|
33
|
-
},
|
34
|
-
decorators: [
|
35
|
-
_withshadowportal.withShadowPortal
|
36
|
-
]
|
37
|
-
};
|
38
|
-
const _default = meta;
|
39
|
-
const Default = {
|
40
|
-
args: {
|
41
|
-
message: './src/app/page.tsx:3:3\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n 1 | export default function Home() {\n 2 | const\n> 3 | return <div>Hello World</div>\n | ^^^^^^\n 4 | }\n 5 |\n\nExpected identError: Failed to resolve import "./missing-module"\n\nhttps://nextjs.org/docs/messages/module-not-found',
|
42
|
-
versionInfo: {
|
43
|
-
installed: '15.0.0',
|
44
|
-
staleness: 'fresh'
|
45
|
-
}
|
46
|
-
}
|
47
|
-
};
|
48
|
-
const Turbopack = {
|
49
|
-
args: {
|
50
|
-
...Default.args,
|
51
|
-
isTurbopack: true
|
52
|
-
}
|
53
|
-
};
|
54
|
-
|
55
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
56
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
57
|
-
Object.assign(exports.default, exports);
|
58
|
-
module.exports = exports.default;
|
59
|
-
}
|
60
|
-
|
61
|
-
//# sourceMappingURL=build-error.stories.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/client/components/react-dev-overlay/ui/container/build-error.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { BuildError } from './build-error'\nimport { withShadowPortal } from '../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof BuildError> = {\n component: BuildError,\n parameters: {\n layout: 'fullscreen',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof BuildError>\n\nexport const Default: Story = {\n args: {\n message: `./src/app/page.tsx:3:3\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n 1 | export default function Home() {\n 2 | const\n> 3 | return <div>Hello World</div>\n | ^^^^^^\n 4 | }\n 5 |\n\nExpected identError: Failed to resolve import \"./missing-module\"\n\nhttps://nextjs.org/docs/messages/module-not-found`,\n versionInfo: {\n installed: '15.0.0',\n staleness: 'fresh',\n },\n },\n}\n\nexport const Turbopack: Story = {\n args: {\n ...Default.args,\n isTurbopack: true,\n },\n}\n"],"names":["Default","Turbopack","meta","component","BuildError","parameters","layout","decorators","withShadowPortal","args","message","versionInfo","installed","staleness","isTurbopack"],"mappings":";;;;;;;;;;;;;;;;IAeaA,OAAO;eAAPA;;IAqBAC,SAAS;eAATA;;IAxBb,OAAmB;eAAnB;;;4BAX2B;kCACM;AAEjC,MAAMC,OAAgC;IACpCC,WAAWC,sBAAU;IACrBC,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACC,kCAAgB;KAAC;AAChC;MAEA,WAAeN;AAGR,MAAMF,UAAiB;IAC5BS,MAAM;QACJC,SAAU;QAYVC,aAAa;YACXC,WAAW;YACXC,WAAW;QACb;IACF;AACF;AAEO,MAAMZ,YAAmB;IAC9BQ,MAAM;QACJ,GAAGT,QAAQS,IAAI;QACfK,aAAa;IACf;AACF"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { Errors } from './errors';
|
3
|
-
declare const meta: Meta<typeof Errors>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof Errors>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const Turbopack: Story;
|
8
|
-
export declare const VeryLongErrorMessage: Story;
|
9
|
-
export declare const WithHydrationWarning: Story;
|
@@ -1,258 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
3
|
-
value: true
|
4
|
-
});
|
5
|
-
0 && (module.exports = {
|
6
|
-
Default: null,
|
7
|
-
Turbopack: null,
|
8
|
-
VeryLongErrorMessage: null,
|
9
|
-
WithHydrationWarning: null,
|
10
|
-
default: null
|
11
|
-
});
|
12
|
-
function _export(target, all) {
|
13
|
-
for(var name in all)Object.defineProperty(target, name, {
|
14
|
-
enumerable: true,
|
15
|
-
get: all[name]
|
16
|
-
});
|
17
|
-
}
|
18
|
-
_export(exports, {
|
19
|
-
Default: function() {
|
20
|
-
return Default;
|
21
|
-
},
|
22
|
-
Turbopack: function() {
|
23
|
-
return Turbopack;
|
24
|
-
},
|
25
|
-
VeryLongErrorMessage: function() {
|
26
|
-
return VeryLongErrorMessage;
|
27
|
-
},
|
28
|
-
WithHydrationWarning: function() {
|
29
|
-
return WithHydrationWarning;
|
30
|
-
},
|
31
|
-
default: function() {
|
32
|
-
return _default;
|
33
|
-
}
|
34
|
-
});
|
35
|
-
const _errors = require("./errors");
|
36
|
-
const _withshadowportal = require("../storybook/with-shadow-portal");
|
37
|
-
const _lorem = require("../utils/lorem");
|
38
|
-
const meta = {
|
39
|
-
component: _errors.Errors,
|
40
|
-
parameters: {
|
41
|
-
layout: 'fullscreen'
|
42
|
-
},
|
43
|
-
decorators: [
|
44
|
-
_withshadowportal.withShadowPortal
|
45
|
-
]
|
46
|
-
};
|
47
|
-
const _default = meta;
|
48
|
-
const originalCodeFrame = (message)=>{
|
49
|
-
return "\x1b[0m \x1b[90m 1 \x1b[39m \x1b[36mexport\x1b[39m \x1b[36mdefault\x1b[39m \x1b[36mfunction\x1b[39m \x1b[33mHome\x1b[39m() {\x1b[0m\n\x1b[0m\x1b[31m\x1b[1m>\x1b[22m\x1b[39m\x1b[90m 2 \x1b[39m \x1b[36mthrow\x1b[39m \x1b[36mnew\x1b[39m \x1b[33mError\x1b[39m(\x1b[32m'" + message + "'\x1b[39m)\x1b[0m\n\x1b[0m \x1b[90m \x1b[39m \x1b[31m\x1b[1m^\x1b[22m\x1b[39m\x1b[0m\n\x1b[0m \x1b[90m 3 \x1b[39m \x1b[36mreturn\x1b[39m \x1b[33m<\x1b[39m\x1b[33mdiv\x1b[39m\x1b[33m>\x1b[39m\x1b[33mWelcome to my Next.js application! This is a longer piece of text that will demonstrate text wrapping behavior in the code frame.\x1b[39m\x1b[33m<\x1b[39m\x1b[33m/\x1b[39m\x1b[33mdiv\x1b[39m\x1b[33m>\x1b[39m\x1b[0m\n\x1b[0m \x1b[90m 4 \x1b[39m }\x1b[0m\n\x1b[0m \x1b[90m 5 \x1b[39m\x1b[0m";
|
50
|
-
};
|
51
|
-
const sourceStackFrame = {
|
52
|
-
file: 'app/page.tsx',
|
53
|
-
methodName: 'Home',
|
54
|
-
arguments: [],
|
55
|
-
lineNumber: 2,
|
56
|
-
column: 9
|
57
|
-
};
|
58
|
-
const originalStackFrame = {
|
59
|
-
file: 'app/page.tsx',
|
60
|
-
methodName: 'Home',
|
61
|
-
arguments: [],
|
62
|
-
lineNumber: 2,
|
63
|
-
column: 9,
|
64
|
-
ignored: false
|
65
|
-
};
|
66
|
-
const frame = {
|
67
|
-
originalStackFrame: {
|
68
|
-
file: './app/page.tsx',
|
69
|
-
methodName: 'MyComponent',
|
70
|
-
arguments: [],
|
71
|
-
lineNumber: 10,
|
72
|
-
column: 5,
|
73
|
-
ignored: false
|
74
|
-
},
|
75
|
-
sourceStackFrame: {
|
76
|
-
file: './app/page.tsx',
|
77
|
-
methodName: 'MyComponent',
|
78
|
-
arguments: [],
|
79
|
-
lineNumber: 10,
|
80
|
-
column: 5
|
81
|
-
},
|
82
|
-
originalCodeFrame: 'export default function MyComponent() {',
|
83
|
-
error: false,
|
84
|
-
reason: null,
|
85
|
-
external: false,
|
86
|
-
ignored: false
|
87
|
-
};
|
88
|
-
const ignoredFrame = {
|
89
|
-
...frame,
|
90
|
-
ignored: true
|
91
|
-
};
|
92
|
-
const runtimeErrors = [
|
93
|
-
{
|
94
|
-
id: 1,
|
95
|
-
runtime: true,
|
96
|
-
error: new Error('First error message'),
|
97
|
-
frames: ()=>Promise.resolve([
|
98
|
-
frame,
|
99
|
-
{
|
100
|
-
...frame,
|
101
|
-
originalStackFrame: {
|
102
|
-
...frame.originalStackFrame,
|
103
|
-
methodName: 'ParentComponent',
|
104
|
-
lineNumber: 5
|
105
|
-
}
|
106
|
-
},
|
107
|
-
{
|
108
|
-
...frame,
|
109
|
-
originalStackFrame: {
|
110
|
-
...frame.originalStackFrame,
|
111
|
-
methodName: 'GrandparentComponent',
|
112
|
-
lineNumber: 1
|
113
|
-
}
|
114
|
-
},
|
115
|
-
...Array(20).fill(ignoredFrame)
|
116
|
-
])
|
117
|
-
},
|
118
|
-
{
|
119
|
-
id: 2,
|
120
|
-
runtime: true,
|
121
|
-
error: new Error('Second error message'),
|
122
|
-
frames: ()=>Promise.resolve([
|
123
|
-
{
|
124
|
-
error: true,
|
125
|
-
reason: 'Second error message',
|
126
|
-
external: false,
|
127
|
-
ignored: false,
|
128
|
-
sourceStackFrame,
|
129
|
-
originalStackFrame,
|
130
|
-
originalCodeFrame: originalCodeFrame('Second error message')
|
131
|
-
}
|
132
|
-
])
|
133
|
-
},
|
134
|
-
{
|
135
|
-
id: 3,
|
136
|
-
runtime: true,
|
137
|
-
error: new Error('Third error message'),
|
138
|
-
frames: ()=>Promise.resolve([
|
139
|
-
{
|
140
|
-
error: true,
|
141
|
-
reason: 'Third error message',
|
142
|
-
external: false,
|
143
|
-
ignored: false,
|
144
|
-
sourceStackFrame,
|
145
|
-
originalStackFrame,
|
146
|
-
originalCodeFrame: originalCodeFrame('Third error message')
|
147
|
-
}
|
148
|
-
])
|
149
|
-
},
|
150
|
-
{
|
151
|
-
id: 4,
|
152
|
-
runtime: true,
|
153
|
-
error: new Error('Fourth error message'),
|
154
|
-
frames: ()=>Promise.resolve([
|
155
|
-
{
|
156
|
-
error: true,
|
157
|
-
reason: 'Fourth error message',
|
158
|
-
external: false,
|
159
|
-
ignored: false,
|
160
|
-
sourceStackFrame,
|
161
|
-
originalStackFrame,
|
162
|
-
originalCodeFrame: originalCodeFrame('Fourth error message')
|
163
|
-
}
|
164
|
-
])
|
165
|
-
}
|
166
|
-
];
|
167
|
-
const Default = {
|
168
|
-
args: {
|
169
|
-
runtimeErrors,
|
170
|
-
versionInfo: {
|
171
|
-
installed: '15.0.0',
|
172
|
-
staleness: 'fresh'
|
173
|
-
},
|
174
|
-
debugInfo: {
|
175
|
-
devtoolsFrontendUrl: undefined
|
176
|
-
},
|
177
|
-
isTurbopack: false,
|
178
|
-
onClose: ()=>{}
|
179
|
-
}
|
180
|
-
};
|
181
|
-
const Turbopack = {
|
182
|
-
args: {
|
183
|
-
...Default.args,
|
184
|
-
isTurbopack: true
|
185
|
-
}
|
186
|
-
};
|
187
|
-
const VeryLongErrorMessage = {
|
188
|
-
args: {
|
189
|
-
...Default.args,
|
190
|
-
runtimeErrors: [
|
191
|
-
{
|
192
|
-
...runtimeErrors[0],
|
193
|
-
error: Object.assign(new Error(_lorem.lorem))
|
194
|
-
}
|
195
|
-
]
|
196
|
-
}
|
197
|
-
};
|
198
|
-
const WithHydrationWarning = {
|
199
|
-
args: {
|
200
|
-
runtimeErrors: [
|
201
|
-
{
|
202
|
-
id: 1,
|
203
|
-
runtime: true,
|
204
|
-
error: Object.assign(new Error('Hydration error'), {
|
205
|
-
details: {
|
206
|
-
warning: [
|
207
|
-
'Text content does not match server-rendered HTML: "%s" !== "%s"',
|
208
|
-
'Server Content',
|
209
|
-
'Client Content'
|
210
|
-
],
|
211
|
-
reactOutputComponentDiff: "<MyComponent>\n <ParentComponent>\n <div>\n- <p> hello world and welcome to my amazing website with lots of content hello world and welcome to my amazing website with lots of content </p>\n+ <div> hello world and welcome to my amazing website with lots of content hello world and welcome to my amazing website with lots of content </div>"
|
212
|
-
},
|
213
|
-
componentStackFrames: [
|
214
|
-
{
|
215
|
-
component: 'MyComponent',
|
216
|
-
file: 'app/page.tsx',
|
217
|
-
lineNumber: 10,
|
218
|
-
columnNumber: 5
|
219
|
-
},
|
220
|
-
{
|
221
|
-
component: 'ParentComponent',
|
222
|
-
file: 'app/layout.tsx',
|
223
|
-
lineNumber: 20,
|
224
|
-
columnNumber: 3
|
225
|
-
}
|
226
|
-
]
|
227
|
-
}),
|
228
|
-
frames: ()=>Promise.resolve([
|
229
|
-
{
|
230
|
-
error: true,
|
231
|
-
reason: 'First error message',
|
232
|
-
external: false,
|
233
|
-
ignored: false,
|
234
|
-
sourceStackFrame: {
|
235
|
-
file: 'app/page.tsx',
|
236
|
-
methodName: 'Home',
|
237
|
-
arguments: [],
|
238
|
-
lineNumber: 10,
|
239
|
-
column: 5
|
240
|
-
}
|
241
|
-
}
|
242
|
-
])
|
243
|
-
}
|
244
|
-
],
|
245
|
-
debugInfo: {
|
246
|
-
devtoolsFrontendUrl: undefined
|
247
|
-
},
|
248
|
-
onClose: ()=>{}
|
249
|
-
}
|
250
|
-
};
|
251
|
-
|
252
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
253
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
254
|
-
Object.assign(exports.default, exports);
|
255
|
-
module.exports = exports.default;
|
256
|
-
}
|
257
|
-
|
258
|
-
//# sourceMappingURL=errors.stories.js.map
|