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.3 to 1.0.4

8

built/src/container.js

@@ -24,5 +24,9 @@ "use strict";

enumerable: true,
writable: true,
configurable: true,
value: this.instances.get(injectClass)
get: () => {
return this.instances.get(injectClass);
},
set: (newValue) => {
instance.propertyKey = newValue;
}
});

@@ -29,0 +33,0 @@ }

{
"name": "dependency-inject",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

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

@@ -42,5 +42,9 @@ import { injectSymbol } from './handlers'

enumerable: true,
writable: true,
configurable: true,
value: this.instances.get(injectClass)
get: () => {
return this.instances.get(injectClass)
},
set: (newValue: any) => {
instance.propertyKey = newValue
}
})

@@ -47,0 +51,0 @@ }

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