@stencila/logga
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -0,1 +1,8 @@ | ||
# [2.2.0](https://github.com/stencila/logga/compare/v2.1.0...v2.2.0) (2020-04-21) | ||
### Features | ||
* **Build:** Create & publish modern JS builds ([032a0b2](https://github.com/stencila/logga/commit/032a0b2741c114b787219332fdc9bca6d0c9f0fb)) | ||
# [2.1.0](https://github.com/stencila/logga/compare/v2.0.0...v2.1.0) (2019-12-02) | ||
@@ -2,0 +9,0 @@ |
@@ -53,3 +53,3 @@ /** | ||
* @param filter.maxLevel The maximum log level. | ||
* @param filter.messageRegex A regex that the log level should match. | ||
* @param filter.messageRegex A regex that the log message should match. | ||
* @param filter.func A function that determines if handler is called | ||
@@ -56,0 +56,0 @@ * @returns The handler function that was added. |
{ | ||
"name": "@stencila/logga", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Unified logging across related Javascript modules", | ||
"main": "dist/lib/index.js", | ||
"main": "dist/lib/logga.js", | ||
"module": "dist/lib/logga.mjs", | ||
"browser": "dist/browser/logga.mjs", | ||
"unpkg": "dist/browser/logga.umd.js", | ||
"types": "dist/lib/index.d.ts", | ||
@@ -20,3 +23,6 @@ "browserslist": [ | ||
"test:browser": "jest --env=jsdom", | ||
"build": "tsc && parcel build index.ts --out-dir dist/browser --global logga" | ||
"build": "npm run build:node && npm run build:browser", | ||
"build:node": "microbundle build --target node --format es,cjs -o dist/lib", | ||
"build:browser": "microbundle build --name logga --format es,umd -o dist/browser", | ||
"docs": "typedoc --mode file --out docs index.ts && cp *.png docs/" | ||
}, | ||
@@ -37,8 +43,9 @@ "repository": { | ||
"devDependencies": { | ||
"@stencila/dev-config": "1.2.3", | ||
"@types/jest": "24.0.23", | ||
"jest": "24.9.0", | ||
"parcel": "1.12.4", | ||
"ts-jest": "24.2.0", | ||
"typescript": "3.7.2" | ||
"@stencila/dev-config": "1.4.23", | ||
"@types/jest": "25.2.1", | ||
"jest": "25.2.0", | ||
"microbundle": "^0.12.0-next.8", | ||
"ts-jest": "25.3.1", | ||
"typedoc": "0.17.4", | ||
"typescript": "3.8.3" | ||
}, | ||
@@ -45,0 +52,0 @@ "jest": { |
@@ -8,3 +8,3 @@ # Logga | ||
[![NPM](https://img.shields.io/npm/v/@stencila/logga.svg?style=flat)](https://www.npmjs.com/package/@stencila/logga) | ||
[![Chat](https://badges.gitter.im/stencila/stencila.svg)](https://gitter.im/stencila/stencila) | ||
[![Docs](https://img.shields.io/badge/docs-latest-blue.svg)](https://stencila.github.io/logga/) | ||
@@ -11,0 +11,0 @@ ## Why? |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
111527
14
624
0
0
7
1