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.31 to 0.0.32

2

package.json

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

"scripts": {},
"version": "0.0.31"
"version": "0.0.32"
}

@@ -0,5 +1,7 @@

import { EventEmitter } from 'events';
import { Compiler } from '@travetto/compiler';
import { findAppFilesByExt } from '@travetto/base';
import { Class } from '../model/types';
import { bulkFind } from '@travetto/base';
import { EventEmitter } from 'events';
import { ChangeSource, ChangeEvent } from './types';

@@ -26,5 +28,7 @@ import { PendingRegister } from '../decorator/register';

async init() {
const entries = await bulkFind([/.*[.]ts$/], `${Compiler.cwd}/src`);
const entries = await findAppFilesByExt('.ts')
.filter(x => x.file.includes(`/src/`));
const files = entries
.filter(x => !x.stats.isDirectory() && !Compiler.invalidWorkingSetFile(x.file))
.filter(x => Compiler.presenceManager.validFile(x.file))
.map(x => x.file)

@@ -31,0 +35,0 @@

@@ -14,2 +14,5 @@ export class Test {

}
nameze() {
return 'hi';
}
}

@@ -1,2 +0,2 @@

import { Registry, MethodSource, CompilerClassSource, RootRegistry } from '../index';
import { Registry, MethodSource, CompilerClassSource, RootRegistry } from '../src';

@@ -12,2 +12,4 @@ class Simple extends Registry {

console.log('Method changed', e);
});
});
console.log('hi');
{
"extends" : "./node_modules/@travetto/base/tsconfig.json"
}
"extends": "./node_modules/@travetto/base/tsconfig.json"
}
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