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 4.0.0 to 4.0.1

2

cjs/package.json
{
"type": "commonjs",
"version": "4.0.0"
"version": "4.0.1"
}
{
"type": "module",
"version": "4.0.0"
"version": "4.0.1"
}
{
"name": "cheap-di",
"description": "TypeScript dependency injection like Autofac in .Net",
"version": "4.0.0",
"dependencies": {
"typescript": "^5.3.3"
},
"version": "4.0.1",
"repository": {

@@ -9,0 +6,0 @@ "type": "git",

@@ -1,5 +0,5 @@

import { Dependency, SomeDependency } from '../types.js';
import { SomeDependency } from '../types.js';
export interface InjectDecorator {
<T, TClass extends Dependency<T>>(...dependencies: SomeDependency[]): (constructor: TClass, context?: ClassDecoratorContext) => TClass;
<T>(...dependencies: SomeDependency[]): (constructor: T, context?: ClassDecoratorContext) => T;
}
export declare const inject: InjectDecorator;

Sorry, the diff of this file is not supported yet

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