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

@travetto/registry

Package Overview
Dependencies
Maintainers
1
Versions
290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/registry - npm Package Compare versions

Comparing version 0.0.40 to 0.0.41

2

package.json

@@ -18,3 +18,3 @@ {

"scripts": {},
"version": "0.0.40"
"version": "0.0.41"
}
import { EventEmitter } from 'events';
import { Compiler } from '@travetto/compiler';
import { findAppFiles } from '@travetto/base';
import { findAppFiles, AppEnv } from '@travetto/base';

@@ -77,10 +77,11 @@ import { Class } from '../model/types';

async init() {
const entries = await findAppFiles('.ts', f =>
f.startsWith('src/') &&
Compiler.presenceManager.validFile(f));
if (!AppEnv.test) {
const entries = await findAppFiles('.ts', f =>
f.startsWith('src/') &&
Compiler.presenceManager.validFile(f));
const files = entries.map(x => x.file);
for (const f of files) { // Load all files, class scanning
require(f);
const files = entries.map(x => x.file);
for (const f of files) { // Load all files, class scanning
require(f);
}
}

@@ -87,0 +88,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