Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
apollo-link-combine-includes
Advanced tools
Apollo Link that performs merging of same-operation requests
This project is a crazy experiment, did work with a quite complicated scenario, but is honestly not yet stressed enough to consider it not error prone, or even stable.
An Apollo Link that combines multiple same-query requests using different include/skip directives into a single query.
npm install apollo-link-combine-includes --save
import { CombineIncludesLink } from 'apollo-link-combine-includes'
const link = new CombineIncludesLink()
Batch Link takes an object with three options on it to customize the behavior of the link. The only required option is the batchHandler function
name | value | default | required |
---|---|---|---|
batchInterval | number | 10 | false |
batchMax | number | 0 | false |
canCombine | (operation: Operation, defaultCanCombine: function) => Boolean | Operation has a name and include directives | false |
The CombineIncludesLink does not use the context for anything
FAQs
Apollo Link that performs merging of same-operation requests
The npm package apollo-link-combine-includes receives a total of 0 weekly downloads. As such, apollo-link-combine-includes popularity was classified as not popular.
We found that apollo-link-combine-includes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.