@apollo/client 3.9.1 → 3.9.2
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 +6 -0
- package/apollo-client.cjs +2 -4
- package/apollo-client.cjs.map +1 -1
- package/apollo-client.min.cjs +1 -1
- package/core/core.cjs +1 -1
- package/core/core.cjs.map +1 -1
- package/core/core.cjs.native.js +1 -1
- package/dev/dev.cjs +1 -1
- package/dev/dev.cjs.map +1 -1
- package/dev/dev.cjs.native.js +1 -1
- package/package.json +1 -1
- package/react/hooks/hooks.cjs +1 -3
- package/react/hooks/hooks.cjs.map +1 -1
- package/react/hooks/hooks.cjs.native.js +1 -3
- package/react/hooks/internal/useLazyRef.d.ts +2 -1
- package/react/hooks/internal/useLazyRef.js +1 -1
- package/react/hooks/internal/useLazyRef.js.map +1 -1
- package/utilities/globals/globals.cjs +1 -1
- package/utilities/globals/globals.cjs.map +1 -1
- package/utilities/globals/globals.cjs.native.js +1 -1
- package/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @apollo/client
|
|
2
2
|
|
|
3
|
+
## 3.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#11552](https://github.com/apollographql/apollo-client/pull/11552) [`6ac2b0c`](https://github.com/apollographql/apollo-client/commit/6ac2b0ce4d999c63478d85b40ad56ccda9624797) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fix import in `useLazyRef` causing import issues in the nextjs package.
|
|
8
|
+
|
|
3
9
|
## 3.9.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/apollo-client.cjs
CHANGED
|
@@ -13,7 +13,6 @@ var optimism = require('optimism');
|
|
|
13
13
|
var trie = require('@wry/trie');
|
|
14
14
|
var graphqlTag = require('graphql-tag');
|
|
15
15
|
var React = require('rehackt');
|
|
16
|
-
var React$1 = require('react');
|
|
17
16
|
|
|
18
17
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e["default"] : e; }
|
|
19
18
|
|
|
@@ -31,9 +30,8 @@ function _interopNamespace(e) {
|
|
|
31
30
|
|
|
32
31
|
var equal__default = /*#__PURE__*/_interopDefaultLegacy(equal);
|
|
33
32
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
34
|
-
var React__namespace$1 = /*#__PURE__*/_interopNamespace(React$1);
|
|
35
33
|
|
|
36
|
-
var version = "3.9.
|
|
34
|
+
var version = "3.9.2";
|
|
37
35
|
|
|
38
36
|
function maybe(thunk) {
|
|
39
37
|
try {
|
|
@@ -7995,7 +7993,7 @@ function useRenderGuard() {
|
|
|
7995
7993
|
|
|
7996
7994
|
var INIT = {};
|
|
7997
7995
|
function useLazyRef(getInitialValue) {
|
|
7998
|
-
var ref = React__namespace
|
|
7996
|
+
var ref = React__namespace.useRef(INIT);
|
|
7999
7997
|
if (ref.current === INIT) {
|
|
8000
7998
|
ref.current = getInitialValue();
|
|
8001
7999
|
}
|