
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
THIS IS A FORKED PACKAGE FROM simonwep THANKS TO HIM.
This is a demo of how pickr could be implemented / integrated in other scenarios.
const gpickr = new GPickr({
el: '.gradient-pickr',
// Pre-defined stops. These are the default since at least two should be defined
stops: [
['rgb(255,132,109)', 0],
['rgb(255,136,230)', 1]
]
})
:String, loc:Number) - Add a color-stop.:String|Number|Stop) - Remove a color stop by color, location or stop-instance.location between 0 and 1 as well as an rgba color value. The toString function is overridden and
returns the array ready-to-use as comma seperated list, useful if a custom direcation / angle want to be used.-1 if currently in radial-mode:Number) - Applies a new angle to the current linear gradient.null if currently in linear-mode:String) - Sets a new position for the current radial-gradient.:String, cb:Function) - Appends an event listener to the given corresponding event-name (see section Events), returns the gpickr instance so it can be chained.:String, cb:Function) - Removes an event listener from the given corresponding event-name (see section Events), returns the gpickr instance so it can be chained.| Event | Description |
|---|---|
init | Initialization done - gpickr can be used |
change | User changed the gradient |
Example:
gpickr.on('init', instance => {
console.log('init', instance);
}).on('change', instance => {
console.log('change', instance.getGradient());
});
FAQs
> THIS IS A FORKED PACKAGE FROM simonwep THANKS TO HIM.
We found that gpickr 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.