@graphcommerce/graphql-mesh 8.0.6 → 8.0.8
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/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.8
|
|
4
|
+
|
|
5
|
+
## 8.0.7
|
|
6
|
+
|
|
3
7
|
## 8.0.6
|
|
4
8
|
|
|
5
9
|
### Patch Changes
|
|
6
10
|
|
|
7
|
-
- [#2248](https://github.com/graphcommerce-org/graphcommerce/pull/2248) [`0289bfb`](https://github.com/graphcommerce-org/graphcommerce/commit/0289bfb5ed611c55212d530cb0bf6a27995e74bd) - Suppress warning where a dependency is an expression, Added uglify-es and long as the dependencies couldn’t be found
|
|
8
|
-
([@paales](https://github.com/paales))
|
|
11
|
+
- [#2248](https://github.com/graphcommerce-org/graphcommerce/pull/2248) [`0289bfb`](https://github.com/graphcommerce-org/graphcommerce/commit/0289bfb5ed611c55212d530cb0bf6a27995e74bd) - Suppress warning where a dependency is an expression, Added uglify-es and long as the dependencies couldn’t be found ([@paales](https://github.com/paales))
|
|
9
12
|
|
|
10
13
|
## 8.0.5
|
|
11
14
|
|
|
@@ -79,8 +82,7 @@
|
|
|
79
82
|
|
|
80
83
|
### Patch Changes
|
|
81
84
|
|
|
82
|
-
- [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`bf5ae89`](https://github.com/graphcommerce-org/graphcommerce/commit/bf5ae8979b145e7a96303f839ef2b1238712531a) - Remove requirement of toplevelAwait for graphqlSsrClient and solve logging issue in cli
|
|
83
|
-
([@paales](https://github.com/paales))
|
|
85
|
+
- [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`bf5ae89`](https://github.com/graphcommerce-org/graphcommerce/commit/bf5ae8979b145e7a96303f839ef2b1238712531a) - Remove requirement of toplevelAwait for graphqlSsrClient and solve logging issue in cli ([@paales](https://github.com/paales))
|
|
84
86
|
|
|
85
87
|
## 8.0.0-canary.100
|
|
86
88
|
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
3
|
-
const fetchRetry = require('fetch-retry')
|
|
1
|
+
import fetchRetry from 'fetch-retry'
|
|
4
2
|
|
|
5
|
-
/** @type {fetchRetry.default} */
|
|
6
3
|
const fetcher = fetchRetry(
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, no-underscore-dangle, @typescript-eslint/no-var-requires
|
|
7
5
|
process.env.__NEXT_PROCESSED_ENV ? fetch : require('@whatwg-node/fetch').fetch,
|
|
8
6
|
)
|
|
9
7
|
|
|
@@ -12,8 +10,10 @@ const fetcher = fetchRetry(
|
|
|
12
10
|
* @param {import('fetch-retry').RequestInitWithRetry | undefined} options
|
|
13
11
|
* @returns {Promise<Response>}
|
|
14
12
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
export default (
|
|
14
|
+
url: RequestInfo | URL,
|
|
15
|
+
options: import('fetch-retry').RequestInitWithRetry | undefined,
|
|
16
|
+
): Promise<Response> => {
|
|
17
17
|
const headers = Object.fromEntries(
|
|
18
18
|
Object.entries(options?.headers ?? {}).filter(([_, value]) => value !== ''),
|
|
19
19
|
)
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/graphql-mesh",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "8.0.
|
|
5
|
+
"version": "8.0.8",
|
|
6
6
|
"main": "index.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@graphql-mesh/apollo-link": "latest",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@apollo/client": "^3",
|
|
29
|
-
"@graphcommerce/eslint-config-pwa": "^8.0.
|
|
30
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.
|
|
31
|
-
"@graphcommerce/typescript-config-pwa": "^8.0.
|
|
29
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.8",
|
|
30
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.8",
|
|
31
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.8",
|
|
32
32
|
"graphql": "^16.7.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|