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.
@bfwk/data-service
Advanced tools
In order to communicate with external data sources, the framework will provide a single interface to interact with any external data source called a data service.
The responsibility of each data service implementation is to act as the interface for interacting with data coming from a specific data source.
Additional documentation can be found here
export interface DataServiceConfig {
[key: string]: any;
}
export interface Payload {
[key: string]: any;
}
export type ResourceKind = string;
export type ResourceId = string;
export interface URI {
resource: ResourceKind;
id: ResourceId;
}
export interface DataService<T = any> {
get(target: URI, config: DataServiceConfig): Promise<T>;
post(target: URI, payload: Payload, config: DataServiceConfig): Promise<any>;
put(target: URI, payload: Payload, config: DataServiceConfig): Promise<any>;
delete(target: URI, config: DataServiceConfig): Promise<any>;
}
Currently these are the data service implementations we provide and will maintain. More data services to come.
FAQs
LBF Data Services
The npm package @bfwk/data-service receives a total of 109 weekly downloads. As such, @bfwk/data-service popularity was classified as not popular.
We found that @bfwk/data-service demonstrated a not healthy version release cadence and project activity because the last version was released 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 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.