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 2.0.1 to 2.0.2

2

dist/dependencies.d.ts
import { Dependency } from './types';
declare type D<T> = Dependency<T>;
declare type Return<TClass> = (constructor: TClass) => TClass;
declare type Return<TClass> = TClass extends new (...args: any[]) => infer TInstance ? (constructor: TClass) => TInstance : never;
declare function dependencies<A1, TClass extends new (a1: A1, ...args: any[]) => any>(a1: D<A1>): Return<TClass>;

@@ -5,0 +5,0 @@ declare function dependencies<A1, A2, TClass extends new (a1: A1, a2: A2, ...args: any[]) => any>(a1: D<A1>, a2: D<A2>): Return<TClass>;

{
"name": "cheap-di",
"version": "2.0.1",
"version": "2.0.2",
"description": "JavaScript dependency injection like Autofac in .Net",

@@ -5,0 +5,0 @@ "scripts": {

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