@stoplight/ioc
Advanced tools
Comparing version 0.0.11-2 to 0.0.11-3
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
const tslib_1 = require("tslib"); | ||
require("reflect-metadata"); | ||
tslib_1.__exportStar(require("./ioc"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
// @ts-ignore | ||
var inversify_1 = require("inversify"); | ||
var inversify_binding_decorators_1 = require("inversify-binding-decorators"); | ||
var inversify_inject_decorators_1 = require("inversify-inject-decorators"); | ||
const inversify_1 = require("inversify"); | ||
const inversify_binding_decorators_1 = require("inversify-binding-decorators"); | ||
const inversify_inject_decorators_1 = require("inversify-inject-decorators"); | ||
exports.container = new inversify_1.Container(); | ||
var provide = inversify_binding_decorators_1.makeFluentProvideDecorator(exports.container); | ||
const provide = inversify_binding_decorators_1.makeFluentProvideDecorator(exports.container); | ||
// @provideSingleton decorator | ||
exports.provideSingleton = function (identifier) { | ||
exports.provideSingleton = (identifier) => { | ||
return provide(identifier) | ||
@@ -12,0 +12,0 @@ .inSingletonScope() |
{ | ||
"name": "@stoplight/ioc", | ||
"version": "0.0.11-2", | ||
"version": "0.0.11-3", | ||
"description": "Stoplight ioc implementation.", | ||
@@ -24,3 +24,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"inversify": "4.10.x", | ||
"inversify": "4.11.x", | ||
"inversify-binding-decorators": "3.2.x", | ||
@@ -27,0 +27,0 @@ "inversify-inject-decorators": "3.1.x", |
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
3124
+ Addedinversify@4.11.1(transitive)
- Removedinversify@4.10.0(transitive)
Updatedinversify@4.11.x