@graphql-mesh/cross-helpers
Version:
Cross Platform Helpers for GraphQL Mesh
392 lines (272 loc) • 14.6 kB
Markdown
# @graphql-mesh/cross-helpers
## 0.4.11
### Patch Changes
- [#9027](https://github.com/ardatan/graphql-mesh/pull/9027)
[`72c443c`](https://github.com/ardatan/graphql-mesh/commit/72c443c0a2246c1573c72522d5ee7b6955f515d2)
Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@^10.11.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.11.0)
(from `^10.8.0`, in `dependencies`)
## 0.4.10
### Patch Changes
- [#8362](https://github.com/ardatan/graphql-mesh/pull/8362)
[`ce5e094`](https://github.com/ardatan/graphql-mesh/commit/ce5e0941e5a9445a0844d7225cf950a813011e9a)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@^10.8.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.8.0)
(from `^10.6.0`, in `dependencies`)
## 0.4.9
### Patch Changes
- [#8092](https://github.com/ardatan/graphql-mesh/pull/8092)
[`2ef651a`](https://github.com/ardatan/graphql-mesh/commit/2ef651a8356b560478f1847399bad975a0c3f0b9)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Added dependency
[`@graphql-tools/utils@^10.6.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.6.0)
(to `dependencies`)
- Removed dependency
[`@graphql-tools/utils@^10.6.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.6.0)
(from `peerDependencies`)
## 0.4.8
### Patch Changes
- [#7978](https://github.com/ardatan/graphql-mesh/pull/7978)
[`92d3ce1`](https://github.com/ardatan/graphql-mesh/commit/92d3ce10bcfdb1bbf63165f77bdb5acd713c88ac)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@^10.6.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.6.0)
(from `^10.5.5`, in `peerDependencies`)
## 0.4.7
### Patch Changes
- [#7781](https://github.com/ardatan/graphql-mesh/pull/7781)
[`50bf472`](https://github.com/ardatan/graphql-mesh/commit/50bf4723657d27dc196d80407bda40c93aa5c9be)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@^10.5.5` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.5.5)
(from `^10.5.3`, in `peerDependencies`)
## 0.4.6
### Patch Changes
- [#7497](https://github.com/ardatan/graphql-mesh/pull/7497)
[`d784488`](https://github.com/ardatan/graphql-mesh/commit/d784488dcf04b3b0bf32f386baf8b48e1f20d27e)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@^10.5.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.5.2)
(from `^10.3.4`, in `peerDependencies`)
- [#7512](https://github.com/ardatan/graphql-mesh/pull/7512)
[`190e9ec`](https://github.com/ardatan/graphql-mesh/commit/190e9ece9bc050a0564f3b5292ab5229e63d40a6)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@^10.5.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.5.3)
(from `^10.5.2`, in `peerDependencies`)
## 0.4.5
### Patch Changes
- [#7477](https://github.com/ardatan/graphql-mesh/pull/7477)
[`c06a048`](https://github.com/ardatan/graphql-mesh/commit/c06a0482e7431683f0b75fde3aebbb97aca00c4c)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@^10.3.4` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.3.4)
(from `^10.2.3`, in `peerDependencies`)
## 0.4.4
### Patch Changes
- [#7185](https://github.com/ardatan/graphql-mesh/pull/7185)
[`0d916a4`](https://github.com/ardatan/graphql-mesh/commit/0d916a4b4603ca57a383337f42c51ef8d5f4ae3d)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@^10.2.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.2.3)
(from `^10.2.1`, in `peerDependencies`)
## 0.4.3
### Patch Changes
- [#7030](https://github.com/ardatan/graphql-mesh/pull/7030)
[`270679b`](https://github.com/ardatan/graphql-mesh/commit/270679bb81046727ffe417800cbaa9924fb1bf5c)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@^10.2.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.2.1)
(from `^10.2.0`, in `peerDependencies`)
## 0.4.2
### Patch Changes
- [`96dd11d`](https://github.com/ardatan/graphql-mesh/commit/96dd11d3c5b70a4971e56d47c8b200d4dc980f38)
Thanks [@ardatan](https://github.com/ardatan)! - Bump GraphQL Tools versions
## 0.4.1
### Patch Changes
- [`b8f16a42b`](https://github.com/Urigo/graphql-mesh/commit/b8f16a42bf599723c2e311c47e74f812c6d1b781)
Thanks [@ardatan](https://github.com/ardatan)! - Drop react-native dependency
## 0.4.0
### Minor Changes
- [#5449](https://github.com/Urigo/graphql-mesh/pull/5449)
[`ef520d91e`](https://github.com/Urigo/graphql-mesh/commit/ef520d91e6d1800ed63ef016ed74084261788371)
Thanks [@ardatan](https://github.com/ardatan)! - Drop Node 14 support and require Node 16 or
higher
### Patch Changes
- [#5446](https://github.com/Urigo/graphql-mesh/pull/5446)
[`e881ea609`](https://github.com/Urigo/graphql-mesh/commit/e881ea609a1d355356c1dc04c7a42b00b6e86e0d)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@^9.2.1 || ^10.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/9.2.1)
(from `^9.2.1`, in `peerDependencies`)
## 0.3.4
### Patch Changes
- [#5252](https://github.com/Urigo/graphql-mesh/pull/5252)
[`c90eb5ac6`](https://github.com/Urigo/graphql-mesh/commit/c90eb5ac631507de1f49db68ca681193cc5a20b5)
Thanks [@ardatan](https://github.com/ardatan)! - Make shared packages peer dependency
## 0.3.3
### Patch Changes
- [#4674](https://github.com/Urigo/graphql-mesh/pull/4674)
[`975715275`](https://github.com/Urigo/graphql-mesh/commit/9757152751e37062bca4ba114bee65a0c79a3d4d)
Thanks [@mhassan1](https://github.com/mhassan1)! - fix(deps): add missing graphql peer deps
## 0.3.2
### Patch Changes
- [#5091](https://github.com/Urigo/graphql-mesh/pull/5091)
[`89bb72165`](https://github.com/Urigo/graphql-mesh/commit/89bb7216580a05740a377962ae988a3674b6282e)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@9.2.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/9.2.1)
(from `9.1.4`, in `dependencies`)
## 0.3.1
### Patch Changes
- [#5028](https://github.com/Urigo/graphql-mesh/pull/5028)
[`994813331`](https://github.com/Urigo/graphql-mesh/commit/99481333186e8471207e21ad14c7883f7215ce1c)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@9.1.4` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/9.1.4)
(from `9.1.3`, in `dependencies`)
- [#4930](https://github.com/Urigo/graphql-mesh/pull/4930)
[`c015b02a1`](https://github.com/Urigo/graphql-mesh/commit/c015b02a1aa50e4d760c3fd59f76dc5dfe587664)
Thanks [@gilgardosh](https://github.com/gilgardosh)! - Prettier fixes
## 0.3.0
### Minor Changes
- [#4821](https://github.com/Urigo/graphql-mesh/pull/4821)
[`1a28c92c2`](https://github.com/Urigo/graphql-mesh/commit/1a28c92c2d67b89b48581b7bb1414d1404428cdb)
Thanks [@ardatan](https://github.com/ardatan)! - Update build flow to fully support both CommonJS
and ESM
### Patch Changes
- [#4901](https://github.com/Urigo/graphql-mesh/pull/4901)
[`500a4504c`](https://github.com/Urigo/graphql-mesh/commit/500a4504c734ee1eaf55daa2296789096034513f)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@9.1.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/9.1.3)
(from `9.1.1`, in `dependencies`)
## 0.2.10
### Patch Changes
- [#4790](https://github.com/Urigo/graphql-mesh/pull/4790)
[`8c7d96cff`](https://github.com/Urigo/graphql-mesh/commit/8c7d96cff868095216520bafebe989ec94a9df65)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@9.1.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/9.1.0)
(from `9.0.1`, in `dependencies`)
- [#4809](https://github.com/Urigo/graphql-mesh/pull/4809)
[`db95881b5`](https://github.com/Urigo/graphql-mesh/commit/db95881b530053064425f476ccac7d552d44af33)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@9.1.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/9.1.1)
(from `9.1.0`, in `dependencies`)
## 0.2.9
### Patch Changes
- [#4775](https://github.com/Urigo/graphql-mesh/pull/4775)
[`a764fe0d3`](https://github.com/Urigo/graphql-mesh/commit/a764fe0d36928cd830e79942f8ab57cd70d2602a)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@9.0.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/9.0.1)
(from `8.13.1`, in `dependencies`)
## 0.2.8
### Patch Changes
- [#4765](https://github.com/Urigo/graphql-mesh/pull/4765)
[`f26714af8`](https://github.com/Urigo/graphql-mesh/commit/f26714af8afff2eb5384f7294f5d8856eb5cf20a)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@8.13.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/8.13.1)
(from `8.13.0`, in `dependencies`)
## 0.2.7
### Patch Changes
- [#4745](https://github.com/Urigo/graphql-mesh/pull/4745)
[`bfedc23d9`](https://github.com/Urigo/graphql-mesh/commit/bfedc23d978089d15d9b67320fde0e6f5ac762fd)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@8.13.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/8.13.0)
(from `8.12.0`, in `dependencies`)
## 0.2.6
### Patch Changes
- [#4439](https://github.com/Urigo/graphql-mesh/pull/4439)
[`78599180d`](https://github.com/Urigo/graphql-mesh/commit/78599180d76f71e6d23114a0115e6338785a44d2)
Thanks [@gilgardosh](https://github.com/gilgardosh)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@8.12.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/8.12.0)
(from `8.10.1`, in `dependencies`)
## 0.2.5
### Patch Changes
- [#4466](https://github.com/Urigo/graphql-mesh/pull/4466)
[`6f52af1c2`](https://github.com/Urigo/graphql-mesh/commit/6f52af1c2d6bf0a9de555a4d535b459ff2d8987f)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@8.12.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/8.12.0)
(from `8.11.0`, in `dependencies`)
## 0.2.4
### Patch Changes
- [#4443](https://github.com/Urigo/graphql-mesh/pull/4443)
[`9dac0d835`](https://github.com/Urigo/graphql-mesh/commit/9dac0d8355148d86d75bceb4c4983960e8063c53)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@8.11.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/8.11.0)
(from `8.10.1`, in `dependencies`)
## 0.2.3
### Patch Changes
- [#4380](https://github.com/Urigo/graphql-mesh/pull/4380)
[`e69462cac`](https://github.com/Urigo/graphql-mesh/commit/e69462cac667c4ffb2d9ba35adeef15264d263fd)
Thanks [@gilgardosh](https://github.com/gilgardosh)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@8.10.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/8.10.1)
(from `8.10.0`, in `dependencies`)
- [#4389](https://github.com/Urigo/graphql-mesh/pull/4389)
[`12ae4469a`](https://github.com/Urigo/graphql-mesh/commit/12ae4469aa89d613bfd36a87579adc1ae62c4a1f)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@8.10.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/8.10.1)
(from `8.10.0`, in `dependencies`)
## 0.2.2
### Patch Changes
- [#4275](https://github.com/Urigo/graphql-mesh/pull/4275)
[`a2e59dfdd`](https://github.com/Urigo/graphql-mesh/commit/a2e59dfdd70b8a7bc0e9d658ff1a53029757eaa2)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@8.10.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/8.10.0)
(was `8.9.1`, in `dependencies`)
## 0.2.1
### Patch Changes
- [#4263](https://github.com/Urigo/graphql-mesh/pull/4263)
[`db10974ea`](https://github.com/Urigo/graphql-mesh/commit/db10974eaa422967b3ce0ff0101ae97bca3ebf73)
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency
[`@graphql-tools/utils@8.9.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/8.9.1)
(was `8.9.0`, in `dependencies`)
## 0.2.0
### Minor Changes
- 0401c7617: **Improvements on string interpolation ({env.sth} or {context.headers.sth}) for
different environments**
As we mention in most of our docs, we usually expect a key-value `header` object in the context.
But Fetch-like environments don't have this kind of object but instead `Headers` object which is a
kind `Map`. Now Mesh can detect this and automatically convert it to the key-value object
especially for Yoga users.
Also Mesh now handles `env` in a better way for non-Node environments;
Consider `import.meta.env` as `env` if available, else take `globalThis` as `env`.
## 0.1.7
### Patch Changes
- 12e1e5d72: Do not use index.js because esbuild doesn't pick the correct one in that case
## 0.1.6
### Patch Changes
- 3c0366d2c: - Support import.meta.env instead of process.env for browsers
- Ponyfill `util.inspect` only if it is not Node env
## 0.1.5
### Patch Changes
- 974e703e2: Cleanup dependencies
## 0.1.4
### Patch Changes
- 55ad5ea44: Fix browser support
## 0.1.3
### Patch Changes
- 66b9b3ddc: Fixes for JSON handling and react native
## 0.1.2
### Patch Changes
- 7856f92d3: Bump all packages
## 0.1.1
### Patch Changes
- cf0836a64: fix: browser errors
## 0.1.0
### Minor Changes
- b2c537c2a: feat - cross-platform support