New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mesh-ioc

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mesh-ioc - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

2

out/main/mesh.d.ts

@@ -21,3 +21,3 @@ import { AbstractClass, Binding, Constructor, DepMetadata, Middleware, ServiceConstructor, ServiceKey } from './types.js';

constructor(name?: string, parent?: Mesh | undefined);
[Symbol.iterator](): Generator<[string, Binding<any>], void, undefined>;
[Symbol.iterator](): Generator<[string, Binding<any>], void, unknown>;
clone(): Mesh;

@@ -24,0 +24,0 @@ connect<T>(value: T): T;

@@ -1,26 +0,22 @@

export type Constructor<T> = {
new (...args: any[]): T;
};
export type ServiceConstructor<T> = {
new (): T;
};
export type AbstractClass<T> = {
export type Constructor<T> = new (...args: any[]) => T;
export type ServiceConstructor<T> = new () => T;
export interface AbstractClass<T> {
name: string;
prototype: T;
};
}
export type ServiceKey<T> = ServiceConstructor<T> | AbstractClass<T> | string;
export type Middleware = (instance: any) => any;
export type Binding<T> = ConstantBinding<T> | ServiceBinding<T> | AliasBinding;
export type ConstantBinding<T> = {
export interface ConstantBinding<T> {
type: 'constant';
value: T;
};
export type ServiceBinding<T> = {
}
export interface ServiceBinding<T> {
type: 'service';
class: ServiceConstructor<T>;
};
export type AliasBinding = {
}
export interface AliasBinding {
type: 'alias';
key: string;
};
}
export interface DepMetadata {

@@ -27,0 +23,0 @@ class: any;

{
"name": "mesh-ioc",
"version": "4.0.0",
"version": "4.0.1",
"description": "Powerful and Lightweight IoC Library",

@@ -19,3 +19,3 @@ "type": "module",

"compile": "npm run clean && tsc -b",
"lint": "eslint --ext=.js,.ts,.vue --cache .",
"lint": "eslint --cache",
"test": "NODE_ENV=test mocha",

@@ -43,12 +43,12 @@ "preversion": "npm run lint",

"devDependencies": {
"@nodescript/eslint-config": "^1.2.0",
"@types/mocha": "^8.2.3",
"@types/node": "^16.18.88",
"chalk": "^4.1.2",
"eslint": "^8.57.0",
"mocha": "^9.2.2",
"@nodescript/eslint-config": "^2.0.2",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.2",
"chalk": "^5.4.1",
"eslint": "^9.17.0",
"mocha": "^11.0.1",
"pre-commit": "^1.2.2",
"reflect-metadata": "^0.1.14",
"typescript": "^5.4.2"
"reflect-metadata": "^0.2.2",
"typescript": "^5.7.2"
}
}

Sorry, the diff of this file is not supported yet

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