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

mobidic

Package Overview
Dependencies
Maintainers
0
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobidic - npm Package Compare versions

Comparing version 0.0.38 to 0.0.39

9

decorators/inject.js

@@ -1,3 +0,6 @@

import { container } from '../container.js';
import { Container, container } from '../container.js';
export function inject(value, ...injectArgs) {
const usageContainer =
// @ts-ignore
this instanceof Container ? this : container;
return (...args) => {

@@ -8,3 +11,3 @@ if (args.length === 2) {

// @ts-ignore
return container.inject(value, injectArgs[0]?.(this));
return usageContainer.inject(value, injectArgs[0]?.(this));
};

@@ -14,3 +17,3 @@ }

// @ts-ignore
args[0][args[1]] = container.inject(value, injectArgs[0]?.(this));
args[0][args[1]] = usageContainer.inject(value, injectArgs[0]?.(this));
}

@@ -17,0 +20,0 @@ else {

{
"name": "mobidic",
"version": "0.0.38",
"version": "0.0.39",
"keywords": [],

@@ -5,0 +5,0 @@ "author": "js2me",

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