Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cheap-di

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cheap-di - npm Package Compare versions

Comparing version 0.0.6 to 0.1.0

2

package.json
{
"name": "cheap-di",
"version": "0.0.6",
"version": "0.1.0",
"description": "JavaScript dependency injection like Autofac in .Net",

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

@@ -71,3 +71,3 @@ # cheap-di

export class ConsoleLogger {
export class ConsoleLogger extends Logger {
constructor(prefix) {

@@ -84,3 +84,3 @@ this.prefix = prefix;

You have the repository consumer.
To allow DI container to inject dependencies in your consumer class you should specify `__constructorParams` static property.
To allow DI container inject dependencies in your consumer class you should specify `__constructorParams` static property.
That property should contain instance types array in the order of your constructor.

@@ -87,0 +87,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc