@faststore/core 4.1.2-dev.4 → 4.1.2-dev.6

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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @faststore/core@4.1.2-dev.3 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.1.2-dev.5 generate /home/runner/work/faststore/faststore/packages/core
3
3
  > pnpm run gen-types && pnpm run cache-graphql
4
4
 
5
5
 
6
- > @faststore/core@4.1.2-dev.3 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.1.2-dev.5 gen-types /home/runner/work/faststore/faststore/packages/core
7
7
  > node ../cli/bin/run generate-types .
8
8
 
9
9
  [STARTED] Parse Configuration
@@ -19,7 +19,7 @@
19
19
  [COMPLETED] Generate to /home/runner/work/faststore/faststore/packages/core/@generated/
20
20
  [COMPLETED] Generate outputs
21
21
 
22
- > @faststore/core@4.1.2-dev.3 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.1.2-dev.5 cache-graphql /home/runner/work/faststore/faststore/packages/core
23
23
  > node ../cli/bin/run cache-graphql --config=./discovery.config.default.js --queries=./@generated/persisted-documents.json
24
24
 
25
25
  [Info] - Config file location: /home/runner/work/faststore/faststore/packages/core/discovery.config.default.js
@@ -1,14 +1,14 @@
1
1
 
2
- > @faststore/core@4.1.2-dev.3 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.1.2-dev.5 test /home/runner/work/faststore/faststore/packages/core
3
3
  > vitest run
4
4
 
5
5
 
6
6
   RUN  v4.0.7 /home/runner/work/faststore/faststore/packages/core
7
7
 
8
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 82ms
9
- ✓  node  test/utils/match-url.test.ts (10 tests) 19ms
10
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 27ms
11
- ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 12ms
8
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 126ms
9
+ ✓  node  test/utils/match-url.test.ts (10 tests) 21ms
10
+ ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 21ms
11
+ ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 43ms
12
12
  stderr | test/sdk/localization/store-url.browser.test.ts
13
13
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
14
14
  at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:119:27)
@@ -24,26 +24,27 @@
24
24
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:353:23)
25
25
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
26
26
 
27
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 15ms
28
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 21ms
29
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 47ms
30
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 119ms
31
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 13ms
32
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 69ms
33
- ✓  node  test/server/cms/global.test.ts (3 tests) 24ms
34
- ✓  node  test/server/content/service.test.ts (5 tests) 11ms
35
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 25ms
36
- ✓  node  test/sdk/localization/store-url.test.ts (1 test) 13ms
37
- ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 29ms
38
- ✓  node  test/pages/api/preview.test.ts (2 tests) 43ms
39
- ✓  node  test/server/cms/index.test.ts (2 tests) 16ms
40
- ✓  node  test/utils/isLocalHost.test.ts (7 tests) 10ms
41
- ✓  node  test/server/index.test.ts (7 tests) 1470ms
42
- ✓ should return a valid merged GraphQL schema  632ms
43
- ✓ should exist with its plugins  595ms
27
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 56ms
28
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 27ms
29
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 38ms
30
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 12ms
31
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 196ms
32
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 98ms
33
+ ✓  node  test/server/cms/global.test.ts (3 tests) 28ms
34
+ ✓  node  test/server/content/service.test.ts (5 tests) 47ms
35
+ ✓  node  test/sdk/localization/store-url.test.ts (1 test) 11ms
36
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 27ms
37
+ ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 13ms
38
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 31ms
39
+ ✓  node  test/utils/isLocalHost.test.ts (7 tests) 20ms
40
+ ✓  node  test/server/cms/index.test.ts (2 tests) 29ms
41
+ ✓  node  test/server/index.test.ts (7 tests) 1897ms
42
+ ✓ should return a valid merged GraphQL schema  506ms
43
+ ✓ should exist with its plugins  580ms
44
+ ✓ should handle options and execute  769ms
44
45
 
45
46
   Test Files  19 passed (19)
46
47
   Tests  213 passed (213)
47
-  Start at  17:10:41
48
-  Duration  14.85s (transform 6.47s, setup 0ms, collect 17.26s, tests 2.06s, environment 11.74s, prepare 752ms)
48
+  Start at  23:36:21
49
+  Duration  15.66s (transform 6.10s, setup 0ms, collect 17.18s, tests 2.74s, environment 11.46s, prepare 851ms)
49
50
 
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
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
+ ## [4.1.2-dev.6](https://github.com/vtex/faststore/compare/v4.1.2-dev.5...v4.1.2-dev.6) (2026-05-27)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
10
+ ## [4.1.2-dev.5](https://github.com/vtex/faststore/compare/v4.1.2-dev.4...v4.1.2-dev.5) (2026-05-21)
11
+
12
+ ### Bug Fixes
13
+
14
+ - url resolution in windows ([#3337](https://github.com/vtex/faststore/issues/3337)) ([2476091](https://github.com/vtex/faststore/commit/24760916bdcfc73c7d4ef7f92829976d4f1f97d6))
15
+
6
16
  ## [4.1.2-dev.4](https://github.com/vtex/faststore/compare/v4.1.2-dev.3...v4.1.2-dev.4) (2026-05-20)
7
17
 
8
18
  **Note:** Version bump only for package @faststore/core
package/next.config.js CHANGED
@@ -1,4 +1,4 @@
1
- const path = require('path')
1
+ const path = require('node:path')
2
2
  const storeConfig = require('./discovery.config')
3
3
  const { buildI18nDomains } = require('./scripts/i18n')
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.1.2-dev.4",
3
+ "version": "4.1.2-dev.6",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -70,11 +70,11 @@
70
70
  "style-loader": "^3.3.1",
71
71
  "swr": "^2.2.5",
72
72
  "use-sync-external-store": "^1.6.0",
73
- "@faststore/api": "4.1.2-dev.4",
74
- "@faststore/diagnostics": "4.1.2-dev.4",
75
- "@faststore/lighthouse": "4.1.2-dev.4",
76
- "@faststore/sdk": "4.1.2-dev.4",
77
- "@faststore/ui": "4.1.2-dev.4"
73
+ "@faststore/diagnostics": "4.1.2-dev.6",
74
+ "@faststore/lighthouse": "4.1.2-dev.6",
75
+ "@faststore/api": "4.1.2-dev.6",
76
+ "@faststore/sdk": "4.1.2-dev.6",
77
+ "@faststore/ui": "4.1.2-dev.6"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@cypress/code-coverage": "^3.12.1",
@@ -22,7 +22,7 @@ import { makeExecutableSchema } from '@graphql-tools/schema'
22
22
  import type { TypeSource } from '@graphql-tools/utils'
23
23
  import * as GraphQLJS from 'graphql'
24
24
  import { GraphQLError } from 'graphql'
25
- import path from 'path'
25
+ import path from 'node:path'
26
26
 
27
27
  import thirdPartyResolvers from '../customizations/src/graphql/thirdParty/resolvers'
28
28
  import vtexExtensionsResolvers from '../customizations/src/graphql/vtex/resolvers'
@@ -1,5 +1,5 @@
1
1
  import storeConfig from 'discovery.config'
2
- import type { ParsedUrlQuery } from 'querystring'
2
+ import type { ParsedUrlQuery } from 'node:querystring'
3
3
 
4
4
  /**
5
5
  * Check if the Faststore My Account feature flag is enabled.