
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
@avro/services
Advanced tools
Avro-powered RPC services.
const {Client, Server, Service, Trace} = require('@avro/services');
const stringService = new Service({
protocol: 'StringService',
messages: {
upperCase: {
request: [{name: 'message', type: 'string'}],
response: 'string',
},
},
});
const stringServer = new Server(stringService)
.onMessage().upperCase((str, cb) => { cb(null, str.toUpperCase()); });
const stringClient = stringService.client(); // In-process client.
stringClient.emitMessage(new Trace()).upperCase('hello!', (err, str) => {
if (err) {
throw err;
}
console.log(str); // HELLO!
});
const {NettyGateway, RoutingChannel, Server, Service} = require('@avro/services');
const net = require('net');
const echoService = new Service({
protocol: 'Echo',
messages: {
echo: {
request: [{name: 'message', type: 'string'}],
response: 'string',
},
},
});
const upperService = new Service({
protocol: 'Upper',
messages: {
upper: {
request: [{name: 'message', type: 'string'}],
response: 'string',
},
},
});
const echoServer = new Server(echoService)
.onMessage().echo((str, cb) => { cb(null, str); });
const upperServer = new Server(upperService)
.onMessage().upper((str, cb) => { cb(null, str.toUpperCase()); });
const channel = RoutingChannel.forServers([echoServer, upperServer]);
const gateway = new NettyGateway(channel);
net.createServer()
.on('connection', (conn) => {
gateway.accept(conn.on('error', (err) => { console.error(err); }));
})
.listen(8080, () => { console.log('Listening...'); });
FAQs
Avro RPC services
The npm package @avro/services receives a total of 0 weekly downloads. As such, @avro/services popularity was classified as not popular.
We found that @avro/services 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.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.