node-dependency-injection 3.6.0 → 3.6.1

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.
@@ -185,6 +185,9 @@ export class JsFileLoader extends FileLoader {
185
185
  export class JsonFileLoader extends JsFileLoader {
186
186
  }
187
187
 
188
+ export class XmlFileLoader extends FileLoader {
189
+ }
190
+
188
191
  export class Autowire {
189
192
  constructor (container: ContainerBuilder, tsConfigFullPath?: string);
190
193
 
@@ -12,6 +12,7 @@ import {
12
12
  Reference,
13
13
  ServiceFile,
14
14
  Tag,
15
+ XmlFileLoader,
15
16
  YamlFileLoader
16
17
  } from './index'
17
18
 
@@ -157,6 +158,10 @@ container = new ContainerBuilder()
157
158
  loader = new JsFileLoader(container)
158
159
  loader.load('/path/to/file.js')
159
160
 
161
+ container = new ContainerBuilder()
162
+ loader = new XmlFileLoader(container)
163
+ loader.load('/path/to/file.xml')
164
+
160
165
  // * Definition *
161
166
  // Constructor
162
167
  new Definition()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-dependency-injection",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "description": "The NodeDependencyInjection component allows you to standardize and centralize the way objects are constructed in your application.",
5
5
  "main": "dist/lib/index.js",
6
6
  "directories": {