Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
apollo-link-dedup
Advanced tools
NOTE This link is included by default when using apollo-client so you don't need to add it to your link chain if using apollo-client.
npm install apollo-link-dedup --save
import { DedupLink } from "apollo-link-dedup";
const link = new DedupLink();
The Dedup Link does not take any options when creating the link.
The Dedup Link can be overridden by using the context on a per operation basis:
forceFetch
: a true or false (defaults to false) to bypass deduplication per requestimport { createHttpLink } from "apollo-link-http";
import ApolloClient from "apollo-client";
import InMemoryCache from "apollo-cache-inmemory";
const client = new ApolloClient({
link: createHttpLink({ uri: "/graphql" }),
cache: new InMemoryCache()
});
// a query with apollo-client that will not be deduped
client.query({
query: MY_QUERY,
context: {
forceFetch: true
}
})
FAQs
Deduplicates queries that are currently on the wire
The npm package apollo-link-dedup receives a total of 44,682 weekly downloads. As such, apollo-link-dedup popularity was classified as popular.
We found that apollo-link-dedup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.