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

@loke/di-ioc

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loke/di-ioc - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

8

lib/router.js

@@ -342,3 +342,3 @@ 'use strict';

return new Proxy(newInstance, {
get: (target, prop) => {
get: (target, prop, receiver) => {
if (!accessedProps.has(prop)) {

@@ -349,3 +349,3 @@ accessedProps.add(prop);

return Reflect.get(target, prop);
return Reflect.get(target, prop, receiver);
},

@@ -363,3 +363,3 @@ apply: (target, thisArg, args) => {

},
construct: (target, args) => {
construct: (target, args, newTarget) => {
if (!accessedProps.has(super.CONSTRUCTOR_CALL)) {

@@ -373,3 +373,3 @@ accessedProps.add(super.CONSTRUCTOR_CALL);

return Reflect.construct(target, args);
return Reflect.construct(target, args, newTarget);
},

@@ -376,0 +376,0 @@ });

{
"name": "@loke/di-ioc",
"version": "2.2.0",
"version": "2.2.1",
"description": "Node.js dependency injection.",

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