Comparing version 2.0.4 to 2.0.5
@@ -5,8 +5,13 @@ "use strict"; | ||
function dependencies(...dependencies) { | ||
return (constructor) => { var _a; return _a = class extends constructor { | ||
}, | ||
_a.__dependencies = dependencies || [], | ||
_a; }; | ||
return function (constructor) { | ||
var _a; | ||
const decoratedConstructor = (_a = class extends constructor { | ||
}, | ||
_a.__dependencies = dependencies || [], | ||
_a); | ||
decoratedConstructor.className = constructor.name; | ||
return decoratedConstructor; | ||
}; | ||
} | ||
exports.dependencies = dependencies; | ||
//# sourceMappingURL=dependencies.js.map |
{ | ||
"name": "cheap-di", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "JavaScript dependency injection like Autofac in .Net", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
17212
168