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

@stencila/logga

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stencila/logga - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

dist/browser/index.d.ts

7

CHANGELOG.md

@@ -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 @@

2

dist/lib/index.d.ts

@@ -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?

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