Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@graffy/client
Advanced tools
Graffy client library for the browser, usin the `fetch()` or `WebSocket` APIs. This module is intended to be used with a Node.js server running Graffy Server.
Graffy client library for the browser, usin the fetch()
or WebSocket
APIs. This module is intended to be used with a Node.js server running Graffy Server.
import Graffy from '@graffy/core';
import client from '@graffy/client';
const store = new Graffy();
store.use(client(url, options));
// Add downstream providers to the store
An HTTP connection is used if the URL begins with http(s)://
, and a Websocket is used if it begins with ws(s)://
.
getOptions(operation, payload, options)
, a callback to get the options that should be passed to the server with each operation.connInfoPath
, a location in the store to put connection metadata. Defaults to connection
.If using a WebSocket connection, Graffy client creates a connection: { status: boolean }
node in the store. The location of this node can be controlled by the connInfoPath
option. Reading from or watching this node provides information about the current connection status. The application may explicitly tear-down or re-establish connections by writing false
or true
to it, respectively.
See Graffy documentation for more.
FAQs
Graffy client library for the browser, usin the `fetch()` or `WebSocket` APIs. This module is intended to be used with a Node.js server running Graffy Server.
The npm package @graffy/client receives a total of 450 weekly downloads. As such, @graffy/client popularity was classified as not popular.
We found that @graffy/client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.