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.0.24 to 0.0.25

2

package.json

@@ -24,3 +24,3 @@ {

},
"version": "0.0.24"
"version": "0.0.25"
}

@@ -112,7 +112,9 @@ import { Dependency, InjectableConfig, ClassTarget, InjectableFactoryConfig } from '../types';

if (this.autoCreate.length && !AppEnv.test) {
console.debug('Auto-creating', this.autoCreate.map(x => x.target.name));
const items = this.autoCreate.slice(0).sort((a, b) => a.priority - b.priority);
for (const i of items) {
await this.getInstance(i.target, i.qualifier);
}
setTimeout(async () => { // Run after initialization finishes
console.debug('Auto-creating', this.autoCreate.map(x => x.target.name));
const items = this.autoCreate.slice(0).sort((a, b) => a.priority - b.priority);
for (const i of items) {
await this.getInstance(i.target, i.qualifier);
}
}, 0);
}

@@ -119,0 +121,0 @@ }

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