
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@exogee/graphweaver-apollo-client
Advanced tools
Useful helpers for working with Apollo Client and Graphweaver
@exogee/graphweaver-apollo-client
Useful helpers for working with Apollo Client and Graphweaver.
The package currently only exposes a single function (addTypePolicies
) that will generate a working Apollo Client Type Policy for the Graphweaver entities.
To use it:
import { generateTypePolicies } from '@exogee/graphweaver-apollo-client';
import { InMemoryCache } from '@apollo/client';
const cache = new InMemoryCache();
const entityNames = ['Users', 'Tasks'];
const typePolicies = generateTypePolicies(entityNames);
cache.policies.addTypePolicies(typePolicies);
This policy does two things when looping through all the entities in the schema it:
Comprehensive documentation and usage examples can be found on our Docs Site. It covers installation instructions, detailed API documentation, and guides to help you get started with Graphweaver.
graphweaver
The Graphweaver Command Line Interface (CLI) tool enables you to set up and manage Graphweaver using commands in your command-line shell. Check the graphweaver
npm package here.
FAQs
Useful helpers for working with Apollo Client and Graphweaver
We found that @exogee/graphweaver-apollo-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.