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

@bakjs/logging

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bakjs/logging - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="2.5.1"></a>
## [2.5.1](https://github.com/bakjs/plugins/compare/@bakjs/logging@2.5.0...@bakjs/logging@2.5.1) (2018-09-05)
### Bug Fixes
* **logging:** log internal errors ([6187ad3](https://github.com/bakjs/plugins/commit/6187ad3))
<a name="2.5.0"></a>

@@ -8,0 +19,0 @@ # [2.5.0](https://github.com/bakjs/plugins/compare/@bakjs/logging@2.4.0...@bakjs/logging@2.5.0) (2018-02-08)

2

lib/index.js

@@ -7,3 +7,3 @@ const { parseRequest, commonFormat, formatJOSN, formatError } = require('./utils')

server.events.on(
{ name: 'request', channels: 'error' }, (request, { error, timestamp }, tags) => {
{ name: 'request', channels: ['error', 'internal'] }, (request, { error, timestamp }, tags) => {
// Parse request

@@ -10,0 +10,0 @@ const reqInfo = parseRequest(request, timestamp)

{
"name": "@bakjs/logging",
"version": "2.5.0",
"version": "2.5.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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