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

@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-22 to 0.0.11-23

2

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
var 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
const inversify_1 = require("inversify");
const inversify_binding_decorators_1 = require("inversify-binding-decorators");
const inversify_inject_decorators_1 = require("inversify-inject-decorators");
var inversify_1 = require("inversify");
var inversify_binding_decorators_1 = require("inversify-binding-decorators");
var inversify_inject_decorators_1 = require("inversify-inject-decorators");
exports.container = new inversify_1.Container();
const provide = inversify_binding_decorators_1.makeFluentProvideDecorator(exports.container);
var provide = inversify_binding_decorators_1.makeFluentProvideDecorator(exports.container);
// @provideSingleton decorator
exports.provideSingleton = (identifier) => {
exports.provideSingleton = function (identifier) {
return provide(identifier)

@@ -12,0 +12,0 @@ .inSingletonScope()

{
"name": "@stoplight/ioc",
"version": "0.0.11-22",
"version": "0.0.11-23",
"description": "Stoplight ioc implementation.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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