
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.
@gorgonjs/clearlink
Advanced tools
This library implements a link between multiple servers using @gorgonjs/gorgon, please refer to the documentation on https://gorgonjs.dev for full documentation.
Once linked clear commands from one server will be sent to all other servers. Cache invalidation across multiple servers allows you to load balance your application across multiple servers without having to worry about complicated cache invalidation.
WARNING: items are only cleared when manually cleared, auto cleared items (reaching their timeout) or manually replaced items are not cleared.
Check out a simple example here: https://github.com/mikevalstar/gorgon/tree/main/examples/clearlink
npm install @gorgonjs/file-clearlink @gorgonjs/gorgon
yarn add @gorgonjs/file-clearlink @gorgonjs/gorgon
pnpm add @gorgonjs/file-clearlink @gorgonjs/gorgon
import Gorgon from '@gorgonjs/gorgon';
import { client } from '@gorgonjs/clearlink';
client.connect('ws://127.0.0.1:8686');
client.apply(Gorgon, true); // debug logging on
setInterval(() => {
Gorgon.clear('clearthis');
}, 8000);
In this example clearthis will be cleared on all servers every 8 seconds.
The server is designed to run standalone and to simply relay the messages to the clients. It is best if created simply and setup to auto restart.
import { server } from '@gorgonjs/clearlink';
server.init({ port: 8686 });
This plugin does not currently queue up requests when the server is offline. It will simply fail to send the request. This is a planned feature, along with supporting multiple servers for additional redundancy.
Items are only cleared when manually cleared, auto cleared items (reaching their timeout) or manually replaced items (put) are not cleared. put clearing is a planned optional feature.
FAQs
A simple system cache clearing for Gorgon JS
The npm package @gorgonjs/clearlink receives a total of 50 weekly downloads. As such, @gorgonjs/clearlink popularity was classified as not popular.
We found that @gorgonjs/clearlink 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.