Socket
Socket
Sign inDemoInstall

rsdi

Package Overview
Dependencies
0
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

2

package.json
{
"name": "rsdi",
"version": "2.1.0",
"version": "2.1.1",
"description": "Simple dependency injection container for JavaScript/TypeScript",

@@ -5,0 +5,0 @@ "scripts": {

@@ -47,6 +47,4 @@ # RSDI - Dependency Injection Container

knex: knex(), // keeps raw value
Logger: func(loggerFactory), // lazy function, will be resolved when it will be needed
UsersRepo: factory((container: IDIContainer) => {
return UsersRepoFactory(container.get("knex"));
}),
Logger: factory(loggerFactory), // lazy function, will be resolved when it will be needed
UsersRepo: func(UsersRepoFactory, use("knex")),
});

@@ -53,0 +51,0 @@ return container;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc