Socket
Socket
Sign inDemoInstall

fulton-server

Package Overview
Dependencies
77
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.25-3 to 0.0.25-beta.0

types/re-export.d.ts

4

app-launcher.d.ts

@@ -9,3 +9,3 @@ import { IFultonApp } from './fulton-app';

* default tasks is "app"
* the value can be overrided by process.env["{appName}.Launch"]
* the value can be overrided by process.env["{appName}.launch"]
* for example process.env["MyApp.launch"] = "taskA, app"

@@ -21,3 +21,3 @@ */

/**
* Launch Tasks based on process.env["{appName}.Launch"]
* Launch Tasks based on process.env["{appName}.launch"]
* @param stopAfterLaunch the default is based on task "app", if there is a task "app", the value is true

@@ -24,0 +24,0 @@ */

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

* default tasks is "app"
* the value can be overrided by process.env["{appName}.Launch"]
* the value can be overrided by process.env["{appName}.launch"]
* for example process.env["MyApp.launch"] = "taskA, app"

@@ -33,3 +33,3 @@ */

/**
* Launch Tasks based on process.env["{appName}.Launch"]
* Launch Tasks based on process.env["{appName}.launch"]
* @param stopAfterLaunch the default is based on task "app", if there is a task "app", the value is true

@@ -36,0 +36,0 @@ */

@@ -153,3 +153,2 @@ /// <reference types="express" />

protected registerTypes(providers: Provider[], singleton?: boolean): TypeIdentifier[];
notify(...messages: NotificationMessage[]): void;
/**

@@ -156,0 +155,0 @@ * to init the app. Env values for options will be loaded after onInit.

@@ -414,5 +414,3 @@ "use strict";

}
notify(...messages) {
}
}
exports.FultonApp = FultonApp;

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

/// <reference types="winston" />
import * as winston from "winston";

@@ -3,0 +2,0 @@ import { NPMLoggingLevel } from "winston";

@@ -1,4 +0,3 @@

/// <reference types="winston" />
import { Middleware } from "../interfaces";
import { LoggerOptions } from "winston";
export declare function defaultHttpLoggerHandler(options: LoggerOptions): Middleware;

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

/// <reference types="compression" />
import { BaseOptions } from './options';

@@ -3,0 +2,0 @@ import { CompressionOptions as CompressionOpts } from 'compression';

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

/// <reference types="cors" />
import { BaseOptions } from './options';

@@ -3,0 +2,0 @@ import { CorsOptions as CorsOpts } from 'cors';

{
"name": "fulton-server",
"version": "0.0.25-3",
"version": "0.0.25-beta.0",
"description": "Fulton is the best practical way to build web apis or websites we have done in our company. Basically, Fulton is integrated many popular libraries or frameworks seamlessly. By use Fulton, developers can build a completed web api or a websites quickly.",

@@ -9,3 +9,3 @@ "main": "./main.js",

"clean": "rimraf ./build",
"build": "npm run clean && tsc -p tsconfig-prod.json && circular-require ./main.js",
"build": "npm run clean && tsc -p tsconfig-prod.json && npm run copyTypes && circular-require ./main.js",
"build:test": "npm run clean && tsc -p tsconfig.json",

@@ -20,2 +20,3 @@ "build:live": "npm run clean && tsc -w -p tsconfig-prod.json",

"test:debug:host": "node --inspect-brk=9229 -r ts-node/register ./spec/host.ts",
"copyTypes" : "cp -r ./types ./build",
"coverage": "nyc npm test"

@@ -22,0 +23,0 @@ },

import * as express from "express";
import { inject as inversifyInject, injectable as inversifyInjectable, optional as inversifyOptional, interfaces } from "inversify";
import { Entity, ObjectIdColumn, Column, ManyToMany, PrimaryColumn, PrimaryGeneratedColumn, ManyToOne, OneToMany, OneToOne } from "typeorm";
/**

@@ -17,38 +16,2 @@ * alias for inversify.injectable

/**
* alias for typeorm.Entity
*/
export declare const entity: typeof Entity;
/**
* alias for typeorm.ObjectIdColumn
*/
export declare const objectIdColumn: typeof ObjectIdColumn;
/**
* alias for typeorm.PrimaryColumn
*/
export declare const primaryColumn: typeof PrimaryColumn;
/**
* alias for typeorm.PrimaryColumn
*/
export declare const primaryGeneratedColumn: typeof PrimaryGeneratedColumn;
/**
* alias for typeorm.Column
*/
export declare const column: typeof Column;
/**
* alias for typeorm.ManyToMany
*/
export declare const manyToMany: typeof ManyToMany;
/**
* alias for typeorm.ManyToOne
*/
export declare const manyToOne: typeof ManyToOne;
/**
* alias for typeorm.OneToMany
*/
export declare const oneToMany: typeof OneToMany;
/**
* alias for typeorm.OneToOne
*/
export declare const oneToOne: typeof OneToOne;
/**
* alias for inversify.interfaces.Container

@@ -55,0 +18,0 @@ */

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const inversify_1 = require("inversify");
const typeorm_1 = require("typeorm");
/**

@@ -17,37 +16,15 @@ * alias for inversify.injectable

exports.optional = inversify_1.optional;
/**
* alias for typeorm.Entity
*/
exports.entity = typeorm_1.Entity;
/**
* alias for typeorm.ObjectIdColumn
*/
exports.objectIdColumn = typeorm_1.ObjectIdColumn;
/**
* alias for typeorm.PrimaryColumn
*/
exports.primaryColumn = typeorm_1.PrimaryColumn;
/**
* alias for typeorm.PrimaryColumn
*/
exports.primaryGeneratedColumn = typeorm_1.PrimaryGeneratedColumn;
/**
* alias for typeorm.Column
*/
exports.column = typeorm_1.Column;
/**
* alias for typeorm.ManyToMany
*/
exports.manyToMany = typeorm_1.ManyToMany;
/**
* alias for typeorm.ManyToOne
*/
exports.manyToOne = typeorm_1.ManyToOne;
/**
* alias for typeorm.OneToMany
*/
exports.oneToMany = typeorm_1.OneToMany;
/**
* alias for typeorm.OneToOne
*/
exports.oneToOne = typeorm_1.OneToOne;
// rename typeorm functions
try {
let { Entity, ObjectIdColumn, Column, ManyToMany, PrimaryColumn, PrimaryGeneratedColumn, ManyToOne, OneToMany, OneToOne } = require("typeorm");
module.exports.entity = Entity;
module.exports.objectIdColumn = ObjectIdColumn;
module.exports.column = Column;
module.exports.manyToMany = ManyToMany;
module.exports.primaryColumn = PrimaryColumn;
module.exports.primaryGeneratedColumn = PrimaryGeneratedColumn;
module.exports.manyToOne = ManyToOne;
module.exports.oneToMany = OneToMany;
module.exports.oneToOne = OneToOne;
}
catch (error) { }

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

if (this.options.extraVariables) {
Object.assign(msg.email.variables, this.options.extraVariables);
Object.assign(msg.email.variables || {}, this.options.extraVariables);
}

@@ -23,0 +23,0 @@ tasks.push(this.emailService.send(msg.email));

/// <reference types="node" />
/// <reference types="request" />
import { Headers, OptionsWithUrl } from 'request';

@@ -4,0 +3,0 @@ import { ClientResponse } from 'http';

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc