Socket
Socket
Sign inDemoInstall

@stoplight/ioc

Package Overview
Dependencies
Maintainers
4
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/ioc - npm Package Compare versions

Comparing version 0.0.11-2 to 0.0.11-3

2

lib/index.js
"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

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