@faststore/core 3.100.9 → 3.100.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +7 -0
- package/.next/cache/webpack/client-production/0.pack +2 -2
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/edge-server-production/0.pack +0 -0
- package/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +2 -2
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/images-manifest.json +1 -1
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/functions-config-manifest.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/en-US/404.html +2 -2
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/password-protection.html +2 -2
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US.html +2 -2
- package/.next/server/pages/s.js +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/server/src/middleware.js +3 -3
- package/.next/static/{bnfahun8MCxDDpW52hKXX → 9RkfNsnC47XELMQYdVE9f}/_buildManifest.js +1 -1
- package/.next/static/chunks/pages/s-6c49a04502d98f46.js +1 -0
- package/.next/trace +156 -156
- package/.turbo/turbo-build.log +165 -160
- package/.turbo/turbo-test.log +54 -0
- package/CHANGELOG.md +12 -0
- package/package.json +6 -5
- package/src/components/templates/SearchPage/SearchWrapper.tsx +34 -5
- package/test/components/templates/SearchPage/SearchWrapper.browser.test.tsx +215 -0
- package/test/tsconfig.json +1 -0
- package/.next/static/chunks/pages/s-162ba789e6611175.js +0 -1
- /package/.next/static/{bnfahun8MCxDDpW52hKXX → 9RkfNsnC47XELMQYdVE9f}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,160 +1,165 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @faststore/core@3.100.9 prebuild /Users/lariciamota/faststore-3x-release/packages/core
|
|
4
|
-
> na run partytown && na run generate
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
> @faststore/core@3.100.9 partytown /Users/lariciamota/faststore-3x-release/packages/core
|
|
8
|
-
> partytown copylib ./public/~partytown
|
|
9
|
-
|
|
10
|
-
Partytown lib copied to: /Users/lariciamota/faststore-3x-release/packages/core/public/~partytown
|
|
11
|
-
|
|
12
|
-
> @faststore/core@3.100.9 generate /Users/lariciamota/faststore-3x-release/packages/core
|
|
13
|
-
> na run generate:schema && na run generate:codegen && na run format:generated
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
> @faststore/core@3.100.9 generate:schema /Users/lariciamota/faststore-3x-release/packages/core
|
|
17
|
-
> tsx src/server/generator/generateGraphQLSchemaFile.ts
|
|
18
|
-
|
|
19
|
-
Schema GraphQL file generated successfully
|
|
20
|
-
|
|
21
|
-
> @faststore/core@3.100.9 generate:codegen /Users/lariciamota/faststore-3x-release/packages/core
|
|
22
|
-
> graphql-codegen
|
|
23
|
-
|
|
24
|
-
[STARTED] Parse Configuration
|
|
25
|
-
[SUCCESS] Parse Configuration
|
|
26
|
-
[STARTED] Generate outputs
|
|
27
|
-
[STARTED] Generate to ./@generated/
|
|
28
|
-
[STARTED] Load GraphQL schemas
|
|
29
|
-
[SUCCESS] Load GraphQL schemas
|
|
30
|
-
[STARTED] Load GraphQL documents
|
|
31
|
-
[SUCCESS] Load GraphQL documents
|
|
32
|
-
[STARTED] Generate
|
|
33
|
-
[SUCCESS] Generate
|
|
34
|
-
[SUCCESS] Generate to ./@generated/
|
|
35
|
-
[SUCCESS] Generate outputs
|
|
36
|
-
Running lifecycle hook "afterStart" scripts...
|
|
37
|
-
[CLI] Loading Schemas
|
|
38
|
-
[CLI] Loading Documents
|
|
39
|
-
[CLI] Generating output
|
|
40
|
-
|
|
41
|
-
> @faststore/core@3.100.9 format:generated /Users/lariciamota/faststore-3x-release/packages/core
|
|
42
|
-
> prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
> @faststore/core@3.100.9 build /Users/lariciamota/faststore-3x-release/packages/core
|
|
46
|
-
> next build
|
|
47
|
-
|
|
48
|
-
Browserslist: caniuse-lite is outdated. Please run:
|
|
49
|
-
npx browserslist@latest --update-db
|
|
50
|
-
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
51
|
-
[37m[1m [22m[39m Skipping linting
|
|
52
|
-
[?25l [37m[1m [22m[39m Checking validity of types [36m.[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m..[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m...[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m.[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m..[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m...[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m.[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m..[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m...[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m.[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m..[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m...[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m.[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m..[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m...[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m.[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m..[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m...[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m.[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m..[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m...[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m.[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m..[39m[2K[1G [37m[1m [22m[39m Checking validity of types [36m...[39m[2K[1G[?25h [37m[1m [22m[39m Checking validity of types
|
|
53
1
|
[32m[1m✓[22m[39m Checking validity of types
|
|
54
|
-
[?25l [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G[?25h [37m[1m [22m[39m Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc.js" https://nextjs.org/docs/messages/swc-disabled
|
|
55
|
-
[?25l [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G[?25h [37m[1m [22m[39m Using external babel configuration from /Users/lariciamota/faststore-3x-release/packages/core/.babelrc.js
|
|
56
|
-
[?25l [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G[?25hBrowserslist: browsers data (caniuse-lite) is 21 months old. Please run:
|
|
57
|
-
npx update-browserslist-db@latest
|
|
58
|
-
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
59
|
-
[?25l [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m<w> [1m[33m[webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|/Users/lariciamota/faststore-3x-release/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[1]!/Users/lariciamota/faststore-3x-release/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[2]!/Users/lariciamota/faststore-3x-release/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[7].oneOf[9].use[3]!/Users/lariciamota/faststore-3x-release/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[7].oneOf[9].use[4]!/Users/lariciamota/faststore-3x-release/packages/core/src/components/common/Toast/section.module.scss': No serializer registered for Warning[39m[22m
|
|
60
|
-
<w> [1m[33mwhile serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 1 items } -> webpack/lib/ModuleWarning -> Warning[39m[22m
|
|
61
|
-
[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G[?25h [33m[1m⚠[22m[39m Compiled with warnings
|
|
62
|
-
|
|
63
|
-
[?25l [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G[?25h./src/components/common/Toast/section.module.scss.webpack[javascript/auto]!=!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[1]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[2]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[7].oneOf[9].use[3]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[7].oneOf[9].use[4]!./src/components/common/Toast/section.module.scss
|
|
64
|
-
Warning
|
|
65
|
-
|
|
66
|
-
(1:1634) autoprefixer: start value has mixed support, consider using flex-start instead
|
|
67
|
-
|
|
68
|
-
Import trace for requested module:
|
|
69
|
-
./src/components/common/Toast/section.module.scss.webpack[javascript/auto]!=!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[1]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[2]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[7].oneOf[9].use[3]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[7].oneOf[9].use[4]!./src/components/common/Toast/section.module.scss
|
|
70
|
-
./src/components/common/Toast/section.module.scss
|
|
71
|
-
./src/components/common/Toast/Toast.tsx
|
|
72
|
-
./src/components/common/Toast/index.ts
|
|
73
|
-
./src/components/cms/RenderSections.tsx
|
|
74
|
-
|
|
75
|
-
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/lib/deflate.js
|
|
76
|
-
A Node.js API is used (CompressionStream at line: 10) which is not supported in the Edge Runtime.
|
|
77
|
-
Learn more: https://nextjs.org/docs/api-reference/edge-runtime
|
|
78
|
-
|
|
79
|
-
Import trace for requested module:
|
|
80
|
-
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/lib/deflate.js
|
|
81
|
-
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js
|
|
82
|
-
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/index.js
|
|
83
|
-
./src/server/password-protection-service.ts
|
|
84
|
-
|
|
85
|
-
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/lib/deflate.js
|
|
86
|
-
A Node.js API is used (DecompressionStream at line: 25) which is not supported in the Edge Runtime.
|
|
87
|
-
Learn more: https://nextjs.org/docs/api-reference/edge-runtime
|
|
88
|
-
|
|
89
|
-
Import trace for requested module:
|
|
90
|
-
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/lib/deflate.js
|
|
91
|
-
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js
|
|
92
|
-
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/index.js
|
|
93
|
-
./src/server/password-protection-service.ts
|
|
94
|
-
[?25l [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G[?25h
|
|
95
|
-
[?25l [37m[1m [22m[39m Creating an optimized production build [36m.[39m[?25l [37m[1m [22m[39m Collecting page data [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Collecting page data [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Collecting page data [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Collecting page data [36m.[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Collecting page data [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Collecting page data [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G [37m[1m [22m[39m Collecting page data [36m.[39m[2K[1G[?25h [37m[1m [22m[39m Collecting page data
|
|
96
2
|
[32m[1m✓[22m[39m Collecting page data
|
|
97
|
-
[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[?25l [37m[1m [22m[39m Generating static pages (0/8) [36m[ ][39mWarning: Dynamic Content not found for the page: home. Refer to the Dynamic Content documentation at https://developers.vtex.com/docs/guides/faststore/dynamic-content-overview for mapping the page and the corresponding data-fetching function.
|
|
98
|
-
[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39m[2K[1G [37m[1m [22m[39m Generating static pages (0/8) [36m[= ][39m
|
|
99
3
|
[37m[1m [22m[39m Generating static pages (2/8)
|
|
100
|
-
[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m...[39m[2K[1G[1A[2K[1G [37m[1m [22m[39m Generating static pages (0/8) [36m[== ][39m
|
|
101
4
|
[37m[1m [22m[39m Generating static pages (2/8)
|
|
102
|
-
[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m.[39m[2K[1G[1A[2K[1G [37m[1m [22m[39m Generating static pages (0/8) [36m[=== ][39m
|
|
103
5
|
[37m[1m [22m[39m Generating static pages (2/8)
|
|
104
|
-
[2K[1G [37m[1m [22m[39m Creating an optimized production build [36m..[39mSearch not found. Add a new component for this section or remove it from the CMS
|
|
105
|
-
[2K[1G[1A[2K[1G [37m[1m [22m[39m Generating static pages (0/8) [36m[ ===][39m
|
|
106
6
|
[37m[1m [22m[39m Generating static pages (2/8)
|
|
107
|
-
Search not found. Add a new component for this section or remove it from the CMS
|
|
108
|
-
Search not found. Add a new component for this section or remove it from the CMS
|
|
109
|
-
Search not found. Add a new component for this section or remove it from the CMS
|
|
110
|
-
Search not found. Add a new component for this section or remove it from the CMS
|
|
111
|
-
Search not found. Add a new component for this section or remove it from the CMS
|
|
112
|
-
[2K[1G[1A[2K[1G[?25h[2K[1G[?25h
|
|
113
7
|
[32m[1m✓[22m[39m Generating static pages (8/8)
|
|
114
|
-
[?25l [37m[1m [22m[39m Creating an optimized production build [36m.[39m[?25l [37m[1m [22m[39m Finalizing page optimization [36m.[39m[?25l [37m[1m [22m[39m Collecting build traces [36m.[39m[2K[1G[?25h [37m[1m [22m[39m Collecting build traces
|
|
115
8
|
[32m[1m✓[22m[39m Collecting build traces
|
|
116
|
-
[2K[1G[?25h [37m[1m [22m[39m Finalizing page optimization
|
|
117
9
|
[32m[1m✓[22m[39m Finalizing page optimization
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
10
|
+
|
|
11
|
+
> @faststore/core@3.100.10 prebuild /home/runner/work/faststore/faststore/packages/core
|
|
12
|
+
> na run partytown && na run generate
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
> @faststore/core@3.100.10 partytown /home/runner/work/faststore/faststore/packages/core
|
|
16
|
+
> partytown copylib ./public/~partytown
|
|
17
|
+
|
|
18
|
+
Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
|
|
19
|
+
|
|
20
|
+
> @faststore/core@3.100.10 generate /home/runner/work/faststore/faststore/packages/core
|
|
21
|
+
> na run generate:schema && na run generate:codegen && na run format:generated
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
> @faststore/core@3.100.10 generate:schema /home/runner/work/faststore/faststore/packages/core
|
|
25
|
+
> tsx src/server/generator/generateGraphQLSchemaFile.ts
|
|
26
|
+
|
|
27
|
+
Schema GraphQL file generated successfully
|
|
28
|
+
|
|
29
|
+
> @faststore/core@3.100.10 generate:codegen /home/runner/work/faststore/faststore/packages/core
|
|
30
|
+
> graphql-codegen
|
|
31
|
+
|
|
32
|
+
[STARTED] Parse Configuration
|
|
33
|
+
[SUCCESS] Parse Configuration
|
|
34
|
+
[STARTED] Generate outputs
|
|
35
|
+
[STARTED] Generate to ./@generated/
|
|
36
|
+
[STARTED] Load GraphQL schemas
|
|
37
|
+
[SUCCESS] Load GraphQL schemas
|
|
38
|
+
[STARTED] Load GraphQL documents
|
|
39
|
+
[SUCCESS] Load GraphQL documents
|
|
40
|
+
[STARTED] Generate
|
|
41
|
+
[SUCCESS] Generate
|
|
42
|
+
[SUCCESS] Generate to ./@generated/
|
|
43
|
+
[SUCCESS] Generate outputs
|
|
44
|
+
Running lifecycle hook "afterStart" scripts...
|
|
45
|
+
[CLI] Loading Schemas
|
|
46
|
+
[CLI] Loading Documents
|
|
47
|
+
[CLI] Generating output
|
|
48
|
+
|
|
49
|
+
> @faststore/core@3.100.10 format:generated /home/runner/work/faststore/faststore/packages/core
|
|
50
|
+
> prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
> @faststore/core@3.100.10 build /home/runner/work/faststore/faststore/packages/core
|
|
54
|
+
> next build
|
|
55
|
+
|
|
56
|
+
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
|
|
57
|
+
Attention: Next.js now collects completely anonymous telemetry regarding usage.
|
|
58
|
+
This information is used to shape Next.js' roadmap and prioritize features.
|
|
59
|
+
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
|
|
60
|
+
https://nextjs.org/telemetry
|
|
61
|
+
|
|
62
|
+
Browserslist: caniuse-lite is outdated. Please run:
|
|
63
|
+
npx browserslist@latest --update-db
|
|
64
|
+
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
65
|
+
Skipping linting
|
|
66
|
+
Checking validity of types ...
|
|
67
|
+
Creating an optimized production build ...
|
|
68
|
+
Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc.js" https://nextjs.org/docs/messages/swc-disabled
|
|
69
|
+
Using external babel configuration from /home/runner/work/faststore/faststore/packages/core/.babelrc.js
|
|
70
|
+
Browserslist: browsers data (caniuse-lite) is 22 months old. Please run:
|
|
71
|
+
npx update-browserslist-db@latest
|
|
72
|
+
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
73
|
+
<w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|/home/runner/work/faststore/faststore/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[1]!/home/runner/work/faststore/faststore/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[2]!/home/runner/work/faststore/faststore/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[7].oneOf[9].use[3]!/home/runner/work/faststore/faststore/node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[7].oneOf[9].use[4]!/home/runner/work/faststore/faststore/packages/core/src/components/common/Toast/section.module.scss': No serializer registered for Warning
|
|
74
|
+
<w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Array { 1 items } -> webpack/lib/ModuleWarning -> Warning
|
|
75
|
+
⚠ Compiled with warnings
|
|
76
|
+
|
|
77
|
+
./src/components/common/Toast/section.module.scss.webpack[javascript/auto]!=!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[1]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[2]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[7].oneOf[9].use[3]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[7].oneOf[9].use[4]!./src/components/common/Toast/section.module.scss
|
|
78
|
+
Warning
|
|
79
|
+
|
|
80
|
+
(1:1634) autoprefixer: start value has mixed support, consider using flex-start instead
|
|
81
|
+
|
|
82
|
+
Import trace for requested module:
|
|
83
|
+
./src/components/common/Toast/section.module.scss.webpack[javascript/auto]!=!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[1]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[9].use[2]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[7].oneOf[9].use[3]!../../node_modules/.pnpm/next@13.5.11_@babel+core@7.26.7_@opentelemetry+api@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.83.4/node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[7].oneOf[9].use[4]!./src/components/common/Toast/section.module.scss
|
|
84
|
+
./src/components/common/Toast/section.module.scss
|
|
85
|
+
./src/components/common/Toast/Toast.tsx
|
|
86
|
+
./src/components/common/Toast/index.ts
|
|
87
|
+
./src/components/cms/RenderSections.tsx
|
|
88
|
+
|
|
89
|
+
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/lib/deflate.js
|
|
90
|
+
A Node.js API is used (CompressionStream at line: 10) which is not supported in the Edge Runtime.
|
|
91
|
+
Learn more: https://nextjs.org/docs/api-reference/edge-runtime
|
|
92
|
+
|
|
93
|
+
Import trace for requested module:
|
|
94
|
+
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/lib/deflate.js
|
|
95
|
+
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js
|
|
96
|
+
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/index.js
|
|
97
|
+
./src/server/password-protection-service.ts
|
|
98
|
+
|
|
99
|
+
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/lib/deflate.js
|
|
100
|
+
A Node.js API is used (DecompressionStream at line: 25) which is not supported in the Edge Runtime.
|
|
101
|
+
Learn more: https://nextjs.org/docs/api-reference/edge-runtime
|
|
102
|
+
|
|
103
|
+
Import trace for requested module:
|
|
104
|
+
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/lib/deflate.js
|
|
105
|
+
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js
|
|
106
|
+
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/index.js
|
|
107
|
+
./src/server/password-protection-service.ts
|
|
108
|
+
|
|
109
|
+
Collecting page data ...
|
|
110
|
+
Generating static pages (0/8) ...
|
|
111
|
+
|
|
170
112
|
Generating static pages (2/8)
|
|
113
|
+
Search not found. Add a new component for this section or remove it from the CMS
|
|
114
|
+
Search not found. Add a new component for this section or remove it from the CMS
|
|
115
|
+
|
|
171
116
|
Generating static pages (4/8)
|
|
117
|
+
Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Content documentation at https://developers.vtex.com/docs/guides/faststore/dynamic-content-overview for mapping the page and the corresponding data-fetching function.
|
|
118
|
+
Search not found. Add a new component for this section or remove it from the CMS
|
|
119
|
+
Search not found. Add a new component for this section or remove it from the CMS
|
|
120
|
+
|
|
172
121
|
Generating static pages (6/8)
|
|
122
|
+
Search not found. Add a new component for this section or remove it from the CMS
|
|
123
|
+
Search not found. Add a new component for this section or remove it from the CMS
|
|
124
|
+
|
|
173
125
|
✓ Generating static pages (8/8)
|
|
126
|
+
Finalizing page optimization ...
|
|
127
|
+
Collecting build traces ...
|
|
128
|
+
|
|
129
|
+
Route (pages) Size First Load JS
|
|
130
|
+
┌ ● / 7.38 kB 165 kB
|
|
131
|
+
├ └ css/02259c549b2179f2.css 3.1 kB
|
|
132
|
+
├ /_app 0 B 109 kB
|
|
133
|
+
├ ● /[...slug] 2.55 kB 175 kB
|
|
134
|
+
├ ● /[slug]/p 97.3 kB 255 kB
|
|
135
|
+
├ ├ css/1c4983f11b861ea0.css 6.34 kB
|
|
136
|
+
├ └ css/54cedf4b65e5863f.css 16.7 kB
|
|
137
|
+
├ ○ /404 1.58 kB 160 kB
|
|
138
|
+
├ ● /500 1.58 kB 160 kB
|
|
139
|
+
├ λ /api/fs/logout 0 B 109 kB
|
|
140
|
+
├ λ /api/fs/password-protection/unlock 0 B 109 kB
|
|
141
|
+
├ λ /api/graphql 0 B 109 kB
|
|
142
|
+
├ λ /api/health/live 0 B 109 kB
|
|
143
|
+
├ λ /api/health/ready 0 B 109 kB
|
|
144
|
+
├ λ /api/preview 0 B 109 kB
|
|
145
|
+
├ ● /checkout 750 B 159 kB
|
|
146
|
+
├ ● /login 1.7 kB 160 kB
|
|
147
|
+
├ ○ /password-protection 2.18 kB 111 kB
|
|
148
|
+
├ └ css/033b9397a0c0cf71.css 3.2 kB
|
|
149
|
+
├ λ /pvt/account 247 B 109 kB
|
|
150
|
+
├ ● /pvt/account/[...unknown] 287 B 109 kB
|
|
151
|
+
├ λ /pvt/account/403 3 kB 161 kB
|
|
152
|
+
├ └ css/6819dddf2b1b5ea7.css 4.84 kB
|
|
153
|
+
├ λ /pvt/account/404 2.18 kB 160 kB
|
|
154
|
+
├ └ css/ea11d74a2848b093.css 4.89 kB
|
|
155
|
+
├ λ /pvt/account/orders 9.89 kB 168 kB
|
|
156
|
+
├ └ css/14176a4704ff97b2.css 14.4 kB
|
|
157
|
+
├ λ /pvt/account/orders/[id] 13.6 kB 172 kB
|
|
158
|
+
├ └ css/82f3cd529b672812.css 14 kB
|
|
159
|
+
├ λ /pvt/account/profile 1.99 kB 160 kB
|
|
160
|
+
├ └ css/a852afa9be31e946.css 4.58 kB
|
|
161
|
+
├ λ /pvt/account/security 3.96 kB 162 kB
|
|
162
|
+
├ └ css/24d91007fc96be10.css 6.71 kB
|
|
163
|
+
├ λ /pvt/account/user-details 1.91 kB 160 kB
|
|
164
|
+
├ └ css/16d65422bfa80f51.css 4.7 kB
|
|
165
|
+
└ ● /s 3.44 kB 176 kB
|
|
166
|
+
+ First Load JS shared by all 118 kB
|
|
167
|
+
├ chunks/framework-d514426edf885c68.js 45.4 kB
|
|
168
|
+
├ chunks/main-a2d1cfe626f2fef1.js 33.4 kB
|
|
169
|
+
├ chunks/pages/_app-35e8dda638ee2672.js 26.6 kB
|
|
170
|
+
├ chunks/webpack-62bcb2a452e15476.js 3.9 kB
|
|
171
|
+
└ css/146a8678babc61bf.css 9.2 kB
|
|
172
|
+
|
|
173
|
+
ƒ Middleware 44.8 kB
|
|
174
|
+
|
|
175
|
+
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
|
|
176
|
+
○ (Static) automatically rendered as static HTML (uses no initial props)
|
|
177
|
+
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
|
|
178
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
> @faststore/core@3.100.10 test /home/runner/work/faststore/faststore/packages/core
|
|
3
|
+
> jest
|
|
4
|
+
|
|
5
|
+
PASS test/utils/cookieCacheBusting.test.ts (10.073 s)
|
|
6
|
+
PASS test/server/password-protection-service.test.ts (12.538 s)
|
|
7
|
+
PASS test/server/content/service.test.ts (12.882 s)
|
|
8
|
+
PASS test/utils/multipleTemplates.test.ts
|
|
9
|
+
PASS test/utils/clearCookies.test.ts
|
|
10
|
+
PASS test/server/cms/index.test.ts
|
|
11
|
+
PASS test/server/content/promiseCache.test.ts
|
|
12
|
+
PASS test/sdk/redirects/index.test.ts
|
|
13
|
+
PASS test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (5.665 s)
|
|
14
|
+
● Console
|
|
15
|
+
|
|
16
|
+
console.error
|
|
17
|
+
Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.
|
|
18
|
+
|
|
19
|
+
[0m [90m 69 |[39m
|
|
20
|
+
[90m 70 |[39m [36masync[39m [36mfunction[39m render() {
|
|
21
|
+
[31m[1m>[22m[39m[90m 71 |[39m [36mawait[39m act([36masync[39m () [33m=>[39m {
|
|
22
|
+
[90m |[39m [31m[1m^[22m[39m
|
|
23
|
+
[90m 72 |[39m root[33m.[39mrender(
|
|
24
|
+
[90m 73 |[39m [33m<[39m[33mSearchWrapper[39m
|
|
25
|
+
[90m 74 |[39m itemsPerPage[33m=[39m{[35m12[39m}[0m
|
|
26
|
+
|
|
27
|
+
at printWarning (../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-test-utils.development.js:71:30)
|
|
28
|
+
at error (../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-test-utils.development.js:45:7)
|
|
29
|
+
at actWithWarning (../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1736:7)
|
|
30
|
+
at test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:71:14
|
|
31
|
+
at step (test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:44:23)
|
|
32
|
+
at Object.next (test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:25:53)
|
|
33
|
+
at test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:19:71
|
|
34
|
+
at Object.<anonymous>.__awaiter (test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:15:12)
|
|
35
|
+
at render (test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:116:16)
|
|
36
|
+
at test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:116:11
|
|
37
|
+
at step (test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:44:23)
|
|
38
|
+
at Object.next (test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:25:53)
|
|
39
|
+
at test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:19:71
|
|
40
|
+
at Object.<anonymous>.__awaiter (test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:15:12)
|
|
41
|
+
at Object.<anonymous> (test/components/templates/SearchPage/SearchWrapper.browser.test.tsx:110:65)
|
|
42
|
+
|
|
43
|
+
PASS test/utils/trustedForwardedHost.test.ts
|
|
44
|
+
PASS test/utils/validateSessionRefreshToken.test.ts
|
|
45
|
+
PASS test/server/cms/global.test.ts
|
|
46
|
+
PASS test/utils/isLocalHost.browser.test.ts
|
|
47
|
+
PASS test/utils/isLocalHost.test.ts
|
|
48
|
+
PASS test/server/index.test.ts
|
|
49
|
+
|
|
50
|
+
Test Suites: 15 passed, 15 total
|
|
51
|
+
Tests: 165 passed, 165 total
|
|
52
|
+
Snapshots: 0 total
|
|
53
|
+
Time: 20.318 s
|
|
54
|
+
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.100.11](https://github.com/vtex/faststore/compare/v3.100.10...v3.100.11) (2026-11-05)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **core:** bump sharp to 0.35.5 ([227f566](https://github.com/vtex/faststore/commit/227f566d630ebf8e46ad110fc87bfec37208dbb1))
|
|
11
|
+
|
|
12
|
+
## [3.100.10](https://github.com/vtex/faststore/compare/v3.100.9...v3.100.10) (2026-11-04)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- prevent IS redirect hang in 3.x ([#3538](https://github.com/vtex/faststore/issues/3538)) ([8b30c48](https://github.com/vtex/faststore/commit/8b30c4868f2e38cb61ab5c15494e17015395b273)), closes [#3437](https://github.com/vtex/faststore/issues/3437) [#3437](https://github.com/vtex/faststore/issues/3437) [#3437](https://github.com/vtex/faststore/issues/3437)
|
|
17
|
+
|
|
6
18
|
## [3.100.9](https://github.com/vtex/faststore/compare/v3.100.8...v3.100.9) (2026-10-28)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @faststore/core
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "3.100.
|
|
3
|
+
"version": "3.100.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"partytown": "partytown copylib ./public/~partytown"
|
|
34
34
|
},
|
|
35
35
|
"engines": {
|
|
36
|
-
"node": ">=
|
|
36
|
+
"node": ">=20.9.0"
|
|
37
37
|
},
|
|
38
38
|
"volta": {
|
|
39
|
-
"node": "
|
|
39
|
+
"node": "22.23.4",
|
|
40
40
|
"pnpm": "9.15.1",
|
|
41
41
|
"yarn": "1.22.22"
|
|
42
42
|
},
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"react-intersection-observer": "^8.32.5",
|
|
102
102
|
"sass": "^1.44.0",
|
|
103
103
|
"sass-loader": "^12.6.0",
|
|
104
|
-
"sharp": "^0.
|
|
104
|
+
"sharp": "^0.35.5",
|
|
105
105
|
"style-loader": "^3.3.1",
|
|
106
106
|
"swr": "^2.2.5",
|
|
107
107
|
"tsx": "^4.6.2"
|
|
@@ -116,6 +116,7 @@
|
|
|
116
116
|
"@types/cypress": "^1.1.3",
|
|
117
117
|
"@types/fs-extra": "^9.0.13",
|
|
118
118
|
"@types/jest": "29.1.0",
|
|
119
|
+
"@types/react-dom": "18.2.21",
|
|
119
120
|
"@vtex/prettier-config": "1.0.0",
|
|
120
121
|
"axe-core": "^4.8.1",
|
|
121
122
|
"cypress": "12.17.4",
|
|
@@ -127,5 +128,5 @@
|
|
|
127
128
|
"ts-jest": "29.1.1",
|
|
128
129
|
"typescript": "5.3.2"
|
|
129
130
|
},
|
|
130
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "f3c857fbeeafcc49f3c25372a4dd55ec5709d5a5"
|
|
131
132
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { useEffect, useRef } from 'react'
|
|
1
2
|
import { useSearch } from '@faststore/sdk'
|
|
2
3
|
import { useRouter } from 'next/router'
|
|
3
4
|
|
|
@@ -40,6 +41,38 @@ export default function SearchWrapper({
|
|
|
40
41
|
selectedFacets,
|
|
41
42
|
})
|
|
42
43
|
|
|
44
|
+
const redirectUrl = pageProductGalleryData?.redirect?.url
|
|
45
|
+
const lastRedirect = useRef<{ url: string } | null>(null)
|
|
46
|
+
|
|
47
|
+
// Intelligent Search redirects must run in an effect — calling router.replace
|
|
48
|
+
// during render re-fires on every state update (e.g. scrollRestoration's
|
|
49
|
+
// resetInfiniteScroll) and loops until the tab hangs.
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
if (!redirectUrl) {
|
|
52
|
+
lastRedirect.current = null
|
|
53
|
+
return
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (lastRedirect.current?.url === redirectUrl) return
|
|
57
|
+
|
|
58
|
+
const redirect = { url: redirectUrl }
|
|
59
|
+
lastRedirect.current = redirect
|
|
60
|
+
|
|
61
|
+
const clearFailedRedirect = () => {
|
|
62
|
+
// An older navigation must not clear a newer attempt, even to the same URL.
|
|
63
|
+
if (lastRedirect.current === redirect) {
|
|
64
|
+
lastRedirect.current = null
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
router
|
|
69
|
+
.replace(redirectUrl)
|
|
70
|
+
.then((completed) => {
|
|
71
|
+
if (!completed) clearFailedRedirect()
|
|
72
|
+
})
|
|
73
|
+
.catch(clearFailedRedirect)
|
|
74
|
+
}, [redirectUrl, router])
|
|
75
|
+
|
|
43
76
|
const emptySearchProps = storeConfig.experimental.enableSearchSSR
|
|
44
77
|
? {
|
|
45
78
|
title: storeConfig.seo.search.bodyH1 ?? 'Showing results for:',
|
|
@@ -58,11 +91,7 @@ export default function SearchWrapper({
|
|
|
58
91
|
}
|
|
59
92
|
|
|
60
93
|
// Redirect when there are registered Intelligent Search redirects on VTEX Admin
|
|
61
|
-
if (
|
|
62
|
-
router.replace(pageProductGalleryData?.redirect?.url, null, {
|
|
63
|
-
shallow: true,
|
|
64
|
-
})
|
|
65
|
-
|
|
94
|
+
if (redirectUrl) {
|
|
66
95
|
return (
|
|
67
96
|
<PageProvider context={{ globalSettings }}>
|
|
68
97
|
<RenderSections globalSections={globalSections}>
|