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

@travetto/di

Package Overview
Dependencies
Maintainers
1
Versions
313
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/di - npm Package Compare versions

Comparing version 0.2.2 to 0.2.4

4

package.json

@@ -32,4 +32,4 @@ {

},
"version": "0.2.2",
"gitHead": "14b93bc88216ca2baacfe20af1b0bd1b407b35b0"
"version": "0.2.4",
"gitHead": "b341ad30d6dd66c933577b0b99de2d4a748715a5"
}

@@ -42,2 +42,6 @@ import { Class } from '@travetto/registry';

}
})
.catch(err => {
console.error(err);
throw err;
});

@@ -44,0 +48,0 @@ }

@@ -361,2 +361,7 @@ import { MetadataRegistry, Class, RootRegistry, ChangeEvent } from '@travetto/registry';

) {
const activeInstance = this.instances.get(targetId)!.get(config);
if (activeInstance && activeInstance.preDestroy) {
activeInstance.preDestroy();
}
const handler = this.proxyHandlers.get(targetId)!.get(config);

@@ -366,6 +371,2 @@ if (handler) {

}
const activeInstance = this.instances.get(targetId)!.get(config);
if (activeInstance && activeInstance.preDestroy) {
activeInstance.preDestroy();
}
this.instances.get(targetId)!.delete(config);

@@ -372,0 +373,0 @@ this.instancePromises.get(targetId)!.delete(config);

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