Comparing version 1.8.1 to 1.8.3
@@ -1,2 +0,2 @@ | ||
/* Brolog version 1.8.1 */ | ||
/* Brolog version 1.8.3 */ | ||
(function (global, factory) { | ||
@@ -71,7 +71,7 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
* Brolog JavaScript Library v1.1.0 | ||
* https://github.com/zixia/brolog | ||
* https://github.com/huan/brolog | ||
* | ||
* Copyright Huan LI <zixia@zixia.net> | ||
* Released under the ISC license | ||
* https://github.com/zixia/brolog/blob/master/LICENSE | ||
* https://github.com/huan/brolog/blob/master/LICENSE | ||
* | ||
@@ -394,3 +394,3 @@ * Date: 2016-07 | ||
}))); | ||
/* https://github.com/zixia */ | ||
/* https://github.com/huan */ | ||
//# sourceMappingURL=brolog.es6.umd.js.map |
@@ -1,2 +0,2 @@ | ||
/* Brolog version 1.8.1 */ | ||
/* Brolog version 1.8.3 */ | ||
(function (global, factory) { | ||
@@ -70,7 +70,7 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
* Brolog JavaScript Library v1.1.0 | ||
* https://github.com/zixia/brolog | ||
* https://github.com/huan/brolog | ||
* | ||
* Copyright Huan LI <zixia@zixia.net> | ||
* Released under the ISC license | ||
* https://github.com/zixia/brolog/blob/master/LICENSE | ||
* https://github.com/huan/brolog/blob/master/LICENSE | ||
* | ||
@@ -431,3 +431,3 @@ * Date: 2016-07 | ||
}))); | ||
/* https://github.com/zixia */ | ||
/* https://github.com/huan */ | ||
//# sourceMappingURL=brolog.es6.umd.js.map |
@@ -0,1 +1,2 @@ | ||
#!/usr/bin/env ts-node | ||
export {}; |
@@ -0,1 +1,2 @@ | ||
#!/usr/bin/env ts-node | ||
export {}; |
@@ -0,1 +1,11 @@ | ||
/*! | ||
* Brolog JavaScript Library v1.1.0 | ||
* https://github.com/huan/brolog | ||
* | ||
* Copyright Huan LI <zixia@zixia.net> | ||
* Released under the ISC license | ||
* https://github.com/huan/brolog/blob/master/LICENSE | ||
* | ||
* Date: 2016-07 | ||
*/ | ||
import { VERSION } from './config'; | ||
@@ -10,3 +20,3 @@ export declare type LogLevelTitle = 'ERR' | 'WARN' | 'INFO' | 'VERB' | 'SILL'; | ||
verbose = 4, | ||
silly = 5, | ||
silly = 5 | ||
} | ||
@@ -45,3 +55,3 @@ export declare type LogLevelName = keyof typeof LogLevel; | ||
level(levelName?: LogLevelName): "info" | "silent" | "error" | "warn" | "verbose" | "silly"; | ||
private log(levelTitle, prefix, message); | ||
private log; | ||
defaultTextPrinter(levelTitle: LogLevelTitle, text: string): void; | ||
@@ -61,3 +71,3 @@ static error(prefix: string, ...args: any[]): void; | ||
} | ||
export { VERSION }; | ||
export { VERSION, }; | ||
export default Brolog; |
/*! | ||
* Brolog JavaScript Library v1.1.0 | ||
* https://github.com/zixia/brolog | ||
* https://github.com/huan/brolog | ||
* | ||
* Copyright Huan LI <zixia@zixia.net> | ||
* Released under the ISC license | ||
* https://github.com/zixia/brolog/blob/master/LICENSE | ||
* https://github.com/huan/brolog/blob/master/LICENSE | ||
* | ||
@@ -9,0 +9,0 @@ * Date: 2016-07 |
@@ -0,1 +1,2 @@ | ||
#!/usr/bin/env ts-node | ||
export {}; |
declare let VERSION: string; | ||
export { VERSION }; | ||
export { VERSION, }; | ||
export declare const BROLOG_LEVEL: string; | ||
export declare const BROLOG_PREFIX: string; |
{ | ||
"name": "brolog", | ||
"version": "1.8.1", | ||
"version": "1.8.3", | ||
"description": "Npmlog like logger for Browser", | ||
@@ -22,3 +22,3 @@ "main": "bundles/brolog.umd.js", | ||
"type": "git", | ||
"url": "git+https://github.com/zixia/brolog.git" | ||
"url": "git+https://github.com/huan/brolog.git" | ||
}, | ||
@@ -36,5 +36,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/zixia/brolog/issues" | ||
"url": "https://github.com/huan/brolog/issues" | ||
}, | ||
"homepage": "https://github.com/zixia/brolog#readme", | ||
"homepage": "https://github.com/huan/brolog#readme", | ||
"devDependencies": { | ||
@@ -45,3 +45,3 @@ "@types/chokidar": "^1.7.5", | ||
"@types/puppeteer": "^1.3.0", | ||
"@types/rollup-plugin-json": "^2.3.1", | ||
"@types/rollup-plugin-json": "^3.0.0", | ||
"@types/semver": "^5.5.0", | ||
@@ -57,6 +57,6 @@ "@types/sinon": "^5.0.0", | ||
"rollup-plugin-json": "^3.0.0", | ||
"rollup": "^0.60.0", | ||
"rollup": "^0.65.2", | ||
"semver": "^5.5.0", | ||
"sinon": "^6.0.0", | ||
"sinon-test": "git://github.com/zixia/sinon-test.git#patch-1", | ||
"sinon-test": "git://github.com/huan/sinon-test.git#patch-1", | ||
"source-map": "^0.7.2", | ||
@@ -66,3 +66,3 @@ "tap": "^12.0.0", | ||
"tslint": "^5.7.0", | ||
"typescript": "^2.5.2" | ||
"typescript": "^3.0.3" | ||
}, | ||
@@ -69,0 +69,0 @@ "files": [ |
# BROLOG | ||
[![npm version](https://badge.fury.io/js/brolog.svg)](https://badge.fury.io/js/brolog) | ||
[![Build Status](https://travis-ci.com/zixia/brolog.svg?branch=master)](https://travis-ci.com/zixia/brolog) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/zixia/brolog.svg)](https://greenkeeper.io/) | ||
[![Build Status](https://travis-ci.com/huan/brolog.svg?branch=master)](https://travis-ci.com/huan/brolog) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/huan/brolog.svg)](https://greenkeeper.io/) | ||
[![TypeScript definitions on DefinitelyTyped](http://definitelytyped.org/badges/standard-flat.svg)](http://definitelytyped.org) | ||
![Brolog](https://zixia.github.io/brolog/images/brolog-logo.png) | ||
![Brolog](https://huan.github.io/brolog/images/brolog-logo.png) | ||
@@ -15,6 +15,6 @@ Brolog is Logger for Angular in Browser like Npmlog. | ||
1. Out-of-Box Browser Support.(with `<script src='//unpkg.com/brolog'></script>`) | ||
1. Out-of-Box Angular & SystemJS Support.(See: [brolog-angular-demo project](https://github.com/zixia/brolog-angular-demo)) | ||
1. Out-of-Box Angular & SystemJS Support.(See: [brolog-angular-demo project](https://github.com/huan/brolog-angular-demo)) | ||
1. Npmlog compatible interface.(i.e. `log.verbose('Brolog', 'Hello, %s', 'world!'')`) | ||
1. Native TypeScript Support.(With typings) | ||
1. Node.js Support.([Node.js example](https://github.com/zixia/brolog/blob/master/example/npm-like-logger.js)) | ||
1. Node.js Support.([Node.js example](https://github.com/huan/brolog/blob/master/example/npm-like-logger.js)) | ||
1. Support show **real** line number in browser console. | ||
@@ -60,3 +60,3 @@ > What I really get frustrated by is that I cannot wrap console.* and preserve line numbers | ||
Link: [Brolog Live demo](http://zixia.github.io/brolog) | ||
Link: [Brolog Live demo](http://huan.github.io/brolog) | ||
@@ -119,5 +119,5 @@ ### 2. Quick Setup to use in Angular | ||
More details, please see the `brolog-angular-demo` git repository at [here](https://github.com/zixia/brolog-angular-demo). | ||
More details, please see the `brolog-angular-demo` git repository at [here](https://github.com/huan/brolog-angular-demo). | ||
Link: [Brolog ♥ Angular Live demo](http://zixia.github.io/brolog) | ||
Link: [Brolog ♥ Angular Live demo](http://huan.github.io/brolog) | ||
@@ -197,3 +197,3 @@ ## BASIC USAGE | ||
Unite Test Suite: [link](https://github.com/zixia/brolog/tree/master/src/brolog.spec.ts) | ||
Unite Test Suite: [link](https://github.com/huan/brolog/tree/master/src/brolog.spec.ts) | ||
@@ -207,5 +207,5 @@ ### End to End Test | ||
End to End Test Suite: [link](https://github.com/zixia/brolog/tree/master/tests/e2e) | ||
End to End Test Suite: [link](https://github.com/huan/brolog/tree/master/tests/e2e) | ||
P.S. runing E2E test is based on *brolog demo project*: [git repository](https://github.com/zixia/brolog-angular-demo) | ||
P.S. runing E2E test is based on *brolog demo project*: [git repository](https://github.com/huan/brolog-angular-demo) | ||
@@ -216,3 +216,3 @@ ## CHANGELOG | ||
1. Fix browser broken problem caused by the `rollup` behavior change. ([#69](https://github.com/zixia/brolog/issues/69)) | ||
1. Fix browser broken problem caused by the `rollup` behavior change. ([#69](https://github.com/huan/brolog/issues/69)) | ||
1. Node.js: Add environment variable `BROLOG_PREFIX` to set the `prefix` filter of global `log` instance. | ||
@@ -219,0 +219,0 @@ 1. Browser: Add URL parameter variable `BROLOG_PREFIX` to set the `prefix` filter of global `log` instance. |
/*! | ||
* Brolog JavaScript Library v1.1.0 | ||
* https://github.com/zixia/brolog | ||
* https://github.com/huan/brolog | ||
* | ||
* Copyright Huan LI <zixia@zixia.net> | ||
* Released under the ISC license | ||
* https://github.com/zixia/brolog/blob/master/LICENSE | ||
* https://github.com/huan/brolog/blob/master/LICENSE | ||
* | ||
@@ -9,0 +9,0 @@ * Date: 2016-07 |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
144066
2268