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
1
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 0.1.0 to 0.1.1

2

out/main/mesh.d.ts

@@ -12,3 +12,3 @@ import { Binding } from './bindings';

bind<T>(key: AbstractService<T> | string, impl: ServiceConstructor<T>): Binding<T>;
constant<T>(key: string, value: T): Binding<T>;
constant<T>(key: ServiceKey<T>, value: T): Binding<T>;
alias<T>(key: AbstractService<T> | string, referenceKey: AbstractService<T> | string): Binding<T>;

@@ -15,0 +15,0 @@ resolve<T>(key: ServiceKey<T>): T;

@@ -25,3 +25,4 @@ "use strict";

constant(key, value) {
return this._add(new bindings_1.ConstantBinding(this, key, value));
const k = keyToString(key);
return this._add(new bindings_1.ConstantBinding(this, k, value));
}

@@ -28,0 +29,0 @@ alias(key, referenceKey) {

{
"name": "mesh-ioc",
"version": "0.1.0",
"version": "0.1.1",
"description": "Mesh: Powerful and Lightweight IoC Library",

@@ -5,0 +5,0 @@ "main": "out/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