Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@apollo/client-react-streaming

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/client-react-streaming - npm Package Compare versions

Comparing version 0.11.3 to 0.11.4

2

dist/combined.d.ts

@@ -402,3 +402,3 @@ import * as _apollo_client_index_js from '@apollo/client/index.js';

};
interface WrappedApolloClientOptions extends Omit<ApolloClientOptions<NormalizedCacheObject>, "cache"> {
interface WrappedApolloClientOptions extends Omit<ApolloClientOptions<NormalizedCacheObject>, "cache" | "ssrMode" | "ssrForceFetchDelay"> {
cache: InMemoryCache;

@@ -405,0 +405,0 @@ }

@@ -265,3 +265,3 @@ import * as _apollo_client_index_js from '@apollo/client/index.js';

};
interface WrappedApolloClientOptions extends Omit<ApolloClientOptions<NormalizedCacheObject>, "cache"> {
interface WrappedApolloClientOptions extends Omit<ApolloClientOptions<NormalizedCacheObject>, "cache" | "ssrMode" | "ssrForceFetchDelay"> {
cache: InMemoryCache;

@@ -268,0 +268,0 @@ }

@@ -307,2 +307,15 @@ import { ApolloLink, InMemoryCache as InMemoryCache$1, ApolloProvider, Observable as Observable$1, gql, ApolloClient as ApolloClient$1, useApolloClient } from '@apollo/client/index.js';

constructor(options) {
const warnings = [];
if ("ssrMode" in options) {
delete options.ssrMode;
warnings.push(
"The `ssrMode` option is not supported in %s. Please remove it from your %s constructor options."
);
}
if ("ssrForceFetchDelay" in options) {
delete options.ssrForceFetchDelay;
warnings.push(
"The `ssrForceFetchDelay` option is not supported in %s. Please remove it from your %s constructor options."
);
}
super(

@@ -313,2 +326,5 @@ options

this[sourceSymbol] = `${info.pkg}:ApolloClient`;
for (const warning of warnings) {
console.warn(warning, info.pkg, "ApolloClient");
}
assertInstance(

@@ -315,0 +331,0 @@ this.cache,

@@ -352,3 +352,3 @@ import * as _apollo_client_index_js from '@apollo/client/index.js';

};
interface WrappedApolloClientOptions extends Omit<ApolloClientOptions<NormalizedCacheObject>, "cache"> {
interface WrappedApolloClientOptions extends Omit<ApolloClientOptions<NormalizedCacheObject>, "cache" | "ssrMode" | "ssrForceFetchDelay"> {
cache: InMemoryCache;

@@ -355,0 +355,0 @@ }

@@ -1455,2 +1455,15 @@ import React, { cache } from 'react';

constructor(options) {
const warnings = [];
if ("ssrMode" in options) {
delete options.ssrMode;
warnings.push(
"The `ssrMode` option is not supported in %s. Please remove it from your %s constructor options."
);
}
if ("ssrForceFetchDelay" in options) {
delete options.ssrForceFetchDelay;
warnings.push(
"The `ssrForceFetchDelay` option is not supported in %s. Please remove it from your %s constructor options."
);
}
super(

@@ -1464,2 +1477,5 @@ {

this[sourceSymbol] = `${info.pkg}:ApolloClient`;
for (const warning of warnings) {
console.warn(warning, info.pkg, "ApolloClient");
}
assertInstance(

@@ -1466,0 +1482,0 @@ this.cache,

@@ -265,3 +265,3 @@ import * as _apollo_client_index_js from '@apollo/client/index.js';

};
interface WrappedApolloClientOptions extends Omit<ApolloClientOptions<NormalizedCacheObject>, "cache"> {
interface WrappedApolloClientOptions extends Omit<ApolloClientOptions<NormalizedCacheObject>, "cache" | "ssrMode" | "ssrForceFetchDelay"> {
cache: InMemoryCache;

@@ -268,0 +268,0 @@ }

@@ -1495,2 +1495,15 @@ import { ApolloLink, InMemoryCache as InMemoryCache$1, ApolloProvider, Observable as Observable$1, gql, ApolloClient as ApolloClient$1, useApolloClient } from '@apollo/client/index.js';

constructor(options) {
const warnings = [];
if ("ssrMode" in options) {
delete options.ssrMode;
warnings.push(
"The `ssrMode` option is not supported in %s. Please remove it from your %s constructor options."
);
}
if ("ssrForceFetchDelay" in options) {
delete options.ssrForceFetchDelay;
warnings.push(
"The `ssrForceFetchDelay` option is not supported in %s. Please remove it from your %s constructor options."
);
}
super(

@@ -1504,2 +1517,5 @@ {

this[sourceSymbol] = `${info.pkg}:ApolloClient`;
for (const warning of warnings) {
console.warn(warning, info.pkg, "ApolloClient");
}
assertInstance(

@@ -1506,0 +1522,0 @@ this.cache,

@@ -11,2 +11,5 @@ import React2, { useRef, useEffect, useCallback, useId, useMemo } from 'react';

);
var ApolloHookRehydrationCache = /* @__PURE__ */ Symbol.for(
"apollo.hookRehydrationCache"
);

@@ -55,3 +58,5 @@ // src/ManualDataTransport/lateInitializingQueue.ts

}) {
const hookRehydrationCache = useRef({});
const hookRehydrationCache = useRef(
window[ApolloHookRehydrationCache] ??= {}
);
registerDataTransport({

@@ -105,2 +110,3 @@ onQueryEvent,

resetApolloSingletons();
delete window[ApolloHookRehydrationCache];
delete window[ApolloSSRDataTransport];

@@ -107,0 +113,0 @@ }

@@ -11,2 +11,5 @@ import React, { useRef, useMemo, useId } from 'react';

);
var ApolloHookRehydrationCache = /* @__PURE__ */ Symbol.for(
"apollo.hookRehydrationCache"
);

@@ -167,2 +170,3 @@ // src/ManualDataTransport/htmlescape.ts

resetApolloSingletons();
delete window[ApolloHookRehydrationCache];
delete window[ApolloSSRDataTransport];

@@ -169,0 +173,0 @@ }

{
"name": "@apollo/client-react-streaming",
"version": "0.11.3",
"version": "0.11.4",
"repository": {

@@ -5,0 +5,0 @@ "url": "git+https://github.com/apollographql/apollo-client-nextjs"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc