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

mini-ioc-vue

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-ioc-vue - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

2

index.d.ts

@@ -5,3 +5,3 @@ import Container, { ICtor } from 'mini-ioc';

export declare const injectKey: IInjectionKey<Container>;
export declare function provideContainer(configure?: (container: Container) => void): {
export declare function provideContainer(container?: Container): {
[x: string]: Container;

@@ -8,0 +8,0 @@ };

@@ -7,6 +7,3 @@ "use strict";

exports.injectKey = Symbol(APP_IOC_CONTAINER_INJECT_KEY);
function provideContainer(configure) {
const container = new mini_ioc_1.default();
if (configure)
configure(container);
function provideContainer(container = new mini_ioc_1.default()) {
return {

@@ -13,0 +10,0 @@ [exports.injectKey]: container,

{
"name": "mini-ioc-vue",
"version": "0.0.1",
"version": "0.1.0",
"description": "Vue.js mini-ioc binding internal package",

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

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