inversify-hooks
Advanced tools
Comparing version 1.5.3 to 1.5.4
@@ -1,3 +0,3 @@ | ||
import { cid, container, Container, Inject, inject, injectable, mockInject, mockRequest, mockSingleton, mockTransient } from 'inversify-props'; | ||
import { cid, container, Container, Inject, inject, injectable, mockInject, mockRequest, mockSingleton, mockTransient, resetContainer } from 'inversify-props'; | ||
declare function useInject<T>(id: string | symbol): [T]; | ||
export { useInject, container, Inject, inject, injectable, Container, cid, mockInject, mockRequest, mockSingleton, mockTransient }; | ||
export { useInject, container, Inject, inject, injectable, Container, cid, mockInject, resetContainer, mockRequest, mockSingleton, mockTransient }; |
@@ -14,2 +14,3 @@ "use strict"; | ||
exports.mockTransient = inversify_props_1.mockTransient; | ||
exports.resetContainer = inversify_props_1.resetContainer; | ||
function useInject(id) { | ||
@@ -16,0 +17,0 @@ return [inversify_props_1.container.get(id)]; |
{ | ||
"name": "inversify-hooks", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"description": "Wrapper of inversify-props to inject your dependencies in the components, made with TypeScript using hooks.", | ||
@@ -27,5 +27,5 @@ "main": "dist/index.js", | ||
"@types/react": "^16.8.7", | ||
"inversify-props": "^1.4.7", | ||
"inversify-props": "^1.4.8", | ||
"react": "^16.8.4" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import { cid, container, Container, Inject, inject, injectable, mockInject, mockRequest, mockSingleton, mockTransient } from 'inversify-props'; | ||
import { cid, container, Container, Inject, inject, injectable, mockInject, mockRequest, mockSingleton, mockTransient, resetContainer } from 'inversify-props'; | ||
@@ -7,3 +7,3 @@ function useInject<T>(id: string | symbol): [T] { | ||
export { useInject, container, Inject, inject, injectable, Container, cid, mockInject, mockRequest, mockSingleton, mockTransient }; | ||
export { useInject, container, Inject, inject, injectable, Container, cid, mockInject, resetContainer, mockRequest, mockSingleton, mockTransient }; | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7972
57
Updatedinversify-props@^1.4.8