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

node-boot-core

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-boot-core - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

2

lib/decorators/component.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.addComponentMetadata = exports.Component = void 0;
var dependency_manager_1 = require("../util/dependency-manager");
var types_1 = require("./types");
function Component(key) {
return function (target) {
dependency_manager_1.default.set(key, new target());
addComponentMetadata(target.prototype);

@@ -8,0 +10,0 @@ };

@@ -9,2 +9,3 @@ import dependencyManager from "../util/dependency-manager";

return function (target: any): any {
dependencyManager.set(key, new target());
addComponentMetadata(target.prototype);

@@ -11,0 +12,0 @@ };

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.addConfigurationMetadata = exports.Configuration = void 0;
var dependency_manager_1 = require("../util/dependency-manager");
var types_1 = require("./types");
function Configuration(key) {
return function (target) {
dependency_manager_1.default.set(key, new target());
addConfigurationMetadata(target.prototype);

@@ -8,0 +10,0 @@ };

@@ -9,2 +9,3 @@ import dependencyManager from "../util/dependency-manager";

return function (target: any): any {
dependencyManager.set(key, new target());
addConfigurationMetadata(target.prototype);

@@ -11,0 +12,0 @@ };

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.addRepositoryMetadata = exports.Repository = void 0;
var dependency_manager_1 = require("../util/dependency-manager");
var types_1 = require("./types");
function Repository(key) {
return function (target) {
dependency_manager_1.default.set(key, new target());
addRepositoryMetadata(target.prototype);

@@ -8,0 +10,0 @@ };

@@ -9,2 +9,3 @@ import dependencyManager from "../util/dependency-manager";

return function (target: any): any {
dependencyManager.set(key, new target());
addRepositoryMetadata(target.prototype);

@@ -11,0 +12,0 @@ };

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.addServiceMetadata = exports.Service = void 0;
var dependency_manager_1 = require("../util/dependency-manager");
var types_1 = require("./types");
function Service(key) {
return function (target) {
dependency_manager_1.default.set(key, new target());
addServiceMetadata(target.prototype);

@@ -8,0 +10,0 @@ };

@@ -9,2 +9,3 @@ import dependencyManager from "../util/dependency-manager";

return function (target: any): any {
dependencyManager.set(key, new target());
addServiceMetadata(target.prototype);

@@ -11,0 +12,0 @@ };

12

lib/enable-server.js

@@ -37,2 +37,3 @@ "use strict";

Object.assign(global, { socketIO: socket });
instance["main"].call(this, { app: app, socketIO: socket });
src = (0, util_1.getPropertiesData)(properties, "source.dir", "src");

@@ -54,11 +55,10 @@ urlPrefix = (0, util_1.getPropertiesData)(properties, "api.prefix", "");

}
dependency_manager_1.default.set(item.name, item.controller);
types_1.DependenciesMapping.push({
key: item.name,
value: item.controller,
});
}
dependency_manager_1.default.set(item.name, item.controller);
types_1.DependenciesMapping.push({
key: item.name,
value: item.controller,
});
}
});
instance["main"].call(this, { app: app, socketIO: socket });
return [2];

@@ -65,0 +65,0 @@ }

@@ -44,5 +44,8 @@ import "reflect-metadata";

Object.assign(global, { socketIO: socket });
instance["main"].call(this, { app, socketIO: socket });
const src = getPropertiesData(properties, "source.dir", "src");
const urlPrefix = getPropertiesData(properties, "api.prefix", "");
const allFiles = listDirectories(`${dir}/${src}/`);
// const configurationInstances: any[] = await readConfigurationFiles(allFiles);
const controllerInstances: any[] = await readFiles(allFiles);

@@ -63,11 +66,11 @@ const routerLibrary: RouterLib = Router;

}
dependencyManager.set(item.name, item.controller);
DependenciesMapping.push({
key: item.name,
value: item.controller,
});
}
dependencyManager.set(item.name, item.controller);
DependenciesMapping.push({
key: item.name,
value: item.controller,
});
}
});
instance["main"].call(this, { app, socketIO: socket });
};

@@ -74,0 +77,0 @@

{
"name": "node-boot-core",
"version": "1.1.7",
"version": "1.1.8",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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

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