Socket
Socket
Sign inDemoInstall

rsdi

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rsdi - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

1

definitions/ObjectDefinition.d.ts

@@ -14,3 +14,2 @@ import BaseDefinition from "../definitions/BaseDefinition";

resolve: <T>(diContainer: IDIContainer) => T;
private isConstructor;
}

5

definitions/ObjectDefinition.js

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

};
if (!_this.isConstructor(constructorFunction)) {
if (typeof constructorFunction !== "function") {
throw new InvalidConstructorError_1.default();

@@ -78,5 +78,2 @@ }

};
ObjectDefinition.prototype.isConstructor = function (constructorFunction) {
return constructorFunction && !!constructorFunction.prototype && !!constructorFunction.prototype.constructor.name;
};
return ObjectDefinition;

@@ -83,0 +80,0 @@ }(BaseDefinition_1.default));

{
"name": "rsdi",
"version": "1.0.2",
"version": "1.0.3",
"description": "dependency injection container",

@@ -5,0 +5,0 @@ "scripts": {

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