diff --git a/test/turbopack-dev-tests-manifest.json b/test/turbopack-dev-tests-manifest.json index cbcb6a69c25c..62678b86f04f 100644 --- a/test/turbopack-dev-tests-manifest.json +++ b/test/turbopack-dev-tests-manifest.json @@ -408,6 +408,19 @@ "flakey": [], "runtimeError": false }, + "packages/next/src/lib/typescript/writeConfigurationDefaults.test.ts": { + "passed": [ + "writeConfigurationDefaults() appDir applies suggested and mandatory defaults to existing tsconfig.json and logs them", + "writeConfigurationDefaults() appDir does not warn about disabled strict mode if strict mode was already enabled", + "writeConfigurationDefaults() appDir with tsconfig extends should not add strictNullChecks if base provides it", + "writeConfigurationDefaults() appDir with tsconfig extends should replace includes when base is missing appTypes", + "writeConfigurationDefaults() appDir with tsconfig extends should support empty includes when base provides it" + ], + "failed": [], + "pending": [], + "flakey": [], + "runtimeError": false + }, "packages/next/src/server/app-render/csrf-protection.test.ts": { "passed": [ "isCsrfOriginAllowed should return false when allowedOrigins contains originDomain with non-matching pattern", @@ -735,6 +748,27 @@ "flakey": [], "runtimeError": false }, + "packages/next/src/server/lib/utils.test.ts": { + "passed": [ + "formatNodeOptions wraps values with spaces in quotes", + "getFormattedNodeOptionsWithoutInspect handles options with quotes", + "getFormattedNodeOptionsWithoutInspect handles options with spaces", + "getFormattedNodeOptionsWithoutInspect ignores unrelated options starting with --inspect-", + "getFormattedNodeOptionsWithoutInspect removes --inspect option", + "getFormattedNodeOptionsWithoutInspect removes --inspect option at end of line", + "getFormattedNodeOptionsWithoutInspect removes --inspect option with parameters", + "getFormattedNodeOptionsWithoutInspect removes --inspect-brk option", + "getFormattedNodeOptionsWithoutInspect removes --inspect-brk option with parameters", + "getParsedDebugAddress supports the flag with an equal sign", + "getParsedDebugAddress supports the flag without an equal sign", + "tokenizeArgs splits arguments by spaces", + "tokenizeArgs supports quoted values" + ], + "failed": [], + "pending": [], + "flakey": [], + "runtimeError": false + }, "packages/next/src/server/load-manifest.test.ts": { "passed": [ "loadManifest should cache the manifest when not already cached", @@ -2430,6 +2464,8 @@ "app-dir action handling should log a warning when a server action is not found but an id is provided", "app-dir action handling should not block navigation events while a server action is in flight", "app-dir action handling should not block router.back() while a server action is in flight", + "app-dir action handling should not error when a forwarded action triggers a redirect (edge)", + "app-dir action handling should not error when a forwarded action triggers a redirect (node)", "app-dir action handling should not log errors for non-action form POSTs", "app-dir action handling should only submit action once when resubmitting an action after navigation", "app-dir action handling should push new route when redirecting", @@ -2727,6 +2763,7 @@ "app-dir with middleware Mutate request headers for next/headers Deletes headers", "app-dir with middleware Mutate request headers for next/headers Supports draft mode", "app-dir with middleware Mutate request headers for next/headers Updates headers", + "app-dir with middleware should be possible to modify cookies & read them in an RSC in a single request", "app-dir with middleware should filter correctly after middleware rewrite" ], "failed": [], @@ -3146,6 +3183,15 @@ "flakey": [], "runtimeError": false }, + "test/e2e/app-dir/app/flying-shuttle.test.ts": { + "passed": [ + "should output updated trace files should skip for non-next start" + ], + "failed": [], + "pending": [], + "flakey": [], + "runtimeError": false + }, "test/e2e/app-dir/app/index.test.ts": { "passed": [ "app dir - basic should allow linking from app page to pages page", @@ -3885,121 +3931,6 @@ "flakey": [], "runtimeError": false }, - "test/e2e/app-dir/logging/fetch-logging.test.ts": { - "passed": [ - "app-dir - logging with default logging should not contain metadata internal segments for dynamic metadata routes", - "app-dir - logging with default logging should not contain trailing word page for app router routes", - "app-dir - logging with default logging should not log fetch requests at all", - "app-dir - logging with fetches default logging should exlucde Middleware invoked and _rsc requests", - "app-dir - logging with fetches default logging should log 'skip' cache status with a reason when cache: 'no-cache' is used", - "app-dir - logging with fetches default logging should log 'skip' cache status with a reason when revalidate: 0 is used", - "app-dir - logging with fetches default logging should log 'skip' cache status with a reason when the browser indicates caching should be ignored", - "app-dir - logging with fetches default logging should log each page request only once", - "app-dir - logging with fetches default logging should log requests with correct indentation", - "app-dir - logging with fetches default logging should not contain metadata internal segments for dynamic metadata routes", - "app-dir - logging with fetches default logging should not contain trailing word page for app router routes", - "app-dir - logging with fetches default logging should only log requests in development mode", - "app-dir - logging with fetches default logging should respect request.init.cache when use with fetch input is instance", - "app-dir - logging with fetches default logging should show cache reason of noStore when use with fetch", - "app-dir - logging with fetches verbose logging should exlucde Middleware invoked and _rsc requests", - "app-dir - logging with fetches verbose logging should log 'skip' cache status with a reason when cache: 'no-cache' is used", - "app-dir - logging with fetches verbose logging should log 'skip' cache status with a reason when revalidate: 0 is used", - "app-dir - logging with fetches verbose logging should log 'skip' cache status with a reason when the browser indicates caching should be ignored", - "app-dir - logging with fetches verbose logging should log each page request only once", - "app-dir - logging with fetches verbose logging should log requests with correct indentation", - "app-dir - logging with fetches verbose logging should not contain metadata internal segments for dynamic metadata routes", - "app-dir - logging with fetches verbose logging should not contain trailing word page for app router routes", - "app-dir - logging with fetches verbose logging should only log requests in development mode", - "app-dir - logging with fetches verbose logging should respect request.init.cache when use with fetch input is instance", - "app-dir - logging with fetches verbose logging should show cache reason of noStore when use with fetch", - "app-dir - logging with verbose logging for edge runtime should not contain metadata internal segments for dynamic metadata routes", - "app-dir - logging with verbose logging for edge runtime should not contain trailing word page for app router routes", - "app-dir - logging with verbose logging for edge runtime should not log fetch requests at all" - ], - "failed": [], - "pending": [], - "flakey": [], - "runtimeError": false - }, - "test/e2e/app-dir/logging/fetch-warning.test.ts": { - "passed": [ - "app-dir - fetch warnings should log when request input is a Request instance", - "app-dir - fetch warnings should log when request input is a string", - "app-dir - fetch warnings should not log when overriding cache within the Request object" - ], - "failed": [], - "pending": [], - "flakey": [], - "runtimeError": false - }, - "test/e2e/app-dir/mdx/mdx.test.ts": { - "passed": [ - "mdx with-mdx-rs app directory should allow importing client components", - "mdx with-mdx-rs app directory should allow overriding components", - "mdx with-mdx-rs app directory should work in initial html", - "mdx with-mdx-rs app directory should work in initial html with mdx import", - "mdx with-mdx-rs app directory should work using browser", - "mdx with-mdx-rs app directory should work using browser with mdx import", - "mdx with-mdx-rs app directory should work with next/image", - "mdx with-mdx-rs pages directory should allow overriding components", - "mdx with-mdx-rs pages directory should work in initial html", - "mdx with-mdx-rs pages directory should work in initial html with mdx import", - "mdx with-mdx-rs pages directory should work using browser", - "mdx with-mdx-rs pages directory should work using browser with mdx import" - ], - "failed": [], - "pending": [], - "flakey": [], - "runtimeError": false - }, - "test/e2e/app-dir/metadata-dynamic-routes/index.test.ts": { - "passed": [ - "app dir - metadata dynamic routes icon image routes should render apple icon with dynamic routes", - "app dir - metadata dynamic routes icon image routes should render icon with dynamic routes", - "app dir - metadata dynamic routes should error if the default export of dynamic image is missing", - "app dir - metadata dynamic routes should error when id is missing in generateImageMetadata", - "app dir - metadata dynamic routes should error when id is missing in generateSitemaps", - "app dir - metadata dynamic routes should generate unique path for image routes under group routes", - "app dir - metadata dynamic routes should inject dynamic metadata properly to head", - "app dir - metadata dynamic routes should pick configured metadataBase instead of deployment url for canonical url", - "app dir - metadata dynamic routes should use localhost for local prod and fallback to deployment url when metadataBase is falsy", - "app dir - metadata dynamic routes social image routes should fill params into dynamic routes url of metadata images", - "app dir - metadata dynamic routes social image routes should fill params into routes groups url of static images", - "app dir - metadata dynamic routes social image routes should handle custom fonts in both edge and nodejs runtime", - "app dir - metadata dynamic routes social image routes should handle manifest.[ext] dynamic routes", - "app dir - metadata dynamic routes social image routes should render og image with opengraph-image dynamic routes", - "app dir - metadata dynamic routes social image routes should render og image with twitter-image dynamic routes", - "app dir - metadata dynamic routes social image routes should support generate multi images with generateImageMetadata", - "app dir - metadata dynamic routes social image routes should support generate multi sitemaps with generateSitemaps", - "app dir - metadata dynamic routes social image routes should support params as argument in dynamic routes", - "app dir - metadata dynamic routes text routes should handle robots.[ext] dynamic routes", - "app dir - metadata dynamic routes text routes should handle sitemap.[ext] dynamic routes", - "app dir - metadata dynamic routes text routes should not throw if client components are imported but not used", - "app dir - metadata dynamic routes text routes should support alternate.languages in sitemap" - ], - "failed": [], - "pending": [], - "flakey": [], - "runtimeError": false - }, - "test/e2e/app-dir/metadata-edge/index.test.ts": { - "passed": [ - "app dir - Metadata API on the Edge runtime should render OpenGraph image meta tag correctly" - ], - "failed": [], - "pending": [], - "flakey": [], - "runtimeError": false - }, - "test/e2e/app-dir/metadata-json-manifest/index.test.ts": { - "passed": [ - "app-dir metadata-json-manifest should support metadata.json manifest" - ], - "failed": [], - "pending": [], - "flakey": [], - "runtimeError": false - }, "test/e2e/app-dir/metadata-suspense/index.test.ts": { "passed": [ "app dir - metadata dynamic routes suspense should render metadata in head even root layout is wrapped with Suspense" @@ -4370,6 +4301,15 @@ "flakey": [], "runtimeError": false }, + "test/e2e/app-dir/parallel-routes-breadcrumbs/parallel-routes-breadcrumbs.test.ts": { + "passed": [ + "parallel-routes-breadcrumbs should provide an unmatched catch-all route with params" + ], + "failed": [], + "pending": [], + "flakey": [], + "runtimeError": false + }, "test/e2e/app-dir/parallel-routes-catchall-children-slot/parallel-routes-catchall-children-slot.test.ts": { "passed": [ "parallel-routes-catchall-children-slot should match the @children slot for a page before attempting to match the catchall" @@ -4454,54 +4394,6 @@ "flakey": [], "runtimeError": false }, - "test/e2e/app-dir/parallel-routes-revalidation/parallel-routes-revalidation.test.ts": { - "passed": [ - "parallel-routes-revalidation router.refresh (dynamic) - searchParams: false should correctly refresh data for previously intercepted modal and active page slot", - "parallel-routes-revalidation router.refresh (dynamic) - searchParams: false should correctly refresh data for the intercepted route and previously active page slot", - "parallel-routes-revalidation router.refresh (dynamic) - searchParams: true should correctly refresh data for previously intercepted modal and active page slot", - "parallel-routes-revalidation router.refresh (dynamic) - searchParams: true should correctly refresh data for the intercepted route and previously active page slot", - "parallel-routes-revalidation router.refresh (regular) - searchParams: false should correctly refresh data for previously intercepted modal and active page slot", - "parallel-routes-revalidation router.refresh (regular) - searchParams: false should correctly refresh data for the intercepted route and previously active page slot", - "parallel-routes-revalidation router.refresh (regular) - searchParams: true should correctly refresh data for previously intercepted modal and active page slot", - "parallel-routes-revalidation router.refresh (regular) - searchParams: true should correctly refresh data for the intercepted route and previously active page slot", - "parallel-routes-revalidation server action revalidation handles refreshing when multiple parallel slots are active", - "parallel-routes-revalidation should handle a redirect action when called in a slot", - "parallel-routes-revalidation should handle router.refresh() when called in a slot", - "parallel-routes-revalidation should not trigger full page when calling router.refresh() on an intercepted route", - "parallel-routes-revalidation should not trigger interception when calling router.refresh() on an intercepted route (/catchall/foobar)", - "parallel-routes-revalidation should not trigger interception when calling router.refresh() on an intercepted route (/detail-page)", - "parallel-routes-revalidation should not trigger interception when calling router.refresh() on an intercepted route (/dynamic/foobar)", - "parallel-routes-revalidation should not trigger the intercepted route when lazy-fetching missing data", - "parallel-routes-revalidation should refresh the correct page when a server action triggers a redirect", - "parallel-routes-revalidation should submit the action and revalidate the page data" - ], - "failed": [], - "pending": [], - "flakey": [], - "runtimeError": false - }, - "test/e2e/app-dir/parallel-routes-use-selected-layout-segment/parallel-routes-use-selected-layout-segment.test.ts": { - "passed": [ - "parallel-routes-use-selected-layout-segment hard nav to parallel route", - "parallel-routes-use-selected-layout-segment hard nav to router page and soft nav around other router pages", - "parallel-routes-use-selected-layout-segment hard nav to router page and soft nav to parallel route and soft nav back to another router page", - "parallel-routes-use-selected-layout-segment hard nav to router page and soft nav to parallel routes" - ], - "failed": [], - "pending": [], - "flakey": [], - "runtimeError": false - }, - "test/e2e/app-dir/params-hooks-compat/index.test.ts": { - "passed": [ - "app-dir - params hooks compat should only access path params with useParams", - "app-dir - params hooks compat should only access search params with useSearchParams" - ], - "failed": [], - "pending": [], - "flakey": [], - "runtimeError": false - }, "test/e2e/app-dir/ppr-errors/ppr-errors.test.ts": { "passed": [], "failed": [], @@ -4635,6 +4527,13 @@ "flakey": [], "runtimeError": false }, + "test/e2e/app-dir/ppr-unstable-cache/ppr-unstable-cache.test.ts": { + "passed": [], + "failed": [], + "pending": ["ppr-unstable-cache should not run in dev mode"], + "flakey": [], + "runtimeError": false + }, "test/e2e/app-dir/ppr/ppr.test.ts": { "passed": [ "ppr /no-suspense/node/gsp/[slug] should serve the static & dynamic parts", @@ -8211,6 +8110,8 @@ "CLI Usage dev -p reserved", "CLI Usage dev Allow retry if default port is already in use", "CLI Usage dev NODE_OPTIONS='--inspect'", + "CLI Usage dev NODE_OPTIONS='--require=file with spaces to --require.js'", + "CLI Usage dev NODE_OPTIONS='--require=file with spaces to-require-with-node-require-option.js'", "CLI Usage dev PORT=0", "CLI Usage dev custom directory", "CLI Usage dev invalid directory", @@ -12632,9 +12533,6 @@ "with contentDispositionType attachment dev support with next.config.js should not allow svg with comma header", "with contentDispositionType attachment dev support with next.config.js should not allow svg with uppercase header", "with contentDispositionType attachment dev support with next.config.js should not allow vector svg", - "with contentDispositionType attachment dev support with next.config.js should not change the color type of a png", - "with contentDispositionType attachment dev support with next.config.js should not have sharp missing warning", - "with contentDispositionType attachment dev support with next.config.js should not have sharp outdated warning", "with contentDispositionType attachment dev support with next.config.js should not resize if requested width is larger than original source image", "with contentDispositionType attachment dev support with next.config.js should resize absolute url from localhost", "with contentDispositionType attachment dev support with next.config.js should resize relative url and new Chrome accept header as avif", @@ -12680,7 +12578,6 @@ "with contentDispositionType attachment Production Mode Server support with next.config.js should fail when width is not in next.config.js", "with contentDispositionType attachment Production Mode Server support with next.config.js should handle concurrent requests", "with contentDispositionType attachment Production Mode Server support with next.config.js should handle non-ascii characters in image url", - "with contentDispositionType attachment Production Mode Server support with next.config.js should have sharp missing warning", "with contentDispositionType attachment Production Mode Server support with next.config.js should maintain animated gif", "with contentDispositionType attachment Production Mode Server support with next.config.js should maintain animated png", "with contentDispositionType attachment Production Mode Server support with next.config.js should maintain animated png 2", @@ -12694,8 +12591,6 @@ "with contentDispositionType attachment Production Mode Server support with next.config.js should not allow svg with comma header", "with contentDispositionType attachment Production Mode Server support with next.config.js should not allow svg with uppercase header", "with contentDispositionType attachment Production Mode Server support with next.config.js should not allow vector svg", - "with contentDispositionType attachment Production Mode Server support with next.config.js should not change the color type of a png", - "with contentDispositionType attachment Production Mode Server support with next.config.js should not have sharp outdated warning", "with contentDispositionType attachment Production Mode Server support with next.config.js should not resize if requested width is larger than original source image", "with contentDispositionType attachment Production Mode Server support with next.config.js should resize absolute url from localhost", "with contentDispositionType attachment Production Mode Server support with next.config.js should resize relative url and new Chrome accept header as avif", @@ -12792,9 +12687,6 @@ "with minimumCacheTTL of 5 sec dev support with next.config.js should not allow svg with comma header", "with minimumCacheTTL of 5 sec dev support with next.config.js should not allow svg with uppercase header", "with minimumCacheTTL of 5 sec dev support with next.config.js should not allow vector svg", - "with minimumCacheTTL of 5 sec dev support with next.config.js should not change the color type of a png", - "with minimumCacheTTL of 5 sec dev support with next.config.js should not have sharp missing warning", - "with minimumCacheTTL of 5 sec dev support with next.config.js should not have sharp outdated warning", "with minimumCacheTTL of 5 sec dev support with next.config.js should not resize if requested width is larger than original source image", "with minimumCacheTTL of 5 sec dev support with next.config.js should resize absolute url from localhost", "with minimumCacheTTL of 5 sec dev support with next.config.js should resize relative url and new Chrome accept header as avif", @@ -12840,7 +12732,6 @@ "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should fail when width is not in next.config.js", "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should handle concurrent requests", "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should handle non-ascii characters in image url", - "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should have sharp missing warning", "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should maintain animated gif", "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should maintain animated png", "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should maintain animated png 2", @@ -12854,8 +12745,6 @@ "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should not allow svg with comma header", "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should not allow svg with uppercase header", "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should not allow vector svg", - "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should not change the color type of a png", - "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should not have sharp outdated warning", "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should not resize if requested width is larger than original source image", "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should resize absolute url from localhost", "with minimumCacheTTL of 5 sec Production Mode Server support with next.config.js should resize relative url and new Chrome accept header as avif", @@ -12875,71 +12764,6 @@ "flakey": [], "runtimeError": false }, - "test/integration/image-optimizer/test/old-sharp.test.ts": { - "passed": [], - "failed": [], - "pending": [ - "with outdated sharp Production Mode Server support with next.config.js should automatically detect image type when content-type is octet-stream", - "with outdated sharp Production Mode Server support with next.config.js should compress avif smaller than webp at q=100", - "with outdated sharp Production Mode Server support with next.config.js should compress avif smaller than webp at q=50", - "with outdated sharp Production Mode Server support with next.config.js should compress avif smaller than webp at q=75", - "with outdated sharp Production Mode Server support with next.config.js should downlevel webp format to jpeg for old Safari", - "with outdated sharp Production Mode Server support with next.config.js should emit blur svg when width is 8 in dev but not prod", - "with outdated sharp Production Mode Server support with next.config.js should emit blur svg when width is less than 8 in dev but not prod", - "with outdated sharp Production Mode Server support with next.config.js should error if the image file does not exist", - "with outdated sharp Production Mode Server support with next.config.js should error if the resource isn't a valid image", - "with outdated sharp Production Mode Server support with next.config.js should fail when domain is not defined in next.config.js", - "with outdated sharp Production Mode Server support with next.config.js should fail when internal url is not an image", - "with outdated sharp Production Mode Server support with next.config.js should fail when q is greater than 100", - "with outdated sharp Production Mode Server support with next.config.js should fail when q is less than 1", - "with outdated sharp Production Mode Server support with next.config.js should fail when q is missing", - "with outdated sharp Production Mode Server support with next.config.js should fail when q is not a number", - "with outdated sharp Production Mode Server support with next.config.js should fail when url fails to load an image", - "with outdated sharp Production Mode Server support with next.config.js should fail when url has file protocol", - "with outdated sharp Production Mode Server support with next.config.js should fail when url has ftp protocol", - "with outdated sharp Production Mode Server support with next.config.js should fail when url is missing", - "with outdated sharp Production Mode Server support with next.config.js should fail when w is 0", - "with outdated sharp Production Mode Server support with next.config.js should fail when w is less than 0", - "with outdated sharp Production Mode Server support with next.config.js should fail when w is missing", - "with outdated sharp Production Mode Server support with next.config.js should fail when w is not a number", - "with outdated sharp Production Mode Server support with next.config.js should fail when width is not in next.config.js", - "with outdated sharp Production Mode Server support with next.config.js should handle concurrent requests", - "with outdated sharp Production Mode Server support with next.config.js should handle custom sharp usage", - "with outdated sharp Production Mode Server support with next.config.js should handle non-ascii characters in image url", - "with outdated sharp Production Mode Server support with next.config.js should have sharp outdated warning", - "with outdated sharp Production Mode Server support with next.config.js should maintain animated gif", - "with outdated sharp Production Mode Server support with next.config.js should maintain animated png", - "with outdated sharp Production Mode Server support with next.config.js should maintain animated png 2", - "with outdated sharp Production Mode Server support with next.config.js should maintain animated webp", - "with outdated sharp Production Mode Server support with next.config.js should maintain bmp", - "with outdated sharp Production Mode Server support with next.config.js should maintain ico format", - "with outdated sharp Production Mode Server support with next.config.js should maintain jpg format for old Safari", - "with outdated sharp Production Mode Server support with next.config.js should maintain png format for old Safari", - "with outdated sharp Production Mode Server support with next.config.js should normalize invalid status codes", - "with outdated sharp Production Mode Server support with next.config.js should not allow svg with application header", - "with outdated sharp Production Mode Server support with next.config.js should not allow svg with comma header", - "with outdated sharp Production Mode Server support with next.config.js should not allow svg with uppercase header", - "with outdated sharp Production Mode Server support with next.config.js should not allow vector svg", - "with outdated sharp Production Mode Server support with next.config.js should not have sharp missing warning", - "with outdated sharp Production Mode Server support with next.config.js should not resize if requested width is larger than original source image", - "with outdated sharp Production Mode Server support with next.config.js should resize absolute url from localhost", - "with outdated sharp Production Mode Server support with next.config.js should resize relative url and new Chrome accept header as avif", - "with outdated sharp Production Mode Server support with next.config.js should resize relative url and old Chrome accept header as webp", - "with outdated sharp Production Mode Server support with next.config.js should resize relative url and png accept header", - "with outdated sharp Production Mode Server support with next.config.js should resize relative url and webp Firefox accept header", - "with outdated sharp Production Mode Server support with next.config.js should resize relative url with invalid accept header as gif", - "with outdated sharp Production Mode Server support with next.config.js should resize relative url with invalid accept header as png", - "with outdated sharp Production Mode Server support with next.config.js should resize relative url with invalid accept header as tiff", - "with outdated sharp Production Mode Server support with next.config.js should return home page", - "with outdated sharp Production Mode Server support with next.config.js should set 304 status without body when etag matches if-none-match", - "with outdated sharp Production Mode Server support with next.config.js should set cache-control to immutable for static images", - "with outdated sharp Production Mode Server support with next.config.js should use cache and stale-while-revalidate when query is the same for external image", - "with outdated sharp Production Mode Server support with next.config.js should use cache and stale-while-revalidate when query is the same for internal image", - "with outdated sharp Production Mode Server support with next.config.js should use cached image file when parameters are the same for animated gif" - ], - "flakey": [], - "runtimeError": false - }, "test/integration/image-optimizer/test/sharp.test.ts": { "passed": [ "with latest sharp dev support w/o next.config.js should downlevel avif format to jpeg for old Safari", @@ -12975,8 +12799,6 @@ "with latest sharp dev support w/o next.config.js should not allow svg with comma header", "with latest sharp dev support w/o next.config.js should not allow svg with uppercase header", "with latest sharp dev support w/o next.config.js should not allow vector svg", - "with latest sharp dev support w/o next.config.js should not have sharp missing warning", - "with latest sharp dev support w/o next.config.js should not have sharp outdated warning", "with latest sharp dev support w/o next.config.js should not resize if requested width is larger than original source image", "with latest sharp dev support w/o next.config.js should resize relative url and old Chrome accept header as webp", "with latest sharp dev support w/o next.config.js should resize relative url and png accept header", @@ -13029,8 +12851,6 @@ "with latest sharp dev support with next.config.js should not allow svg with comma header", "with latest sharp dev support with next.config.js should not allow svg with uppercase header", "with latest sharp dev support with next.config.js should not allow vector svg", - "with latest sharp dev support with next.config.js should not have sharp missing warning", - "with latest sharp dev support with next.config.js should not have sharp outdated warning", "with latest sharp dev support with next.config.js should not resize if requested width is larger than original source image", "with latest sharp dev support with next.config.js should resize absolute url from localhost", "with latest sharp dev support with next.config.js should resize relative url and new Chrome accept header as avif", @@ -13082,8 +12902,6 @@ "with latest sharp Production Mode Server support w/o next.config.js should not allow svg with comma header", "with latest sharp Production Mode Server support w/o next.config.js should not allow svg with uppercase header", "with latest sharp Production Mode Server support w/o next.config.js should not allow vector svg", - "with latest sharp Production Mode Server support w/o next.config.js should not have sharp missing warning", - "with latest sharp Production Mode Server support w/o next.config.js should not have sharp outdated warning", "with latest sharp Production Mode Server support w/o next.config.js should not resize if requested width is larger than original source image", "with latest sharp Production Mode Server support w/o next.config.js should resize relative url and old Chrome accept header as webp", "with latest sharp Production Mode Server support w/o next.config.js should resize relative url and png accept header", @@ -13122,7 +12940,6 @@ "with latest sharp Production Mode Server support with next.config.js should fail when w is not a number", "with latest sharp Production Mode Server support with next.config.js should fail when width is not in next.config.js", "with latest sharp Production Mode Server support with next.config.js should handle concurrent requests", - "with latest sharp Production Mode Server support with next.config.js should handle custom sharp usage", "with latest sharp Production Mode Server support with next.config.js should handle non-ascii characters in image url", "with latest sharp Production Mode Server support with next.config.js should maintain animated gif", "with latest sharp Production Mode Server support with next.config.js should maintain animated png", @@ -13137,8 +12954,6 @@ "with latest sharp Production Mode Server support with next.config.js should not allow svg with comma header", "with latest sharp Production Mode Server support with next.config.js should not allow svg with uppercase header", "with latest sharp Production Mode Server support with next.config.js should not allow vector svg", - "with latest sharp Production Mode Server support with next.config.js should not have sharp missing warning", - "with latest sharp Production Mode Server support with next.config.js should not have sharp outdated warning", "with latest sharp Production Mode Server support with next.config.js should not resize if requested width is larger than original source image", "with latest sharp Production Mode Server support with next.config.js should resize absolute url from localhost", "with latest sharp Production Mode Server support with next.config.js should resize relative url and new Chrome accept header as avif", @@ -13158,227 +12973,6 @@ "flakey": [], "runtimeError": false }, - "test/integration/image-optimizer/test/squoosh.test.ts": { - "passed": [ - "with squoosh dev support w/o next.config.js should downlevel avif format to jpeg for old Safari", - "with squoosh dev support w/o next.config.js should downlevel webp format to jpeg for old Safari", - "with squoosh dev support w/o next.config.js should emit blur svg when width is 8 in dev but not prod", - "with squoosh dev support w/o next.config.js should emit blur svg when width is less than 8 in dev but not prod", - "with squoosh dev support w/o next.config.js should error if the image file does not exist", - "with squoosh dev support w/o next.config.js should error if the resource isn't a valid image", - "with squoosh dev support w/o next.config.js should fail when domain is not defined in next.config.js", - "with squoosh dev support w/o next.config.js should fail when internal url is not an image", - "with squoosh dev support w/o next.config.js should fail when q is greater than 100", - "with squoosh dev support w/o next.config.js should fail when q is less than 1", - "with squoosh dev support w/o next.config.js should fail when q is missing", - "with squoosh dev support w/o next.config.js should fail when q is not a number", - "with squoosh dev support w/o next.config.js should fail when url has file protocol", - "with squoosh dev support w/o next.config.js should fail when url has ftp protocol", - "with squoosh dev support w/o next.config.js should fail when url is missing", - "with squoosh dev support w/o next.config.js should fail when w is 0", - "with squoosh dev support w/o next.config.js should fail when w is less than 0", - "with squoosh dev support w/o next.config.js should fail when w is missing", - "with squoosh dev support w/o next.config.js should fail when w is not a number", - "with squoosh dev support w/o next.config.js should fail when width is not in next.config.js", - "with squoosh dev support w/o next.config.js should handle non-ascii characters in image url", - "with squoosh dev support w/o next.config.js should maintain animated gif", - "with squoosh dev support w/o next.config.js should maintain animated png", - "with squoosh dev support w/o next.config.js should maintain animated png 2", - "with squoosh dev support w/o next.config.js should maintain animated webp", - "with squoosh dev support w/o next.config.js should maintain bmp", - "with squoosh dev support w/o next.config.js should maintain ico format", - "with squoosh dev support w/o next.config.js should maintain jpg format for old Safari", - "with squoosh dev support w/o next.config.js should maintain png format for old Safari", - "with squoosh dev support w/o next.config.js should not allow svg with application header", - "with squoosh dev support w/o next.config.js should not allow svg with comma header", - "with squoosh dev support w/o next.config.js should not allow svg with uppercase header", - "with squoosh dev support w/o next.config.js should not allow vector svg", - "with squoosh dev support w/o next.config.js should not change the color type of a png", - "with squoosh dev support w/o next.config.js should not have sharp missing warning", - "with squoosh dev support w/o next.config.js should not have sharp outdated warning", - "with squoosh dev support w/o next.config.js should not resize if requested width is larger than original source image", - "with squoosh dev support w/o next.config.js should resize relative url and old Chrome accept header as webp", - "with squoosh dev support w/o next.config.js should resize relative url and png accept header", - "with squoosh dev support w/o next.config.js should resize relative url and webp Firefox accept header", - "with squoosh dev support w/o next.config.js should resize relative url with invalid accept header as gif", - "with squoosh dev support w/o next.config.js should resize relative url with invalid accept header as png", - "with squoosh dev support w/o next.config.js should resize relative url with invalid accept header as tiff", - "with squoosh dev support w/o next.config.js should return home page", - "with squoosh dev support w/o next.config.js should set 304 status without body when etag matches if-none-match", - "with squoosh dev support w/o next.config.js should set cache-control to immutable for static images", - "with squoosh dev support w/o next.config.js should use cache and stale-while-revalidate when query is the same for internal image", - "with squoosh dev support w/o next.config.js should use cached image file when parameters are the same for animated gif", - "with squoosh dev support with next.config.js should automatically detect image type when content-type is octet-stream", - "with squoosh dev support with next.config.js should compress avif smaller than webp at q=100", - "with squoosh dev support with next.config.js should compress avif smaller than webp at q=50", - "with squoosh dev support with next.config.js should compress avif smaller than webp at q=75", - "with squoosh dev support with next.config.js should downlevel avif format to jpeg for old Safari", - "with squoosh dev support with next.config.js should downlevel webp format to jpeg for old Safari", - "with squoosh dev support with next.config.js should emit blur svg when width is 8 in dev but not prod", - "with squoosh dev support with next.config.js should emit blur svg when width is less than 8 in dev but not prod", - "with squoosh dev support with next.config.js should error if the image file does not exist", - "with squoosh dev support with next.config.js should error if the resource isn't a valid image", - "with squoosh dev support with next.config.js should fail when domain is not defined in next.config.js", - "with squoosh dev support with next.config.js should fail when internal url is not an image", - "with squoosh dev support with next.config.js should fail when q is greater than 100", - "with squoosh dev support with next.config.js should fail when q is less than 1", - "with squoosh dev support with next.config.js should fail when q is missing", - "with squoosh dev support with next.config.js should fail when q is not a number", - "with squoosh dev support with next.config.js should fail when url fails to load an image", - "with squoosh dev support with next.config.js should fail when url has file protocol", - "with squoosh dev support with next.config.js should fail when url has ftp protocol", - "with squoosh dev support with next.config.js should fail when url is missing", - "with squoosh dev support with next.config.js should fail when w is 0", - "with squoosh dev support with next.config.js should fail when w is less than 0", - "with squoosh dev support with next.config.js should fail when w is missing", - "with squoosh dev support with next.config.js should fail when w is not a number", - "with squoosh dev support with next.config.js should fail when width is not in next.config.js", - "with squoosh dev support with next.config.js should handle concurrent requests", - "with squoosh dev support with next.config.js should handle non-ascii characters in image url", - "with squoosh dev support with next.config.js should maintain animated gif", - "with squoosh dev support with next.config.js should maintain animated png", - "with squoosh dev support with next.config.js should maintain animated png 2", - "with squoosh dev support with next.config.js should maintain animated webp", - "with squoosh dev support with next.config.js should maintain bmp", - "with squoosh dev support with next.config.js should maintain ico format", - "with squoosh dev support with next.config.js should maintain jpg format for old Safari", - "with squoosh dev support with next.config.js should maintain png format for old Safari", - "with squoosh dev support with next.config.js should normalize invalid status codes", - "with squoosh dev support with next.config.js should not allow svg with application header", - "with squoosh dev support with next.config.js should not allow svg with comma header", - "with squoosh dev support with next.config.js should not allow svg with uppercase header", - "with squoosh dev support with next.config.js should not allow vector svg", - "with squoosh dev support with next.config.js should not change the color type of a png", - "with squoosh dev support with next.config.js should not have sharp missing warning", - "with squoosh dev support with next.config.js should not have sharp outdated warning", - "with squoosh dev support with next.config.js should not resize if requested width is larger than original source image", - "with squoosh dev support with next.config.js should resize absolute url from localhost", - "with squoosh dev support with next.config.js should resize relative url and new Chrome accept header as avif", - "with squoosh dev support with next.config.js should resize relative url and old Chrome accept header as webp", - "with squoosh dev support with next.config.js should resize relative url and png accept header", - "with squoosh dev support with next.config.js should resize relative url and webp Firefox accept header", - "with squoosh dev support with next.config.js should resize relative url with invalid accept header as gif", - "with squoosh dev support with next.config.js should resize relative url with invalid accept header as png", - "with squoosh dev support with next.config.js should resize relative url with invalid accept header as tiff", - "with squoosh dev support with next.config.js should return home page", - "with squoosh dev support with next.config.js should set 304 status without body when etag matches if-none-match", - "with squoosh dev support with next.config.js should set cache-control to immutable for static images", - "with squoosh dev support with next.config.js should use cache and stale-while-revalidate when query is the same for external image", - "with squoosh dev support with next.config.js should use cache and stale-while-revalidate when query is the same for internal image", - "with squoosh dev support with next.config.js should use cached image file when parameters are the same for animated gif" - ], - "failed": [], - "pending": [ - "with squoosh Production Mode Server support w/o next.config.js should downlevel avif format to jpeg for old Safari", - "with squoosh Production Mode Server support w/o next.config.js should downlevel webp format to jpeg for old Safari", - "with squoosh Production Mode Server support w/o next.config.js should emit blur svg when width is 8 in dev but not prod", - "with squoosh Production Mode Server support w/o next.config.js should emit blur svg when width is less than 8 in dev but not prod", - "with squoosh Production Mode Server support w/o next.config.js should error if the image file does not exist", - "with squoosh Production Mode Server support w/o next.config.js should error if the resource isn't a valid image", - "with squoosh Production Mode Server support w/o next.config.js should fail when domain is not defined in next.config.js", - "with squoosh Production Mode Server support w/o next.config.js should fail when internal url is not an image", - "with squoosh Production Mode Server support w/o next.config.js should fail when q is greater than 100", - "with squoosh Production Mode Server support w/o next.config.js should fail when q is less than 1", - "with squoosh Production Mode Server support w/o next.config.js should fail when q is missing", - "with squoosh Production Mode Server support w/o next.config.js should fail when q is not a number", - "with squoosh Production Mode Server support w/o next.config.js should fail when url has file protocol", - "with squoosh Production Mode Server support w/o next.config.js should fail when url has ftp protocol", - "with squoosh Production Mode Server support w/o next.config.js should fail when url is missing", - "with squoosh Production Mode Server support w/o next.config.js should fail when w is 0", - "with squoosh Production Mode Server support w/o next.config.js should fail when w is less than 0", - "with squoosh Production Mode Server support w/o next.config.js should fail when w is missing", - "with squoosh Production Mode Server support w/o next.config.js should fail when w is not a number", - "with squoosh Production Mode Server support w/o next.config.js should fail when width is not in next.config.js", - "with squoosh Production Mode Server support w/o next.config.js should handle non-ascii characters in image url", - "with squoosh Production Mode Server support w/o next.config.js should have sharp missing warning", - "with squoosh Production Mode Server support w/o next.config.js should maintain animated gif", - "with squoosh Production Mode Server support w/o next.config.js should maintain animated png", - "with squoosh Production Mode Server support w/o next.config.js should maintain animated png 2", - "with squoosh Production Mode Server support w/o next.config.js should maintain animated webp", - "with squoosh Production Mode Server support w/o next.config.js should maintain bmp", - "with squoosh Production Mode Server support w/o next.config.js should maintain ico format", - "with squoosh Production Mode Server support w/o next.config.js should maintain jpg format for old Safari", - "with squoosh Production Mode Server support w/o next.config.js should maintain png format for old Safari", - "with squoosh Production Mode Server support w/o next.config.js should not allow svg with application header", - "with squoosh Production Mode Server support w/o next.config.js should not allow svg with comma header", - "with squoosh Production Mode Server support w/o next.config.js should not allow svg with uppercase header", - "with squoosh Production Mode Server support w/o next.config.js should not allow vector svg", - "with squoosh Production Mode Server support w/o next.config.js should not change the color type of a png", - "with squoosh Production Mode Server support w/o next.config.js should not have sharp outdated warning", - "with squoosh Production Mode Server support w/o next.config.js should not resize if requested width is larger than original source image", - "with squoosh Production Mode Server support w/o next.config.js should resize relative url and old Chrome accept header as webp", - "with squoosh Production Mode Server support w/o next.config.js should resize relative url and png accept header", - "with squoosh Production Mode Server support w/o next.config.js should resize relative url and webp Firefox accept header", - "with squoosh Production Mode Server support w/o next.config.js should resize relative url with invalid accept header as gif", - "with squoosh Production Mode Server support w/o next.config.js should resize relative url with invalid accept header as png", - "with squoosh Production Mode Server support w/o next.config.js should resize relative url with invalid accept header as tiff", - "with squoosh Production Mode Server support w/o next.config.js should return home page", - "with squoosh Production Mode Server support w/o next.config.js should set 304 status without body when etag matches if-none-match", - "with squoosh Production Mode Server support w/o next.config.js should set cache-control to immutable for static images", - "with squoosh Production Mode Server support w/o next.config.js should use cache and stale-while-revalidate when query is the same for internal image", - "with squoosh Production Mode Server support w/o next.config.js should use cached image file when parameters are the same for animated gif", - "with squoosh Production Mode Server support with next.config.js should automatically detect image type when content-type is octet-stream", - "with squoosh Production Mode Server support with next.config.js should compress avif smaller than webp at q=100", - "with squoosh Production Mode Server support with next.config.js should compress avif smaller than webp at q=50", - "with squoosh Production Mode Server support with next.config.js should compress avif smaller than webp at q=75", - "with squoosh Production Mode Server support with next.config.js should downlevel avif format to jpeg for old Safari", - "with squoosh Production Mode Server support with next.config.js should downlevel webp format to jpeg for old Safari", - "with squoosh Production Mode Server support with next.config.js should emit blur svg when width is 8 in dev but not prod", - "with squoosh Production Mode Server support with next.config.js should emit blur svg when width is less than 8 in dev but not prod", - "with squoosh Production Mode Server support with next.config.js should error if the image file does not exist", - "with squoosh Production Mode Server support with next.config.js should error if the resource isn't a valid image", - "with squoosh Production Mode Server support with next.config.js should fail when domain is not defined in next.config.js", - "with squoosh Production Mode Server support with next.config.js should fail when internal url is not an image", - "with squoosh Production Mode Server support with next.config.js should fail when q is greater than 100", - "with squoosh Production Mode Server support with next.config.js should fail when q is less than 1", - "with squoosh Production Mode Server support with next.config.js should fail when q is missing", - "with squoosh Production Mode Server support with next.config.js should fail when q is not a number", - "with squoosh Production Mode Server support with next.config.js should fail when url fails to load an image", - "with squoosh Production Mode Server support with next.config.js should fail when url has file protocol", - "with squoosh Production Mode Server support with next.config.js should fail when url has ftp protocol", - "with squoosh Production Mode Server support with next.config.js should fail when url is missing", - "with squoosh Production Mode Server support with next.config.js should fail when w is 0", - "with squoosh Production Mode Server support with next.config.js should fail when w is less than 0", - "with squoosh Production Mode Server support with next.config.js should fail when w is missing", - "with squoosh Production Mode Server support with next.config.js should fail when w is not a number", - "with squoosh Production Mode Server support with next.config.js should fail when width is not in next.config.js", - "with squoosh Production Mode Server support with next.config.js should handle concurrent requests", - "with squoosh Production Mode Server support with next.config.js should handle non-ascii characters in image url", - "with squoosh Production Mode Server support with next.config.js should have sharp missing warning", - "with squoosh Production Mode Server support with next.config.js should maintain animated gif", - "with squoosh Production Mode Server support with next.config.js should maintain animated png", - "with squoosh Production Mode Server support with next.config.js should maintain animated png 2", - "with squoosh Production Mode Server support with next.config.js should maintain animated webp", - "with squoosh Production Mode Server support with next.config.js should maintain bmp", - "with squoosh Production Mode Server support with next.config.js should maintain ico format", - "with squoosh Production Mode Server support with next.config.js should maintain jpg format for old Safari", - "with squoosh Production Mode Server support with next.config.js should maintain png format for old Safari", - "with squoosh Production Mode Server support with next.config.js should normalize invalid status codes", - "with squoosh Production Mode Server support with next.config.js should not allow svg with application header", - "with squoosh Production Mode Server support with next.config.js should not allow svg with comma header", - "with squoosh Production Mode Server support with next.config.js should not allow svg with uppercase header", - "with squoosh Production Mode Server support with next.config.js should not allow vector svg", - "with squoosh Production Mode Server support with next.config.js should not change the color type of a png", - "with squoosh Production Mode Server support with next.config.js should not have sharp outdated warning", - "with squoosh Production Mode Server support with next.config.js should not resize if requested width is larger than original source image", - "with squoosh Production Mode Server support with next.config.js should resize absolute url from localhost", - "with squoosh Production Mode Server support with next.config.js should resize relative url and new Chrome accept header as avif", - "with squoosh Production Mode Server support with next.config.js should resize relative url and old Chrome accept header as webp", - "with squoosh Production Mode Server support with next.config.js should resize relative url and png accept header", - "with squoosh Production Mode Server support with next.config.js should resize relative url and webp Firefox accept header", - "with squoosh Production Mode Server support with next.config.js should resize relative url with invalid accept header as gif", - "with squoosh Production Mode Server support with next.config.js should resize relative url with invalid accept header as png", - "with squoosh Production Mode Server support with next.config.js should resize relative url with invalid accept header as tiff", - "with squoosh Production Mode Server support with next.config.js should return home page", - "with squoosh Production Mode Server support with next.config.js should set 304 status without body when etag matches if-none-match", - "with squoosh Production Mode Server support with next.config.js should set cache-control to immutable for static images", - "with squoosh Production Mode Server support with next.config.js should use cache and stale-while-revalidate when query is the same for external image", - "with squoosh Production Mode Server support with next.config.js should use cache and stale-while-revalidate when query is the same for internal image", - "with squoosh Production Mode Server support with next.config.js should use cached image file when parameters are the same for animated gif" - ], - "flakey": [], - "runtimeError": false - }, "test/integration/import-assertion/test/index.test.js": { "passed": ["import-assertion dev should handle json assertions"], "failed": [], @@ -15751,6 +15345,13 @@ "flakey": [], "runtimeError": false }, + "test/integration/sharp-api/test/sharp-api.test.ts": { + "passed": [], + "failed": [], + "pending": ["sharp api should handle custom sharp usage"], + "flakey": [], + "runtimeError": false + }, "test/integration/src-dir-support-double-dir/test/index.test.js": { "passed": [ "Dynamic Routing development mode should render from pages",