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

@dits/dits

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dits/dits - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

lib/di/service.d.ts

@@ -24,4 +24,4 @@ import Container from './container';

initialize(config: ServiceConfig): Promise<any>;
fork(name: string, properties?: any): Promise<Zone>;
fork(name: string, properties?: any): Zone;
}
//# sourceMappingURL=service.d.ts.map

@@ -49,3 +49,3 @@ "use strict";

}
async fork(name, properties) {
fork(name, properties) {
const container = this.container.createChild();

@@ -52,0 +52,0 @@ return this.zone.fork({

@@ -32,3 +32,3 @@ "use strict";

const dependencies = paramTypes;
const metadata = Metadata_1.default.retrieveMetadata(target, propertyKey);
const metadata = Metadata_1.default.retrieveMetadata(target, propertyKey) || {};
// allow customization of what type of event is being registered for the handler

@@ -53,3 +53,3 @@ const registerType = Reflect.getMetadata(exports.REGISTER_AS_META_KEY, target, propertyKey) || eventType;

// container.handler(registerType, decl)
const handlers = Reflect.getMetadata(exports.HANDLER_KEY, target) || [];
const handlers = Reflect.getMetadata(exports.HANDLER_KEY, target.constructor) || [];
handlers.push(decl);

@@ -56,0 +56,0 @@ Reflect.defineMetadata(exports.HANDLER_KEY, handlers, target.constructor);

{
"name": "@dits/dits",
"version": "0.1.3",
"version": "0.1.4",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "types": "lib/index.d.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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