@apollo/client 3.11.7 → 3.11.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,5 +1,11 @@
1
1
  # @apollo/client
2
2
 
3
+ ## 3.11.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#12054](https://github.com/apollographql/apollo-client/pull/12054) [`35cf186`](https://github.com/apollographql/apollo-client/commit/35cf186ed9237e41735f150e0cbf4edd995ab0d9) Thanks [@phryneas](https://github.com/phryneas)! - Fixed a bug where incorrect object access in some Safari extensions could cause a crash.
8
+
3
9
  ## 3.11.7
4
10
 
5
11
  ### Patch Changes
package/apollo-client.cjs CHANGED
@@ -31,7 +31,7 @@ function _interopNamespace(e) {
31
31
  var equal__default = /*#__PURE__*/_interopDefaultLegacy(equal);
32
32
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
33
33
 
34
- var version = "3.11.7";
34
+ var version = "3.11.8";
35
35
 
36
36
  function maybe(thunk) {
37
37
  try {
@@ -2170,20 +2170,20 @@ function selectHttpOptionsAndBodyInternal(operation, printer) {
2170
2170
  }
2171
2171
  function removeDuplicateHeaders(headers, preserveHeaderCase) {
2172
2172
  if (!preserveHeaderCase) {
2173
- var normalizedHeaders_1 = Object.create(null);
2173
+ var normalizedHeaders_1 = {};
2174
2174
  Object.keys(Object(headers)).forEach(function (name) {
2175
2175
  normalizedHeaders_1[name.toLowerCase()] = headers[name];
2176
2176
  });
2177
2177
  return normalizedHeaders_1;
2178
2178
  }
2179
- var headerData = Object.create(null);
2179
+ var headerData = {};
2180
2180
  Object.keys(Object(headers)).forEach(function (name) {
2181
2181
  headerData[name.toLowerCase()] = {
2182
2182
  originalName: name,
2183
2183
  value: headers[name],
2184
2184
  };
2185
2185
  });
2186
- var normalizedHeaders = Object.create(null);
2186
+ var normalizedHeaders = {};
2187
2187
  Object.keys(headerData).forEach(function (name) {
2188
2188
  normalizedHeaders[headerData[name].originalName] = headerData[name].value;
2189
2189
  });