@faststore/core 3.100.0 → 3.100.1
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 +17 -17
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/webpack/client-production/0.pack +0 -0
- 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 +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/948.js +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/fs-auth-login.html +2 -2
- package/.next/server/pages/en-US/login.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-manifest.json +1 -1
- package/.next/static/{9kMY_8ze-x7sawSXOfQGe → Lk9fl1r-H5eeVzeqYkA-Y}/_buildManifest.js +1 -1
- package/.next/static/chunks/{9173-515913f3f10caf5e.js → 9173-1670c2bce097f620.js} +1 -1
- package/.next/trace +156 -156
- package/.turbo/turbo-build.log +10 -10
- package/.turbo/turbo-test.log +7 -7
- package/CHANGELOG.md +6 -0
- package/package.json +2 -2
- package/src/components/ui/Image/loader.ts +2 -2
- /package/.next/static/{9kMY_8ze-x7sawSXOfQGe → Lk9fl1r-H5eeVzeqYkA-Y}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.100.0 prebuild /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> na run partytown && na run generate
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @faststore/core@3.
|
|
6
|
+
> @faststore/core@3.100.0 partytown /home/runner/work/faststore/faststore/packages/core
|
|
7
7
|
> partytown copylib ./public/~partytown
|
|
8
8
|
|
|
9
9
|
Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
|
|
10
10
|
|
|
11
|
-
> @faststore/core@3.
|
|
11
|
+
> @faststore/core@3.100.0 generate /home/runner/work/faststore/faststore/packages/core
|
|
12
12
|
> na run generate:schema && na run generate:codegen && na run format:generated
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
> @faststore/core@3.
|
|
15
|
+
> @faststore/core@3.100.0 generate:schema /home/runner/work/faststore/faststore/packages/core
|
|
16
16
|
> tsx src/server/generator/generateGraphQLSchemaFile.ts
|
|
17
17
|
|
|
18
18
|
Schema GraphQL file generated successfully
|
|
19
19
|
|
|
20
|
-
> @faststore/core@3.
|
|
20
|
+
> @faststore/core@3.100.0 generate:codegen /home/runner/work/faststore/faststore/packages/core
|
|
21
21
|
> graphql-codegen
|
|
22
22
|
|
|
23
23
|
[STARTED] Parse Configuration
|
|
@@ -37,11 +37,11 @@ Running lifecycle hook "afterStart" scripts...
|
|
|
37
37
|
[CLI] Loading Documents
|
|
38
38
|
[CLI] Generating output
|
|
39
39
|
|
|
40
|
-
> @faststore/core@3.
|
|
40
|
+
> @faststore/core@3.100.0 format:generated /home/runner/work/faststore/faststore/packages/core
|
|
41
41
|
> prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
> @faststore/core@3.
|
|
44
|
+
> @faststore/core@3.100.0 build /home/runner/work/faststore/faststore/packages/core
|
|
45
45
|
> next build
|
|
46
46
|
|
|
47
47
|
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
|
|
@@ -83,7 +83,7 @@ Learn more: https://nextjs.org/docs/api-reference/edge-runtime
|
|
|
83
83
|
|
|
84
84
|
Import trace for requested module:
|
|
85
85
|
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/lib/deflate.js
|
|
86
|
-
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/jwe/flattened/
|
|
86
|
+
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js
|
|
87
87
|
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/index.js
|
|
88
88
|
./src/server/authentication-service.ts
|
|
89
89
|
|
|
@@ -93,7 +93,7 @@ Learn more: https://nextjs.org/docs/api-reference/edge-runtime
|
|
|
93
93
|
|
|
94
94
|
Import trace for requested module:
|
|
95
95
|
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/lib/deflate.js
|
|
96
|
-
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/jwe/flattened/
|
|
96
|
+
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js
|
|
97
97
|
../../node_modules/.pnpm/jose@6.2.3/node_modules/jose/dist/webapi/index.js
|
|
98
98
|
./src/server/authentication-service.ts
|
|
99
99
|
|
|
@@ -101,9 +101,9 @@ Import trace for requested module:
|
|
|
101
101
|
Generating static pages (0/8) ...
|
|
102
102
|
|
|
103
103
|
Generating static pages (2/8)
|
|
104
104
|
Search not found. Add a new component for this section or remove it from the CMS
|
|
105
|
-
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.
|
|
106
105
|
Search not found. Add a new component for this section or remove it from the CMS
|
|
107
106
|
|
|
108
107
|
Generating static pages (4/8)
|
|
108
|
+
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.
|
|
109
109
|
Search not found. Add a new component for this section or remove it from the CMS
|
|
110
110
|
Search not found. Add a new component for this section or remove it from the CMS
|
|
111
111
|
|
|
112
112
|
Generating static pages (6/8)
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.100.0 test /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS test/utils/clearCookies.test.ts (
|
|
5
|
+
PASS test/utils/clearCookies.test.ts (12.099 s)
|
|
6
|
+
PASS test/server/authentication-service.test.ts (15.26 s)
|
|
7
|
+
PASS test/utils/cookieCacheBusting.test.ts (14.803 s)
|
|
6
8
|
PASS test/utils/multipleTemplates.test.ts
|
|
7
|
-
PASS test/utils/cookieCacheBusting.test.ts (14.855 s)
|
|
8
|
-
PASS test/server/authentication-service.test.ts (16.605 s)
|
|
9
9
|
PASS test/utils/validateSessionRefreshToken.test.ts
|
|
10
10
|
PASS test/server/cms/global.test.ts
|
|
11
11
|
PASS test/utils/isLocalHost.test.ts
|
|
12
|
-
PASS test/server/cms/index.test.ts
|
|
13
12
|
PASS test/utils/isLocalHost.browser.test.ts
|
|
14
|
-
PASS test/server/index.test.ts (
|
|
13
|
+
PASS test/server/cms/index.test.ts (5.171 s)
|
|
14
|
+
PASS test/server/index.test.ts (10.14 s)
|
|
15
15
|
|
|
16
16
|
Test Suites: 10 passed, 10 total
|
|
17
17
|
Tests: 85 passed, 85 total
|
|
18
18
|
Snapshots: 0 total
|
|
19
|
-
Time:
|
|
19
|
+
Time: 26.32 s
|
|
20
20
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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.1](https://github.com/vtex/faststore/compare/v3.100.0...v3.100.1) (2026-06-08)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- image loader error at vtex assets ([#3382](https://github.com/vtex/faststore/issues/3382)) ([4241afb](https://github.com/vtex/faststore/commit/4241afb3ef4a325fe60afed45f45dfccb2edbd3a))
|
|
11
|
+
|
|
6
12
|
# [3.100.0](https://github.com/vtex/faststore/compare/v3.99.6...v3.100.0) (2026-06-02)
|
|
7
13
|
|
|
8
14
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "3.100.
|
|
3
|
+
"version": "3.100.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
"ts-jest": "29.1.1",
|
|
128
128
|
"typescript": "5.3.2"
|
|
129
129
|
},
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "27db589ac8c79b484b9faddda2ef8e445ddc882b"
|
|
131
131
|
}
|
|
@@ -5,14 +5,14 @@ function handleVtexUrls(src: string, width: number, quality = 8) {
|
|
|
5
5
|
quality > 10 ? Math.ceil(Math.min(quality, 100) / 10) : quality
|
|
6
6
|
|
|
7
7
|
// Handle VTEX IDs pattern: /ids/{number}/{filename}.{extension}?{queryParams} (Product Images)
|
|
8
|
-
const regex = /(\/ids
|
|
8
|
+
const regex = /(\/ids\/[\d-]+)\/([^/?]+)(\.[^/?]+)(\?.+)?$/
|
|
9
9
|
if (regex.test(src)) {
|
|
10
10
|
return src.replace(
|
|
11
11
|
regex,
|
|
12
12
|
(_match, idPart, filename, _extension, queryString = '') => {
|
|
13
13
|
const qs = new URLSearchParams(queryString)
|
|
14
14
|
qs.set('quality', customQuality.toString())
|
|
15
|
-
return `${idPart}-${width}-auto/${filename}.webp?${qs.toString()}`
|
|
15
|
+
return `${idPart.split('-').at(0)}-${width}-auto/${filename}.webp?${qs.toString()}`
|
|
16
16
|
}
|
|
17
17
|
)
|
|
18
18
|
}
|
|
File without changes
|