🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

container-ioc

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

container-ioc - npm Package Versions

12346

1.5.1

Diff
thohoh
published 1.5.1 •
thohoh
published 1.5.0 •

Changelog

Source

1.5.0 (2017-10-02)

Features

  • Plugable MetadataAnnotator via AnnotatorProvider examples on README.md 551cbc9c

Removed

  • reflect-metadata as a dependency

<a name="1.4.0"></a>

thohoh
published 1.4.0 •

Changelog

Source

1.4.0 (2017-10-01)

Features

  • @Injectable() decorator: - now to make a class available for injection you have to mark it with @Injectable() decorator: 86fede13

Breaking Changes

  • Class registration: - now it's necessary to mark the class you want to make available for injections with Injectable decorator.
    // old version
    class A {}
    container.register({ token: 'IA', useClass: A });
    
    // new version
    @Injectable()
    class A {}
    container.register({ token: 'IA', useClass: A });
    

<a name="1.3.1"></a>

thohoh
published 1.3.1 •

Changelog

Source

1.3.1 (2017-09-30)

Features

  • Value and Factory: - container now can resolve values or anything returned from a factory. commit 50ebb63
  • Injection Token - added InjectionToken class to facilitate working with abstractions. 3c380c878
thohoh
published 1.2.0 •
thohoh
published 1.3.0 •
thohoh
published 1.1.2 •
thohoh
published 1.1.1 •
thohoh
published 1.1.0 •
thohoh
published 1.0.9 •