New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bundless

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bundless - npm Package Compare versions

Comparing version 0.0.38 to 0.0.39

typings/globals/es6-shim/index.d.ts

6

package.json
{
"name": "bundless",
"version": "0.0.38",
"version": "0.0.39",
"description": "Experimental bundle-free dependency loader",

@@ -45,7 +45,7 @@ "main": "./dist/src/index.js",

"mocha-loader": "0.7.1",
"rimraf": "2.5.3",
"rimraf": "2.5.4",
"source-map-support": "0.4.2",
"tmp": "0.0.28",
"typescript": "1.8.10",
"typings": "1.3.1"
"typings": "1.3.2"
},

@@ -52,0 +52,0 @@ "dependencies": {

{
"dependencies": {
"bluebird": "registry:npm/bluebird#3.3.4+20160531224558",
"chai": "registry:npm/chai#3.5.0+20160415060238",
"lodash": "registry:npm/lodash#4.0.0+20160416211519",
"mime": "registry:npm/mime#1.3.0+20160423043021",
"bluebird": "registry:npm/bluebird#3.3.4+20160723033700",
"lodash": "registry:npm/lodash#4.0.0+20160723033700",
"mime": "registry:npm/mime#1.3.0+20160723033700",
"object-assign": "registry:npm/object-assign#4.0.1+20160301180549",
"semver": "registry:npm/semver#5.0.0+20160211003958",
"sinon": "registry:npm/sinon#1.16.0+20160427193336",
"sinon-chai": "registry:npm/sinon-chai#2.8.0+20160310030142"
"semver": "registry:npm/semver#5.0.0+20160723033700"
},
"globalDependencies": {
"express": "registry:dt/express#4.0.0+20160317120654",
"express-serve-static-core": "registry:dt/express-serve-static-core#0.0.0+20160322035842",
"fs-extra": "registry:dt/fs-extra#0.0.0+20160319124112",
"karma": "registry:dt/karma#0.13.9+20160501125529",
"log4js": "registry:dt/log4js#0.0.0+20160316155526",
"mocha": "registry:dt/mocha#2.2.5+20160317120654",
"node": "registry:dt/node#6.0.0+20160514165920",
"serve-static": "registry:dt/serve-static#0.0.0+20160501131543",
"systemjs": "registry:dt/systemjs#0.18.4+20160417155658",
"es6-shim": "registry:dt/es6-shim#0.31.2+20160602141504",
"express": "registry:dt/express#4.0.0+20160708185218",
"express-serve-static-core": "registry:dt/express-serve-static-core#4.0.0+20160715232503",
"node": "registry:dt/node#6.0.0+20160720070758",
"serve-static": "registry:dt/serve-static#0.0.0+20160606155157",
"systemjs": "registry:dt/systemjs#0.19.29+20160702105636"
},
"devDependencies": {
"chai": "registry:npm/chai#3.5.0+20160723033700"
},
"globalDevDependencies": {
"fs-extra": "registry:dt/fs-extra#0.0.0+20160517121359",
"karma": "registry:dt/karma#0.13.9+20160720063042",
"log4js": "registry:dt/log4js#0.0.0+20160608042355",
"mocha": "registry:dt/mocha#2.2.5+20160720003353",
"tmp": "registry:dt/tmp#0.0.0+20160514170650"
},
"ambientDependencies": {
"express": "registry:dt/express#4.0.0+20160708185218"
}
}
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/fb2e78984b7076eda628892770a4314d618ac0d7/express-serve-static-core/express-serve-static-core.d.ts
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/415de78bb5108cd2c58078011819c26aa4fac3f9/express-serve-static-core/express-serve-static-core.d.ts
declare namespace Express {

@@ -15,20 +15,29 @@

interface IRoute {
path: string;
stack: any;
all(...handler: RequestHandler[]): IRoute;
get(...handler: RequestHandler[]): IRoute;
post(...handler: RequestHandler[]): IRoute;
put(...handler: RequestHandler[]): IRoute;
delete(...handler: RequestHandler[]): IRoute;
patch(...handler: RequestHandler[]): IRoute;
options(...handler: RequestHandler[]): IRoute;
head(...handler: RequestHandler[]): IRoute;
interface NextFunction {
(err?: any): void;
}
interface RequestHandler {
(req: Request, res: Response, next: NextFunction): any;
}
interface ErrorRequestHandler {
(err: any, req: Request, res: Response, next: NextFunction): any;
}
type PathParams = string | RegExp | (string | RegExp)[];
type RequestHandlerParams = RequestHandler | ErrorRequestHandler | (RequestHandler | ErrorRequestHandler)[];
interface IRouterMatcher<T> {
(name: string | RegExp, ...handlers: RequestHandler[]): T;
(path: PathParams, ...handlers: RequestHandler[]): T;
(path: PathParams, ...handlers: RequestHandlerParams[]): T;
}
interface IRouter<T> extends RequestHandler {
interface IRouterHandler<T> {
(...handlers: RequestHandler[]): T;
(...handlers: RequestHandlerParams[]): T;
}
interface IRouter extends RequestHandler {
/**

@@ -63,7 +72,6 @@ * Map the given param placeholder `name`(s) to the given callback(s).

*/
param(name: string, handler: RequestParamHandler): T;
param(name: string, matcher: RegExp): T;
param(name: string, mapper: (param: any) => any): T;
param(name: string, handler: RequestParamHandler): this;
// Alternatively, you can pass only a callback, in which case you have the opportunity to alter the app.param() API
param(callback: (name: string, matcher: RegExp) => RequestParamHandler): T;
// deprecated since express 4.11.0
param(callback: (name: string, matcher: RegExp) => RequestParamHandler): this;

@@ -77,26 +85,30 @@ /**

*/
all: IRouterMatcher<T>;
get: IRouterMatcher<T>;
post: IRouterMatcher<T>;
put: IRouterMatcher<T>;
delete: IRouterMatcher<T>;
patch: IRouterMatcher<T>;
options: IRouterMatcher<T>;
head: IRouterMatcher<T>;
all: IRouterMatcher<this>;
get: IRouterMatcher<this>;
post: IRouterMatcher<this>;
put: IRouterMatcher<this>;
delete: IRouterMatcher<this>;
patch: IRouterMatcher<this>;
options: IRouterMatcher<this>;
head: IRouterMatcher<this>;
route(path: string): IRoute;
use: IRouterHandler<this> & IRouterMatcher<this>;
use(...handler: RequestHandler[]): T;
use(handler: ErrorRequestHandler | RequestHandler): T;
use(path: string, ...handler: RequestHandler[]): T;
use(path: string, handler: ErrorRequestHandler | RequestHandler): T;
use(path: string[], ...handler: RequestHandler[]): T;
use(path: string[], handler: ErrorRequestHandler): T;
use(path: RegExp, ...handler: RequestHandler[]): T;
use(path: RegExp, handler: ErrorRequestHandler): T;
use(path: string, router: Router): T;
route(prefix: PathParams): IRoute;
}
interface IRoute {
path: string;
stack: any;
all: IRouterHandler<this>;
get: IRouterHandler<this>;
post: IRouterHandler<this>;
put: IRouterHandler<this>;
delete: IRouterHandler<this>;
patch: IRouterHandler<this>;
options: IRouterHandler<this>;
head: IRouterHandler<this>;
}
export interface Router extends IRouter<Router> { }
export interface Router extends IRouter { }

@@ -242,2 +254,4 @@ interface CookieOptions {

/**
* @deprecated Use either req.params, req.body or req.query, as applicable.
*
* Return the value of param `name` when present or `defaultValue`.

@@ -374,6 +388,2 @@ *

user: any;
authenticatedUser: any;
/**

@@ -411,3 +421,3 @@ * Clear cookie `name`.

(status: number, body?: any): Response;
(body: any): Response;
(body?: any): Response;
}

@@ -784,20 +794,20 @@

charset: string;
}
interface NextFunction {
(err?: any): void;
/**
* Adds the field to the Vary response header, if it is not there already.
* Examples:
*
* res.vary('User-Agent').render('docs');
*
*/
vary(field: string): Response;
}
interface ErrorRequestHandler {
(err: any, req: Request, res: Response, next: NextFunction): any;
}
interface Handler extends RequestHandler { }
interface RequestParamHandler {
(req: Request, res: Response, next: NextFunction, param: any): any;
(req: Request, res: Response, next: NextFunction, value: any, name: string): any;
}
interface Application extends IRouter<Application>, Express.Application {
interface Application extends IRouter, Express.Application {
/**

@@ -863,7 +873,8 @@ * Initialize the server.

set(setting: string, val: any): Application;
get: {
(name: string): any; // Getter
(name: string | RegExp, ...handlers: RequestHandler[]): Application;
};
get: {(name: string): any;} & IRouterMatcher<this>;
param(name: string | string[], handler: RequestParamHandler): this;
// Alternatively, you can pass only a callback, in which case you have the opportunity to alter the app.param() API
param(callback: (name: string, matcher: RegExp) => RequestParamHandler): this;
/**

@@ -1012,4 +1023,2 @@ * Return the app's absolute pathname

route(path: string): IRoute;
router: string;

@@ -1062,6 +1071,2 @@

}
interface RequestHandler {
(req: Request, res: Response, next: NextFunction): any;
}
}
{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/fb2e78984b7076eda628892770a4314d618ac0d7/express-serve-static-core/express-serve-static-core.d.ts",
"raw": "registry:dt/express-serve-static-core#0.0.0+20160322035842",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/fb2e78984b7076eda628892770a4314d618ac0d7/express-serve-static-core/express-serve-static-core.d.ts"
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/415de78bb5108cd2c58078011819c26aa4fac3f9/express-serve-static-core/express-serve-static-core.d.ts",
"raw": "registry:dt/express-serve-static-core#4.0.0+20160715232503",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/415de78bb5108cd2c58078011819c26aa4fac3f9/express-serve-static-core/express-serve-static-core.d.ts"
}
}
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/express/express.d.ts
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/5fd6d6b4eaabda87d19ad13b7d6709443617ddd8/express/express.d.ts
declare module "express" {

@@ -28,4 +28,5 @@ import * as serveStatic from "serve-static";

interface IRoute extends core.IRoute { }
interface IRouter<T> extends core.IRouter<T> { }
interface IRouter extends core.IRouter { }
interface IRouterMatcher<T> extends core.IRouterMatcher<T> { }
interface IRouterHandler<T> extends core.IRouterHandler<T> { }
interface MediaType extends core.MediaType { }

@@ -32,0 +33,0 @@ interface NextFunction extends core.NextFunction { }

{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/express/express.d.ts",
"raw": "registry:dt/express#4.0.0+20160317120654",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/express/express.d.ts"
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/5fd6d6b4eaabda87d19ad13b7d6709443617ddd8/express/express.d.ts",
"raw": "registry:dt/express#4.0.0+20160708185218",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/5fd6d6b4eaabda87d19ad13b7d6709443617ddd8/express/express.d.ts"
}
}
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/92c93bde1b77bc0a3159d161a7483d54b5f9326d/fs-extra/fs-extra.d.ts
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/2c5c3520d341526c54ca64ca3245d2569dce1d6e/fs-extra/fs-extra.d.ts
declare module "fs-extra" {
import stream = require("stream");
export * from "fs";
export interface Stats {
isFile(): boolean;
isDirectory(): boolean;
isBlockDevice(): boolean;
isCharacterDevice(): boolean;
isSymbolicLink(): boolean;
isFIFO(): boolean;
isSocket(): boolean;
dev: number;
ino: number;
mode: number;
nlink: number;
uid: number;
gid: number;
rdev: number;
size: number;
blksize: number;
blocks: number;
atime: Date;
mtime: Date;
ctime: Date;
}
export interface FSWatcher {
close(): void;
}
export class ReadStream extends stream.Readable { }
export class WriteStream extends stream.Writable { }
//extended methods
export function copy(src: string, dest: string, callback?: (err: Error) => void): void;

@@ -73,4 +42,2 @@ export function copy(src: string, dest: string, filter: CopyFilter, callback?: (err: Error) => void): void;

export function removeSync(dir: string): void;
// export function delete(dir: string, callback?: (err: Error) => void): void;
// export function deleteSync(dir: string): void;

@@ -85,94 +52,18 @@ export function writeJson(file: string, object: any, callback?: (err: Error) => void): void;

export function rename(oldPath: string, newPath: string, callback?: (err: Error) => void): void;
export function renameSync(oldPath: string, newPath: string): void;
export function truncate(fd: number, len: number, callback?: (err: Error) => void): void;
export function truncateSync(fd: number, len: number): void;
export function chown(path: string, uid: number, gid: number, callback?: (err: Error) => void): void;
export function chownSync(path: string, uid: number, gid: number): void;
export function fchown(fd: number, uid: number, gid: number, callback?: (err: Error) => void): void;
export function fchownSync(fd: number, uid: number, gid: number): void;
export function lchown(path: string, uid: number, gid: number, callback?: (err: Error) => void): void;
export function lchownSync(path: string, uid: number, gid: number): void;
export function chmod(path: string, mode: number, callback?: (err: Error) => void): void;
export function chmod(path: string, mode: string, callback?: (err: Error) => void): void;
export function chmodSync(path: string, mode: number): void;
export function chmodSync(path: string, mode: string): void;
export function fchmod(fd: number, mode: number, callback?: (err: Error) => void): void;
export function fchmod(fd: number, mode: string, callback?: (err: Error) => void): void;
export function fchmodSync(fd: number, mode: number): void;
export function fchmodSync(fd: number, mode: string): void;
export function lchmod(path: string, mode: string, callback?: (err: Error) => void): void;
export function lchmod(path: string, mode: number, callback?: (err: Error) => void): void;
export function lchmodSync(path: string, mode: number): void;
export function lchmodSync(path: string, mode: string): void;
export function stat(path: string, callback?: (err: Error, stats: Stats) => void): void;
export function lstat(path: string, callback?: (err: Error, stats: Stats) => void): void;
export function fstat(fd: number, callback?: (err: Error, stats: Stats) => void): void;
export function statSync(path: string): Stats;
export function lstatSync(path: string): Stats;
export function fstatSync(fd: number): Stats;
export function link(srcpath: string, dstpath: string, callback?: (err: Error) => void): void;
export function linkSync(srcpath: string, dstpath: string): void;
export function symlink(srcpath: string, dstpath: string, type?: string, callback?: (err: Error) => void): void;
export function symlinkSync(srcpath: string, dstpath: string, type?: string): void;
export function readlink(path: string, callback?: (err: Error, linkString: string) => void): void;
export function realpath(path: string, callback?: (err: Error, resolvedPath: string) => void): void;
export function realpath(path: string, cache: string, callback: (err: Error, resolvedPath: string) => void): void;
export function realpathSync(path: string, cache?: boolean): string;
export function unlink(path: string, callback?: (err: Error) => void): void;
export function unlinkSync(path: string): void;
export function rmdir(path: string, callback?: (err: Error) => void): void;
export function rmdirSync(path: string): void;
export function mkdir(path: string, mode?: number, callback?: (err: Error) => void): void;
export function mkdir(path: string, mode?: string, callback?: (err: Error) => void): void;
export function mkdirSync(path: string, mode?: number): void;
export function mkdirSync(path: string, mode?: string): void;
export function readdir(path: string, callback?: (err: Error, files: string[]) => void ): void;
export function readdirSync(path: string): string[];
export function close(fd: number, callback?: (err: Error) => void): void;
export function closeSync(fd: number): void;
export function open(path: string, flags: string, mode?: string, callback?: (err: Error, fs: number) => void): void;
export function openSync(path: string, flags: string, mode?: string): number;
export function utimes(path: string, atime: number, mtime: number, callback?: (err: Error) => void): void;
export function utimesSync(path: string, atime: number, mtime: number): void;
export function futimes(fd: number, atime: number, mtime: number, callback?: (err: Error) => void): void;
export function futimesSync(fd: number, atime: number, mtime: number): void;
export function fsync(fd: number, callback?: (err: Error) => void): void;
export function fsyncSync(fd: number): void;
export function write(fd: number, buffer: NodeBuffer, offset: number, length: number, position: number, callback?: (err: Error, written: number, buffer: NodeBuffer) => void): void;
export function writeSync(fd: number, buffer: NodeBuffer, offset: number, length: number, position: number): number;
export function read(fd: number, buffer: NodeBuffer, offset: number, length: number, position: number, callback?: (err: Error, bytesRead: number, buffer: NodeBuffer) => void ): void;
export function readSync(fd: number, buffer: NodeBuffer, offset: number, length: number, position: number): number;
export function readFile(filename: string, encoding: string, callback: (err: Error, data: string) => void ): void;
export function readFile(filename: string, options: OpenOptions, callback: (err: Error, data: string) => void ): void;
export function readFile(filename: string, callback: (err: Error, data: NodeBuffer) => void ): void;
export function readFileSync(filename: string): NodeBuffer;
export function readFileSync(filename: string, encoding: string): string;
export function readFileSync(filename: string, options: OpenOptions): string;
export function writeFile(filename: string, data: any, encoding?: string, callback?: (err: Error) => void): void;
export function writeFile(filename: string, data: any, options?: OpenOptions, callback?: (err: Error) => void): void;
export function writeFileSync(filename: string, data: any, encoding?: string): void;
export function writeFileSync(filename: string, data: any, option?: OpenOptions): void;
export function appendFile(filename: string, data: any, encoding?: string, callback?: (err: Error) => void): void;
export function appendFile(filename: string, data: any,option?: OpenOptions, callback?: (err: Error) => void): void;
export function appendFileSync(filename: string, data: any, encoding?: string): void;
export function appendFileSync(filename: string, data: any, option?: OpenOptions): void;
export function watchFile(filename: string, listener: { curr: Stats; prev: Stats; }): void;
export function watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: { curr: Stats; prev: Stats; }): void;
export function unwatchFile(filename: string, listener?: Stats): void;
export function watch(filename: string, options?: { persistent?: boolean; }, listener?: (event: string, filename: string) => any): FSWatcher;
export function exists(path: string, callback?: (exists: boolean) => void ): void;
export function existsSync(path: string): boolean;
export function ensureDir(path: string, cb: (err: Error) => void): void;
export function ensureDirSync(path: string): void;
export function ensureFile(path: string, cb: (err: Error) => void): void;
export function ensureFileSync(path: string): void;
export function ensureLink(path: string, cb: (err: Error) => void): void;
export function ensureLinkSync(path: string): void;
export function ensureSymlink(path: string, cb: (err: Error) => void): void;
export function ensureSymlinkSync(path: string): void;
export function emptyDir(path: string, callback?: (err: Error) => void): void;
export function emptyDirSync(path: string): boolean;
export interface CopyFilterFunction {
export interface CopyFilterFunction {
(src: string): boolean

@@ -186,2 +77,3 @@ }

preserveTimestamps?: boolean
dereference?: boolean
filter?: CopyFilter

@@ -199,18 +91,2 @@ }

}
export interface ReadStreamOptions {
flags?: string;
encoding?: string;
fd?: number;
mode?: number;
bufferSize?: number;
}
export interface WriteStreamOptions {
flags?: string;
encoding?: string;
string?: string;
}
export function createReadStream(path: string, options?: ReadStreamOptions): ReadStream;
export function createWriteStream(path: string, options?: WriteStreamOptions): WriteStream;
export function createOutputStream(path: string, options?: WriteStreamOptions): WriteStream;
}
{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/92c93bde1b77bc0a3159d161a7483d54b5f9326d/fs-extra/fs-extra.d.ts",
"raw": "registry:dt/fs-extra#0.0.0+20160319124112",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/92c93bde1b77bc0a3159d161a7483d54b5f9326d/fs-extra/fs-extra.d.ts"
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/2c5c3520d341526c54ca64ca3245d2569dce1d6e/fs-extra/fs-extra.d.ts",
"raw": "registry:dt/fs-extra#0.0.0+20160517121359",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/2c5c3520d341526c54ca64ca3245d2569dce1d6e/fs-extra/fs-extra.d.ts"
}
}
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/b13fb549b27f069cb40346a4a835dc7c229aba8b/karma/karma.d.ts
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/a1642cf910b653af24b1d5bd96df850fafc71968/karma/karma.d.ts
declare module 'karma' {

@@ -23,2 +23,3 @@ // See Karma public API https://karma-runner.github.io/0.13/dev/public-api.html

runner: Runner;
stopper: Stopper;
launcher: Launcher;

@@ -53,2 +54,11 @@ VERSION: string;

interface Stopper {
/**
* This function will signal a running server to stop. The equivalent of karma stop.
*/
stop(options?: ConfigOptions, callback?: ServerCallback): void;
}
interface TestResults {

@@ -79,3 +89,3 @@ disconnected: boolean;

on(event: string, listener: Function): this;
/**

@@ -82,0 +92,0 @@ * Listen to the 'run_complete' event.

{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/b13fb549b27f069cb40346a4a835dc7c229aba8b/karma/karma.d.ts",
"raw": "registry:dt/karma#0.13.9+20160501125529",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/b13fb549b27f069cb40346a4a835dc7c229aba8b/karma/karma.d.ts"
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/a1642cf910b653af24b1d5bd96df850fafc71968/karma/karma.d.ts",
"raw": "registry:dt/karma#0.13.9+20160720063042",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/a1642cf910b653af24b1d5bd96df850fafc71968/karma/karma.d.ts"
}
}
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/log4js/log4js.d.ts
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/b6be233cb45c5d9be041591528c57d3c87737db1/log4js/log4js.d.ts
declare module "log4js" {

@@ -56,2 +56,12 @@ import express = require('express');

/**
* Load appender
*
* @param {string} appender type
* @param {AppenderModule} the appender module. by default, require('./appenders/' + appender)
* @returns {void}
* @static
*/
export function loadAppender(appenderType: string, appenderModule?: AppenderModule): void;
/**
* Claer configured appenders

@@ -92,3 +102,23 @@ *

export var layouts: {
basicLayout: Layout,
messagePassThroughLayout: Layout,
patternLayout: Layout,
colouredLayout: Layout,
coloredLayout: Layout,
dummyLayout: Layout,
/**
* Register your custom layout generator
*/
addLayout: (name: string, serializerGenerator: (config?: LayoutConfig) => Layout) => void,
/**
* Get layout. Available predified layout names:
* messagePassThrough, basic, colored, coloured, pattern, dummy
*
*/
layout: (name: string, config: LayoutConfig) => Layout
}
export var appenders: any;

@@ -147,2 +177,3 @@ export var levels: {

category?: string;
layout?: { type: string;[key: string]: any }
}

@@ -253,2 +284,34 @@

type AppenderConfig = CoreAppenderConfig | CustomAppenderConfig;
export interface LogEvent {
/**
* new Date()
*/
startTime: number;
categoryName: string;
data: any[];
level: Level;
logger: Logger;
}
export interface Appender {
(event: LogEvent): void;
}
export interface AppenderModule {
appender: (...args: any[]) => Appender;
shutdown?: (cb: (error: Error) => void) => void;
configure: (config: CustomAppenderConfig, options?: { [key: string]: any }) => Appender;
}
export interface LayoutConfig {
[key: string]: any;
}
export interface LayoutGenerator {
(config?: LayoutConfig): Layout
}
export interface Layout {
(event: LogEvent): string;
}
}
{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/log4js/log4js.d.ts",
"raw": "registry:dt/log4js#0.0.0+20160316155526",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/log4js/log4js.d.ts"
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/b6be233cb45c5d9be041591528c57d3c87737db1/log4js/log4js.d.ts",
"raw": "registry:dt/log4js#0.0.0+20160608042355",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/b6be233cb45c5d9be041591528c57d3c87737db1/log4js/log4js.d.ts"
}
}
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/mocha/mocha.d.ts
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/a361a8ab3c327f208d3f82ad206971d4a63d8c25/mocha/mocha.d.ts
interface MochaSetupOptions {

@@ -29,6 +29,2 @@ //milliseconds to wait before considering a test slow

interface MochaDone {
(error?: Error): void;
}
declare var mocha: Mocha;

@@ -45,52 +41,27 @@ declare var describe: Mocha.IContextDefinition;

declare var test: Mocha.ITestDefinition;
declare var specify: Mocha.ITestDefinition;
declare function before(action: () => void): void;
interface MochaDone {
(error?: any): any;
}
declare function before(action: (done: MochaDone) => void): void;
interface ActionFunction {
(done: MochaDone): any | PromiseLike<any>
}
declare function before(description: string, action: () => void): void;
declare function setup(action: ActionFunction): void;
declare function teardown(action: ActionFunction): void;
declare function suiteSetup(action: ActionFunction): void;
declare function suiteTeardown(action: ActionFunction): void;
declare function before(action: ActionFunction): void;
declare function before(description: string, action: ActionFunction): void;
declare function after(action: ActionFunction): void;
declare function after(description: string, action: ActionFunction): void;
declare function beforeEach(action: ActionFunction): void;
declare function beforeEach(description: string, action: ActionFunction): void;
declare function afterEach(action: ActionFunction): void;
declare function afterEach(description: string, action: ActionFunction): void;
declare function before(description: string, action: (done: MochaDone) => void): void;
declare function setup(action: () => void): void;
declare function setup(action: (done: MochaDone) => void): void;
declare function after(action: () => void): void;
declare function after(action: (done: MochaDone) => void): void;
declare function after(description: string, action: () => void): void;
declare function after(description: string, action: (done: MochaDone) => void): void;
declare function teardown(action: () => void): void;
declare function teardown(action: (done: MochaDone) => void): void;
declare function beforeEach(action: () => void): void;
declare function beforeEach(action: (done: MochaDone) => void): void;
declare function beforeEach(description: string, action: () => void): void;
declare function beforeEach(description: string, action: (done: MochaDone) => void): void;
declare function suiteSetup(action: () => void): void;
declare function suiteSetup(action: (done: MochaDone) => void): void;
declare function afterEach(action: () => void): void;
declare function afterEach(action: (done: MochaDone) => void): void;
declare function afterEach(description: string, action: () => void): void;
declare function afterEach(description: string, action: (done: MochaDone) => void): void;
declare function suiteTeardown(action: () => void): void;
declare function suiteTeardown(action: (done: MochaDone) => void): void;
declare class Mocha {
currentTest: Mocha.ITestDefinition;
constructor(options?: {

@@ -177,9 +148,7 @@ grep?: RegExp;

interface ITestDefinition {
(expectation: string, assertion?: () => void): ITest;
(expectation: string, assertion?: (done: MochaDone) => void): ITest;
only(expectation: string, assertion?: () => void): ITest;
only(expectation: string, assertion?: (done: MochaDone) => void): ITest;
skip(expectation: string, assertion?: () => void): void;
skip(expectation: string, assertion?: (done: MochaDone) => void): void;
(expectation: string, assertion?: ActionFunction): ITest;
only(expectation: string, assertion?: ActionFunction): ITest;
skip(expectation: string, assertion?: ActionFunction): void;
timeout(ms: number): void;
state: "failed" | "passed";
}

@@ -186,0 +155,0 @@

{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/mocha/mocha.d.ts",
"raw": "registry:dt/mocha#2.2.5+20160317120654",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/mocha/mocha.d.ts"
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/a361a8ab3c327f208d3f82ad206971d4a63d8c25/mocha/mocha.d.ts",
"raw": "registry:dt/mocha#2.2.5+20160720003353",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/a361a8ab3c327f208d3f82ad206971d4a63d8c25/mocha/mocha.d.ts"
}
}
{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/eeede9d1ad03e27fe3537334c17ff09a77ac5819/node/node.d.ts",
"raw": "registry:dt/node#6.0.0+20160514165920",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/eeede9d1ad03e27fe3537334c17ff09a77ac5819/node/node.d.ts"
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/91d45c49a3b5cd6a0abbf5f319c1406fd4f2b1e7/node/node.d.ts",
"raw": "registry:dt/node#6.0.0+20160720070758",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/91d45c49a3b5cd6a0abbf5f319c1406fd4f2b1e7/node/node.d.ts"
}
}
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/25fde56c8d1ba7aa5fb700e928f5413e047561f3/serve-static/serve-static.d.ts
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/26a1f8c44f5fe76168df717020bfb93839b63db3/serve-static/serve-static.d.ts
declare module "serve-static" {

@@ -11,67 +11,68 @@ import * as express from "express-serve-static-core";

*/
function serveStatic(root: string, options?: {
/**
* Set how "dotfiles" are treated when encountered. A dotfile is a file or directory that begins with a dot (".").
* Note this check is done on the path itself without checking if the path actually exists on the disk.
* If root is specified, only the dotfiles above the root are checked (i.e. the root itself can be within a dotfile when when set to "deny").
* The default value is 'ignore'.
* 'allow' No special treatment for dotfiles
* 'deny' Send a 403 for any request for a dotfile
* 'ignore' Pretend like the dotfile does not exist and call next()
*/
dotfiles?: string;
function serveStatic(root: string, options?: serveStatic.ServeStaticOptions): express.Handler;
/**
* Enable or disable etag generation, defaults to true.
*/
etag?: boolean;
import * as m from "mime";
/**
* Set file extension fallbacks. When set, if a file is not found, the given extensions will be added to the file name and search for.
* The first that exists will be served. Example: ['html', 'htm'].
* The default value is false.
*/
extensions?: string[];
/**
* Let client errors fall-through as unhandled requests, otherwise forward a client error.
* The default value is false.
*/
fallthrough?: boolean;
/**
* By default this module will send "index.html" files in response to a request on a directory.
* To disable this set false or to supply a new index pass a string or an array in preferred order.
*/
index?: boolean|string|string[];
namespace serveStatic {
var mime: typeof m;
interface ServeStaticOptions {
/**
* Set how "dotfiles" are treated when encountered. A dotfile is a file or directory that begins with a dot (".").
* Note this check is done on the path itself without checking if the path actually exists on the disk.
* If root is specified, only the dotfiles above the root are checked (i.e. the root itself can be within a dotfile when when set to "deny").
* The default value is 'ignore'.
* 'allow' No special treatment for dotfiles
* 'deny' Send a 403 for any request for a dotfile
* 'ignore' Pretend like the dotfile does not exist and call next()
*/
dotfiles?: string;
/**
* Enable or disable Last-Modified header, defaults to true. Uses the file system's last modified value.
*/
lastModified?: boolean;
/**
* Enable or disable etag generation, defaults to true.
*/
etag?: boolean;
/**
* Provide a max-age in milliseconds for http caching, defaults to 0. This can also be a string accepted by the ms module.
*/
maxAge?: number|string;
/**
* Set file extension fallbacks. When set, if a file is not found, the given extensions will be added to the file name and search for.
* The first that exists will be served. Example: ['html', 'htm'].
* The default value is false.
*/
extensions?: string[];
/**
* Redirect to trailing "/" when the pathname is a dir. Defaults to true.
*/
redirect?: boolean;
/**
* Let client errors fall-through as unhandled requests, otherwise forward a client error.
* The default value is false.
*/
fallthrough?: boolean;
/**
* Function to set custom headers on response. Alterations to the headers need to occur synchronously.
* The function is called as fn(res, path, stat), where the arguments are:
* res the response object
* path the file path that is being sent
* stat the stat object of the file that is being sent
*/
setHeaders?: (res: express.Response, path: string, stat: any) => any;
}): express.Handler;
/**
* By default this module will send "index.html" files in response to a request on a directory.
* To disable this set false or to supply a new index pass a string or an array in preferred order.
*/
index?: boolean|string|string[];
import * as m from "mime";
/**
* Enable or disable Last-Modified header, defaults to true. Uses the file system's last modified value.
*/
lastModified?: boolean;
namespace serveStatic {
var mime: typeof m;
/**
* Provide a max-age in milliseconds for http caching, defaults to 0. This can also be a string accepted by the ms module.
*/
maxAge?: number|string;
/**
* Redirect to trailing "/" when the pathname is a dir. Defaults to true.
*/
redirect?: boolean;
/**
* Function to set custom headers on response. Alterations to the headers need to occur synchronously.
* The function is called as fn(res, path, stat), where the arguments are:
* res the response object
* path the file path that is being sent
* stat the stat object of the file that is being sent
*/
setHeaders?: (res: express.Response, path: string, stat: any) => any;
}
}

@@ -78,0 +79,0 @@

{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/25fde56c8d1ba7aa5fb700e928f5413e047561f3/serve-static/serve-static.d.ts",
"raw": "registry:dt/serve-static#0.0.0+20160501131543",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/25fde56c8d1ba7aa5fb700e928f5413e047561f3/serve-static/serve-static.d.ts"
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/26a1f8c44f5fe76168df717020bfb93839b63db3/serve-static/serve-static.d.ts",
"raw": "registry:dt/serve-static#0.0.0+20160606155157",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/26a1f8c44f5fe76168df717020bfb93839b63db3/serve-static/serve-static.d.ts"
}
}
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/12dac7db6491f9190af8585ece7e552c9a33ca96/systemjs/systemjs.d.ts
interface System {
import(name: string): any;
defined: any;
amdDefine: () => void;
amdRequire: () => void;
baseURL: string;
paths: { [key: string]: string };
meta: { [key: string]: Object };
config: any;
_nodeRequire: (name: string) => any;
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/97673cf1ac0264e750319d392392b206ae5d35c9/systemjs/systemjs.d.ts
declare namespace SystemJSLoader {
type ModulesList = { [bundleName: string]: Array<string> };
type PackageList<T> = { [packageName: string]: T };
/**
* The following module formats are supported:
*
* - esm: ECMAScript Module (previously referred to as es6)
* - cjs: CommonJS
* - amd: Asynchronous Module Definition
* - global: Global shim module format
* - register: System.register or System.registerDynamic compatibility module format
*
*/
type ModuleFormat = "esm" | "cjs" | "amd" | "global" | "register";
/**
* Sets the module name of the transpiler to be used for loading ES6 modules.
* Represents a module name for System.import that must resolve to either Traceur, Babel or TypeScript.
* When set to traceur, babel or typescript, loading will be automatically configured as far as possible.
*/
type Transpiler = "plugin-traceur" | "plugin-babel" | "plugin-typescript" | "traceur" | "babel" | "typescript" | boolean;
type ConfigMap = PackageList<string>;
type ConfigMeta = PackageList<MetaConfig>;
interface MetaConfig {
/**
* Sets in what format the module is loaded.
*/
format?: ModuleFormat;
/**
* For the global format, when automatic detection of exports is not enough, a custom exports meta value can be set.
* This tells the loader what global name to use as the module's export value.
*/
exports?: string;
/**
* Dependencies to load before this module. Goes through regular paths and map normalization.
* Only supported for the cjs, amd and global formats.
*/
deps?: Array<string>;
/**
* A map of global names to module names that should be defined only for the execution of this module.
* Enables use of legacy code that expects certain globals to be present.
* Referenced modules automatically becomes dependencies. Only supported for the cjs and global formats.
*/
globals?: string;
/**
* Set a loader for this meta path.
*/
loader?: string;
/**
* For plugin transpilers to set the source map of their transpilation.
*/
sourceMap?: any;
/**
* Load the module using <script> tag injection.
*/
scriptLoad?: boolean;
/**
* The nonce attribute to use when loading the script as a way to enable CSP.
* This should correspond to the "nonce-" attribute set in the Content-Security-Policy header.
*/
nonce?: string;
/**
* The subresource integrity attribute corresponding to the script integrity,
* describing the expected hash of the final code to be executed.
* For example, System.config({ meta: { 'src/example.js': { integrity: 'sha256-e3b0c44...' }});
* would throw an error if the translated source of src/example.js doesn't match the expected hash.
*/
integrity?: string;
/**
* When scripts are loaded from a different domain (e.g. CDN) the global error handler (window.onerror)
* has very limited information about errors to prevent unintended leaking. In order to mitigate this,
* the <script> tags need to set crossorigin attribute and the server needs to enable CORS.
* The valid values are "anonymous" and "use-credentials".
*/
crossOrigin?: string;
/**
* When loading a module that is not an ECMAScript Module, we set the module as the default export,
* but then also iterate the module object and copy named exports for it a well.
* Use this option to disable this iteration and copying of the exports.
*/
esmExports?: boolean;
/**
* To ignore resources that shouldn't be traced as part of the build.
* Use with the SystemJS Builder. (https://github.com/systemjs/builder#ignore-resources)
*/
build?: boolean;
}
interface PackageConfig {
/**
* The main entry point of the package (so import 'local/package' is equivalent to import 'local/package/index.js')
*/
main?: string;
/**
* The module format of the package. See Module Formats.
*/
format?: ModuleFormat;
/**
* The default extension to add to modules requested within the package. Takes preference over defaultJSExtensions.
* Can be set to defaultExtension: false to optionally opt-out of extension-adding when defaultJSExtensions is enabled.
*/
defaultExtension?: boolean | string;
/**
* Local and relative map configurations scoped to the package. Apply for subpaths as well.
*/
map?: ConfigMap;
/**
* Module meta provides an API for SystemJS to understand how to load modules correctly.
* Package-scoped meta configuration with wildcard support. Modules are subpaths within the package path.
* This also provides an opt-out mechanism for defaultExtension, by adding modules here that should skip extension adding.
*/
meta?: ConfigMeta;
}
interface TraceurOptions {
properTailCalls?: boolean;
symbols?: boolean;
arrayComprehension?: boolean;
asyncFunctions?: boolean;
asyncGenerators?: any;
forOn?: boolean;
generatorComprehension?: boolean;
}
interface Config {
/**
* For custom config names
*/
[customName: string]: any;
/**
* The baseURL provides a special mechanism for loading modules relative to a standard reference URL.
*/
baseURL?: string;
/**
* Set the Babel transpiler options when System.transpiler is set to babel.
*/
//TODO: Import BabelCore.TransformOptions
babelOptions?: any;
/**
* undles allow a collection of modules to be downloaded together as a package whenever any module from that collection is requested.
* Useful for splitting an application into sub-modules for production. Use with the SystemJS Builder.
*/
bundles?: ModulesList;
/**
* Backwards-compatibility mode for the loader to automatically add '.js' extensions when not present to module requests.
* This allows code written for SystemJS 0.16 or less to work easily in the latest version:
*/
defaultJSExtensions?: boolean;
/**
* An alternative to bundling providing a solution to the latency issue of progressively loading dependencies.
* When a module specified in depCache is loaded, asynchronous loading of its pre-cached dependency list begins in parallel.
*/
depCache?: ModulesList;
/**
* The map option is similar to paths, but acts very early in the normalization process.
* It allows you to map a module alias to a location or package:
*/
map?: ConfigMap;
/**
* Module meta provides an API for SystemJS to understand how to load modules correctly.
* Meta is how we set the module format of a module, or know how to shim dependencies of a global script.
*/
meta?: ConfigMeta;
/**
* Packages provide a convenience for setting meta and map configuration that is specific to a common path.
* In addition packages allow for setting contextual map configuration which only applies within the package itself.
* This allows for full dependency encapsulation without always needing to have all dependencies in a global namespace.
*/
packages?: PackageList<PackageConfig>;
/**
* The ES6 Module Loader paths implementation, applied after normalization and supporting subpaths via wildcards.
* It is usually advisable to use map configuration over paths unless you need strict control over normalized module names.
*/
paths?: PackageList<string>;
/**
* Set the Traceur compilation options.
*/
traceurOptions?: TraceurOptions;
/**
* Sets the module name of the transpiler to be used for loading ES6 modules.
*/
transpiler?: Transpiler;
trace?: boolean;
/**
* Sets the TypeScript transpiler options.
*/
//TODO: Import Typescript.CompilerOptions
typescriptOptions?: any;
}
interface SystemJSSystemFields {
env: string;
loaderErrorStack: boolean;
packageConfigPaths: Array<string>;
pluginFirst: boolean;
version: string;
warnings: boolean;
}
interface System extends Config, SystemJSSystemFields {
/**
* For backwards-compatibility with AMD environments, set window.define = System.amdDefine.
*/
amdDefine: Function;
/**
* For backwards-compatibility with AMD environments, set window.require = System.amdRequire.
*/
amdRequire: Function;
/**
* SystemJS configuration helper function.
* Once SystemJS has loaded, configuration can be set on SystemJS by using the configuration function System.config.
*/
config(config: Config): void;
/**
* This represents the System base class, which can be extended or reinstantiated to create a custom System instance.
*/
constructor(): System;
/**
* Deletes a module from the registry by normalized name.
*/
delete(moduleName: string): void;
/**
* Returns a module from the registry by normalized name.
*/
get(moduleName: string): any;
get<TModule>(moduleName: string): TModule;
/**
* Returns whether a given module exists in the registry by normalized module name.
*/
has(moduleName: string): boolean;
/**
* Loads a module by name taking an optional normalized parent name argument.
* Promise resolves to the module value.
*/
import(moduleName: string, normalizedParentName?: string): Promise<any>;
import<TModule>(moduleName: string, normalizedParentName?: string): Promise<TModule>;
/**
* Given a plain JavaScript object, return an equivalent Module object.
* Useful when writing a custom instantiate hook or using System.set.
*/
newModule(object: any): any;
newModule<TModule>(object: any): TModule;
/**
* Declaration function for defining modules of the System.register polyfill module format.
*/
register(name: string, deps: Array<string>, declare: Function): void;
register(deps: Array<string>, declare: Function): void;
/**
* Companion module format to System.register for non-ES6 modules.
* Provides a <script>-injection-compatible module format that any CommonJS or Global module can be converted into for CSP compatibility.
*/
registerDynamic(name: string, deps: Array<string>, executingRequire: boolean, declare: Function): void;
registerDynamic(deps: Array<string>, executingRequire: boolean, declare: Function): void;
/**
* Sets a module into the registry directly and synchronously.
* Typically used along with System.newModule to create a valid Module object:
*/
set(moduleName: string, module: any): void;
/**
* In CommonJS environments, SystemJS will substitute the global require as needed by the module format being
* loaded to ensure the correct detection paths in loaded code.
* The CommonJS require can be recovered within these modules from System._nodeRequire.
*/
_nodeRequire: Function;
/**
* Modules list available only with trace=true
*/
loads: PackageList<any>;
}
}
declare var System: System;
declare var SystemJS: SystemJSLoader.System;
/**
* @deprecated use SystemJS https://github.com/systemjs/systemjs/releases/tag/0.19.10
*/
declare var System: SystemJSLoader.System;
declare module "systemjs" {
export = System;
import systemJSLoader = SystemJSLoader;
let system: systemJSLoader.System;
export = system;
}
{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/12dac7db6491f9190af8585ece7e552c9a33ca96/systemjs/systemjs.d.ts",
"raw": "registry:dt/systemjs#0.18.4+20160417155658",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/12dac7db6491f9190af8585ece7e552c9a33ca96/systemjs/systemjs.d.ts"
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/97673cf1ac0264e750319d392392b206ae5d35c9/systemjs/systemjs.d.ts",
"raw": "registry:dt/systemjs#0.19.29+20160702105636",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/97673cf1ac0264e750319d392392b206ae5d35c9/systemjs/systemjs.d.ts"
}
}

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

/// <reference path="globals/es6-shim/index.d.ts" />
/// <reference path="globals/express-serve-static-core/index.d.ts" />

@@ -17,3 +18,1 @@ /// <reference path="globals/express/index.d.ts" />

/// <reference path="modules/semver/index.d.ts" />
/// <reference path="modules/sinon-chai/index.d.ts" />
/// <reference path="modules/sinon/index.d.ts" />
// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-bluebird/b3a2c0cd5869fac056c2ce69ed5d76023b8eb472/bluebird.d.ts
// Source: https://raw.githubusercontent.com/types/npm-bluebird/c21916025bd715514153b049e2a096ca9fbdee8e/bluebird.d.ts
declare module 'bluebird' {

@@ -11,3 +11,3 @@ // Type definitions for Bluebird v3.x.x

*/
constructor(callback: (resolve: (thenableOrResult: R | Bluebird.Thenable<R>) => void, reject: (error: any) => void) => void);
constructor(callback: (resolve: (thenableOrResult?: R | Bluebird.Thenable<R>) => void, reject: (error?: any) => void) => void);

@@ -376,7 +376,7 @@ /**

// array with promises of different types
static all<T1, T2, T3, T4, T5>(values: [Bluebird.Thenable<T1> | T1, Bluebird.Thenable<T2> | T2, Bluebird.Thenable<T3> | T3, Bluebird.Thenable<T4> | T4, Bluebird.Thenable<T5> | T5]): Bluebird<[T1, T2, T3, T4, T5]>;
static all<T1, T2, T3, T4>(values: [Bluebird.Thenable<T1> | T1, Bluebird.Thenable<T2> | T2, Bluebird.Thenable<T3> | T3, Bluebird.Thenable<T4> | T4]): Bluebird<[T1, T2, T3, T4]>;
static all<T1, T2, T3>(values: [Bluebird.Thenable<T1> | T1, Bluebird.Thenable<T2> | T2, Bluebird.Thenable<T3> | T3]): Bluebird<[T1, T2, T3]>;
static all<T1, T2>(values: [Bluebird.Thenable<T1> | T1, Bluebird.Thenable<T2> | T2]): Bluebird<[T1, T2]>;
static all<T1>(values: [Bluebird.Thenable<T1> | T1]): Bluebird<[T1]>;
static all<T1, T2>(values: [Bluebird.Thenable<T1> | T1, Bluebird.Thenable<T2> | T2]): Bluebird<[T1, T2]>;
static all<T1, T2, T3>(values: [Bluebird.Thenable<T1> | T1, Bluebird.Thenable<T2> | T2, Bluebird.Thenable<T3> | T3]): Bluebird<[T1, T2, T3]>;
static all<T1, T2, T3, T4>(values: [Bluebird.Thenable<T1> | T1, Bluebird.Thenable<T2> | T2, Bluebird.Thenable<T3> | T3, Bluebird.Thenable<T4> | T4]): Bluebird<[T1, T2, T3, T4]>;
static all<T1, T2, T3, T4, T5>(values: [Bluebird.Thenable<T1> | T1, Bluebird.Thenable<T2> | T2, Bluebird.Thenable<T3> | T3, Bluebird.Thenable<T4> | T4, Bluebird.Thenable<T5> | T5]): Bluebird<[T1, T2, T3, T4, T5]>;
// array with values

@@ -383,0 +383,0 @@ static all<R>(values: ((R | Bluebird.Thenable<R>) | Bluebird.Thenable<(R | Bluebird.Thenable<R>)>)[]): Bluebird<R[]>;

{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/typed-typings/npm-bluebird/b3a2c0cd5869fac056c2ce69ed5d76023b8eb472/typings.json",
"raw": "registry:npm/bluebird#3.3.4+20160531224558",
"src": "https://raw.githubusercontent.com/types/npm-bluebird/c21916025bd715514153b049e2a096ca9fbdee8e/typings.json",
"raw": "registry:npm/bluebird#3.3.4+20160723033700",
"main": "bluebird.d.ts",

@@ -7,0 +7,0 @@ "version": "3.3.4",

@@ -27,3 +27,3 @@ // Generated by typings

// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Assert.d.ts
// Source: https://raw.githubusercontent.com/types/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Assert.d.ts
declare module '~chai/lib/Assert' {

@@ -187,3 +187,3 @@ export interface AssertStatic extends Assert {

// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Assertion.d.ts
// Source: https://raw.githubusercontent.com/types/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Assertion.d.ts
declare module '~chai/lib/Assertion' {

@@ -390,3 +390,3 @@ export interface AssertionStatic {

// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Expect.d.ts
// Source: https://raw.githubusercontent.com/types/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Expect.d.ts
declare module '~chai/lib/Expect' {

@@ -404,3 +404,3 @@ import {AssertionStatic} from '~chai/lib/Assertion';

// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Should.d.ts
// Source: https://raw.githubusercontent.com/types/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Should.d.ts
declare module '~chai/lib/Should' {

@@ -430,3 +430,3 @@ export interface Should extends ShouldAssertion {

// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Config.d.ts
// Source: https://raw.githubusercontent.com/types/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Config.d.ts
declare module '~chai/lib/Config' {

@@ -444,3 +444,3 @@ export interface Config {

// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Utils.d.ts
// Source: https://raw.githubusercontent.com/types/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Utils.d.ts
declare module '~chai/lib/Utils' {

@@ -480,3 +480,3 @@ import {Assertion} from '~chai/lib/Assertion';

// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Chai.d.ts
// Source: https://raw.githubusercontent.com/types/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/lib/Chai.d.ts
declare module '~chai/lib/Chai' {

@@ -523,3 +523,3 @@ import * as AE from '~chai~assertion-error';

// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/index.d.ts
// Source: https://raw.githubusercontent.com/types/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/index.d.ts
declare module 'chai' {

@@ -526,0 +526,0 @@ // Type definitions for chai 3.4.0

{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/typed-typings/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/typings.json",
"raw": "registry:npm/chai#3.5.0+20160415060238",
"src": "https://raw.githubusercontent.com/types/npm-chai/793bee097a6a644e078a033603d88ac89eb7b560/typings.json",
"raw": "registry:npm/chai#3.5.0+20160723033700",
"main": "index.d.ts",

@@ -7,0 +7,0 @@ "global": false,

{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/typed-typings/npm-lodash/7ccf9dc406a792d702067f4eab0fa8df4109fcaa/typings.json",
"raw": "registry:npm/lodash#4.0.0+20160416211519",
"src": "https://raw.githubusercontent.com/types/npm-lodash/9b83559bbd3454f0cd9e4020c920e36eee80d5a3/typings.json",
"raw": "registry:npm/lodash#4.0.0+20160723033700",
"main": "index.d.ts",

@@ -7,0 +7,0 @@ "version": "4.0.0",

// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-mime/c7c5810698b7eaa421702a53644a8963d372f758/mime.d.ts
// Source: https://raw.githubusercontent.com/types/npm-mime/c7c5810698b7eaa421702a53644a8963d372f758/mime.d.ts
declare module 'mime' {

@@ -4,0 +4,0 @@ class Mime {

{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/typed-typings/npm-mime/c7c5810698b7eaa421702a53644a8963d372f758/typings.json",
"raw": "registry:npm/mime#1.3.0+20160423043021",
"src": "https://raw.githubusercontent.com/types/npm-mime/c7c5810698b7eaa421702a53644a8963d372f758/typings.json",
"raw": "registry:npm/mime#1.3.0+20160723033700",
"main": "mime.d.ts",

@@ -7,0 +7,0 @@ "version": "^1.3.0",

// Generated by typings
// Source: https://raw.githubusercontent.com/typed-typings/npm-semver/e98b40dcb906211d06ea8272570719777cece453/semver.d.ts
// Source: https://raw.githubusercontent.com/types/npm-semver/e98b40dcb906211d06ea8272570719777cece453/semver.d.ts
declare module 'semver' {

@@ -4,0 +4,0 @@ /**

{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/typed-typings/npm-semver/e98b40dcb906211d06ea8272570719777cece453/typings.json",
"raw": "registry:npm/semver#5.0.0+20160211003958",
"src": "https://raw.githubusercontent.com/types/npm-semver/e98b40dcb906211d06ea8272570719777cece453/typings.json",
"raw": "registry:npm/semver#5.0.0+20160723033700",
"main": "semver.d.ts",

@@ -7,0 +7,0 @@ "global": false,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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