node-dependency-injection 2.7.1 → 3.0.0-alpha.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.
- package/CHANGELOG-2.md +5 -1
- package/CHANGELOG-3.md +7 -0
- package/UPGRADE-3.0.md +6 -0
- package/dist/bin/Services/File/BaseAdapter.js +6 -7
- package/dist/bin/Services/File/FileManager.js +6 -8
- package/dist/bin/Services/File/JsAdapter.js +14 -26
- package/dist/bin/Services/File/JsonAdapter.js +13 -25
- package/dist/bin/Services/File/YamlAdapter.js +13 -25
- package/dist/bin/ndi-config:check.js +2 -2
- package/dist/bin/ndi-config:create.js +2 -2
- package/dist/bin/ndi-container:service.js +2 -2
- package/dist/bin/ndi.js +2 -2
- package/dist/lib/Autowire.js +281 -0
- package/dist/lib/Compiler.js +8 -12
- package/dist/lib/CompilerPass/DecoratePass.js +8 -9
- package/dist/lib/CompilerPass/OptimizePass.js +9 -16
- package/dist/lib/CompilerPass/RemovePass.js +9 -16
- package/dist/lib/CompilerPass/index.js +8 -12
- package/dist/lib/ContainerBuilder.js +54 -30
- package/dist/lib/Definition.js +11 -15
- package/dist/lib/Exception/AbstractServiceException.js +12 -19
- package/dist/lib/Exception/AttributesMapException.js +12 -19
- package/dist/lib/Exception/ConfigurationFileNotFoundException.js +12 -19
- package/dist/lib/Exception/DefinitionNotFoundException.js +12 -19
- package/dist/lib/Exception/FrozenContainerException.js +12 -19
- package/dist/lib/Exception/LoadMethodNotFoundException.js +12 -19
- package/dist/lib/Exception/LoggerWarnMethodNotFoundException.js +12 -19
- package/dist/lib/Exception/MethodCallEmptyException.js +12 -19
- package/dist/lib/Exception/MethodCallNotFoundException.js +12 -19
- package/dist/lib/Exception/NotAbstractServiceException.js +12 -19
- package/dist/lib/Exception/PrivateServiceException.js +12 -19
- package/dist/lib/Exception/ProcessMethodNotFoundException.js +12 -19
- package/dist/lib/Exception/ServiceCircularReferenceException.js +12 -19
- package/dist/lib/Exception/ServiceFileNotFoundException.js +12 -19
- package/dist/lib/Exception/ServiceFileNotLoadedException.js +12 -19
- package/dist/lib/Exception/ServiceNotFoundException.js +14 -20
- package/dist/lib/Exception/WrongCompilerPassTypeException.js +12 -19
- package/dist/lib/Exception/WrongDefinitionException.js +12 -19
- package/dist/lib/InstanceManager.js +48 -47
- package/dist/lib/Loader/FileLoader.js +32 -12
- package/dist/lib/Loader/JsFileLoader.js +14 -28
- package/dist/lib/Loader/JsonFileLoader.js +11 -16
- package/dist/lib/Loader/YamlFileLoader.js +20 -32
- package/dist/lib/PackageReference.js +6 -8
- package/dist/lib/PassConfig.js +6 -7
- package/dist/lib/Reference.js +6 -9
- package/dist/lib/TagReference.js +6 -8
- package/dist/lib/index.js +17 -17
- package/package.json +20 -11
- package/tsconfig.json +5 -0
- package/.nyc_output/fd276731-b272-4c00-a21b-26fea07cc2e5.json +0 -1
- package/.nyc_output/processinfo/fd276731-b272-4c00-a21b-26fea07cc2e5.json +0 -1
- package/.nyc_output/processinfo/index.json +0 -1
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/bin/Services/File/BaseAdapter.js.html +0 -158
- package/coverage/lcov-report/bin/Services/File/FileManager.js.html +0 -176
- package/coverage/lcov-report/bin/Services/File/JsAdapter.js.html +0 -140
- package/coverage/lcov-report/bin/Services/File/JsonAdapter.js.html +0 -131
- package/coverage/lcov-report/bin/Services/File/YamlAdapter.js.html +0 -155
- package/coverage/lcov-report/bin/Services/File/index.html +0 -171
- package/coverage/lcov-report/block-navigation.js +0 -79
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -171
- package/coverage/lcov-report/lib/Compiler.js.html +0 -239
- package/coverage/lcov-report/lib/CompilerPass/DecoratePass.js.html +0 -248
- package/coverage/lcov-report/lib/CompilerPass/OptimizePass.js.html +0 -125
- package/coverage/lcov-report/lib/CompilerPass/RemovePass.js.html +0 -116
- package/coverage/lcov-report/lib/CompilerPass/index.html +0 -156
- package/coverage/lcov-report/lib/CompilerPass/index.js.html +0 -326
- package/coverage/lcov-report/lib/ContainerBuilder.js.html +0 -1025
- package/coverage/lcov-report/lib/Definition.js.html +0 -962
- package/coverage/lcov-report/lib/Exception/AbstractServiceException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/AttributesMapException.js.html +0 -101
- package/coverage/lcov-report/lib/Exception/ConfigurationFileNotFoundException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/DefinitionNotFoundException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/FrozenContainerException.js.html +0 -101
- package/coverage/lcov-report/lib/Exception/LoadMethodNotFoundException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/LoggerWarnMethodNotFoundException.js.html +0 -101
- package/coverage/lcov-report/lib/Exception/MethodCallEmptyException.js.html +0 -101
- package/coverage/lcov-report/lib/Exception/MethodCallNotFoundException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/NotAbstractServiceException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/PrivateServiceException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/ProcessMethodNotFoundException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/ServiceCircularReferenceException.js.html +0 -101
- package/coverage/lcov-report/lib/Exception/ServiceFileNotFoundException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/ServiceFileNotLoadedException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/ServiceNotFoundException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/WrongCompilerPassTypeException.js.html +0 -110
- package/coverage/lcov-report/lib/Exception/WrongDefinitionException.js.html +0 -101
- package/coverage/lcov-report/lib/Exception/index.html +0 -366
- package/coverage/lcov-report/lib/InstanceManager.js.html +0 -779
- package/coverage/lcov-report/lib/Loader/FileLoader.js.html +0 -980
- package/coverage/lcov-report/lib/Loader/JsFileLoader.js.html +0 -155
- package/coverage/lcov-report/lib/Loader/JsonFileLoader.js.html +0 -98
- package/coverage/lcov-report/lib/Loader/YamlFileLoader.js.html +0 -188
- package/coverage/lcov-report/lib/Loader/index.html +0 -156
- package/coverage/lcov-report/lib/PackageReference.js.html +0 -131
- package/coverage/lcov-report/lib/PassConfig.js.html +0 -230
- package/coverage/lcov-report/lib/Reference.js.html +0 -158
- package/coverage/lcov-report/lib/TagReference.js.html +0 -131
- package/coverage/lcov-report/lib/index.html +0 -216
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -170
- package/coverage/lcov.info +0 -1336
- package/coverage.lcov +0 -0
package/coverage.lcov
DELETED
|
File without changes
|