ts-ioc-container 25.0.4 → 25.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -19
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -6,8 +6,6 @@
6
6
  [![Coverage Status](https://coveralls.io/repos/github/IgorBabkin/ts-ioc-container/badge.svg?branch=master)](https://coveralls.io/github/IgorBabkin/ts-ioc-container?branch=master)
7
7
  ![License](https://img.shields.io/npm/l/ts-ioc-container)
8
8
 
9
- * * *
10
-
11
9
  ## Advantages
12
10
  - battle tested :boom:
13
11
  - written on `typescript`
@@ -19,7 +17,7 @@
19
17
  - composable and open to extend
20
18
  - awesome for testing (auto mocking)
21
19
 
22
- * * *
20
+ ## Content
23
21
 
24
22
  - [Setup](#setup)
25
23
  - [Container](#container)
@@ -43,8 +41,6 @@
43
41
  - [Tests and Mocks](#tests-and-mocks)
44
42
  - [Errors](#errors)
45
43
 
46
- * * *
47
-
48
44
  ## Setup
49
45
 
50
46
  ```shell script
@@ -69,8 +65,6 @@ And `tsconfig.json` should have next options:
69
65
  }
70
66
  ```
71
67
 
72
- * * *
73
-
74
68
  ## Container
75
69
  `IContainer` consists of 2 main parts:
76
70
 
@@ -194,8 +188,6 @@ describe('Disposing', function () {
194
188
 
195
189
  ```
196
190
 
197
- * * *
198
-
199
191
  ## Injectors
200
192
  `IInjector` is used to describe how dependencies should be injected to constructor.
201
193
 
@@ -330,8 +322,6 @@ describe('ProxyInjector', function () {
330
322
 
331
323
  ```
332
324
 
333
- * * *
334
-
335
325
  ## Providers
336
326
  `IProvider<T>` is used to describe how instances should be created. It has next basic methods:
337
327
  - `resolve` - creates instance with passed arguments
@@ -490,8 +480,6 @@ describe('ArgsProvider', function () {
490
480
 
491
481
  ```
492
482
 
493
- * * *
494
-
495
483
  ## Container modules
496
484
  Sometimes you want to encapsulate registration logic in separate module. This is what `IContainerModule` is for.
497
485
 
@@ -560,8 +548,6 @@ describe('Registration module', function () {
560
548
 
561
549
  ```
562
550
 
563
- * * *
564
-
565
551
  ## Hooks
566
552
  Sometimes you need to invoke methods after construct or dispose of class. This is what hooks are for.
567
553
 
@@ -663,8 +649,6 @@ describe('Hooks', function () {
663
649
 
664
650
  ```
665
651
 
666
- * * *
667
-
668
652
  ## Tests and Mocks
669
653
  Sometimes you need to automatically mock all dependencies in container. This is what `AutoMockedContainer` is for.
670
654
 
@@ -707,8 +691,6 @@ describe('Mocking', () => {
707
691
 
708
692
  ```
709
693
 
710
- * * *
711
-
712
694
  ## Errors
713
695
 
714
696
  - [DependencyNotFoundError.ts](lib%2Fcontainer%2FDependencyNotFoundError.ts)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-ioc-container",
3
- "version": "25.0.4",
3
+ "version": "25.0.5",
4
4
  "description": "Typescript IoC container",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -56,5 +56,5 @@
56
56
  "ts-node": "^10.9.1",
57
57
  "typescript": "4.4.3"
58
58
  },
59
- "gitHead": "02c953490e29c0a46b6609ae22ca6b1a688406e6"
59
+ "gitHead": "f630f8b23fda47ca14c578549876b09587fd3e43"
60
60
  }