Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

inversify-hooks

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inversify-hooks - npm Package Compare versions

Comparing version 1.5.3 to 1.5.4

4

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc