Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dependency-inject

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependency-inject - npm Package Compare versions

Comparing version 1.0.18 to 1.0.19

2

package.json
{
"name": "dependency-inject",
"version": "1.0.18",
"version": "1.0.19",
"description": "",

@@ -5,0 +5,0 @@ "main": "built/index.js",

@@ -18,3 +18,3 @@ import Container from "./container"

Object.keys(obj).forEach(key => {
let instance: any = new obj[key]()
let instance: any = new (obj as any)[key]()
container.set((obj as any)[key], instance)

@@ -24,3 +24,3 @@ })

const injectObj = Object.keys(obj).reduce((result, key) => {
result[key] = container.get(obj[key])
result[key] = container.get((obj as any)[key])
return result

@@ -27,0 +27,0 @@ }, {} as any)

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