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.
cimpress-fulfillment-location
Advanced tools
A simple client for the Cimpress Fulfillment Location service
In order to use the client, install the package by running:
npm install cimpress-fulfillment-location --save
Once the package is available, you can retrieve a specific fulfillment location as such:
const fulfillmentLocationId = 'abcd1234';
let client = new FulfillmentLocationClient({
log: defaultLogger,
cacheConfig: { stdTTL: 4 * 60 * 60, checkperiod: 5 * 60 },
timeout: 2000
});
client.getLocation(fulfillmentLocationId, req.headers.authorization)
.then(fulfillmentLocation => {
// do stuff
});
Otherwise, you can retrieve a list of all the fulfillment locations you have access to like this:
let client = new FulfillmentLocationClient({
log: defaultLogger
});
client.getLocations(req.headers.authorization)
.then(fulfillmentLocations => {
// do stuff
});
// To include also archived fulfillment locations
client.getLocations(req.headers.authorization, true)
.then(fulfillmentLocations => {
// do stuff
});
FAQs
A simple client for the Cimpress Fulfillment Location service
The npm package cimpress-fulfillment-location receives a total of 301 weekly downloads. As such, cimpress-fulfillment-location popularity was classified as not popular.
We found that cimpress-fulfillment-location demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.