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

cheap-di

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cheap-di - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

dist/interfaces/IContainer.d.ts

16

dist/container.d.ts

@@ -1,15 +0,3 @@

import { Constructor } from "./interfaces/constructor";
import { ConstructorParams } from "./interfaces/constructor-params";
import { RegisteredType } from "./interfaces/registered-type";
declare const container: {
registerType: (implementationType: InstanceType<RegisteredType>) => {
as: (type: any) => {
with: (...injectionParams: any[]) => void;
};
};
registerInstance: (instance: any) => {
as: (type: any) => void;
};
resolve: <TType extends Constructor & Partial<ConstructorParams> = any>(type: TType, ...args: any[]) => InstanceType<TType>;
};
import { IContainer } from "./interfaces/IContainer";
declare const container: IContainer;
export { container };
{
"name": "cheap-di",
"version": "0.1.5",
"version": "0.1.6",
"description": "JavaScript dependency injection like Autofac in .Net",

@@ -24,5 +24,2 @@ "scripts": {

"license": "MIT",
"bugs": {
"url": "https://github.com/TomasLight/cheap-di/issues"
},
"homepage": "https://github.com/TomasLight/cheap-di#readme",

@@ -29,0 +26,0 @@ "keywords": [

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