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

typedi

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedi - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

2

ContainerInstance.js

@@ -131,3 +131,3 @@ "use strict";

if (service.type && identifier instanceof Function)
return service.type === identifier || identifier.prototype instanceof service.type;
return service.type === identifier; // todo: not sure why it was here || identifier.prototype instanceof service.type;
return false;

@@ -134,0 +134,0 @@ });

{
"name": "typedi",
"version": "0.7.1",
"version": "0.7.2",
"description": "Dependency injection for TypeScript",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -146,3 +146,2 @@ # TypeDI

When you write tests you can easily provide your own "fake" dependencies to classes you are testing using `set` method:
`provide` methods of the container:

@@ -149,0 +148,0 @@ ```javascript

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