
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@rxstack/service-registry
Advanced tools
Simple registry component useful for all types of applications.
npm install @rxstack/service-registry --save
A registry object acts as a collection of objects. It allows you to store objects which implement a specific interface.
Each service should implement NamedServiceInterface:
import {NamedServiceInterface} from '@rxstack/registry';
export class MyService implements NamedServiceInterface {
getName(): string {
return 'service-1';
}
}
Here we go:
import {ServiceRegistry} from '@rxstack/registry';
const registry = new ServiceRegistry<MyServiceInterface>();
registry.register(new MyService1());
registry.register(new MyService2());
registry.has('service-1'); // should return true
registry.get('service-1'); // should get service instance
registry.all(); // should retun an array of all registered service
registry.reset(); // clears all services from registry
Removing a service from the registry is as easy as adding:
// ...
registry.unregister('service-1');
registry.has('service-1'); //should return false
ExistingServiceException is thrown when you try to register a service that is already in the registry.
NonExistingServiceException is thrown when you try to unregister or get a service which is not in the registry.
Licensed under the MIT license.
FAQs
RxStack ServiceRegistry Component
We found that @rxstack/service-registry 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
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.