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.1.3 to 0.1.4

4

package.json

@@ -7,3 +7,3 @@ {

"dependencies": {
"@travetto/compiler": "^0.1.3",
"@travetto/compiler": "^0.1.4",
"string-hash": "^1.1.3"

@@ -28,3 +28,3 @@ },

"scripts": {},
"version": "0.1.3"
"version": "0.1.4"
}

@@ -1,14 +0,25 @@

import { Registry, MethodSource, CompilerClassSource, RootRegistry } from '../src';
import * as assert from 'assert';
import { Suite, Test } from '@travetto/test';
import { Registry, MethodSource, RootRegistry } from '../src';
class Simple extends Registry {
}
export const SimpleRegistry = new Simple();
@Suite()
export class RegistryTest {
export const MethodListener = new MethodSource(RootRegistry);
@Test()
async reloadTest() {
const SimpleRegistry = new Simple();
MethodListener.on(e => {
console.log('Method changed', e);
});
const MethodListener = new MethodSource(RootRegistry);
console.log('hi');
MethodListener.on(e => {
console.log('Method changed', e);
});
console.log('hi');
}
}
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