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

lambda-log

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambda-log - npm Package Versions

23

4.0.0-beta.5

Diff

kyleross
published 4.0.0-beta.4 •

kyleross
published 4.0.0-beta.3 •

kyleross
published 4.0.0-beta.2 •

kyleross
published 4.0.0-beta.1 •

kyleross
published 3.2.0 •

kyleross
published 3.1.0 •

kyleross
published 3.0.2 •

Changelog

Source

3.0.2 (2021-10-01)

Bug Fixes

  • skip adding a toJSON method to errors that already have one (#61) (5b03656)
kyleross
published 3.0.1 •

Changelog

Source

3.0.1 (2021-09-27)

Bug Fixes

  • include error name in metadata (5a1214c), closes #52
kyleross
published 3.0.0 •

Changelog

Source

3.0.0 (2021-04-12)

Bug Fixes

  • add .npmignore file to help reduce the size of the package (c21bd7f)
  • add .npmignore file to help reduce the size of the package (9ccdc69)
  • do not use husky when on a CI environment (a17ac76)
  • reverse the check for LAMBDALOG_SILENT env variable (95828b1)
  • reverse the check for LAMBDALOG_SILENT env variable (5ab6dc5)

Code Refactoring

  • move message.tags to a getter and setter (201a6fe)

Features

  • add ability for tags to be functions (459380f)
  • add ability for tags to be functions (87ea24d)
  • add ability to change the key names of the message output (4a71909)
  • add ability to change the key names of the message output (bc1169b)
  • add new method addLevel() to LambdaLog (9fde2e3)
  • add new method addLevel() to LambdaLog (f7dbfd0)
  • add new options levelKey, messageKey, and tagsKey (bb5ba70)
  • add new options levelKey, messageKey, and tagsKey (4d10968)
  • add new website! (44a15dc)
  • add new website! (9aa6e2e)
  • add symbols for referencing private properties in LogMessage (f4b1c99)
  • add symbols for referencing private properties in LogMessage (beb5e39)
  • add symbols to reference certain private properties (b502366)
  • add symbols to reference certain private properties on LogMessage class (952b62d)
  • convert Errors in metadata to plain objects #31 (f55d474)
  • convert Errors in metadata to plain objects #31 (576052a)
  • remove default tags and add tag variable support #29 (a43b0ae)
  • remove default tags and add tag variable support #29 (ae686ef)
  • set node engine to >= 10.0.0 (0b5e564)
  • set node engine to >= 10.0.0 (2d022ec)
  • switch from travis to github actions (6ca053f)
  • use jest for testing and coverage (216141d)
  • internal: add function to stub errors with a toJSON method (b5e3dbe)
  • switch from travis to github actions (f2d418e)
  • use jest for testing and coverage (fafed5d)
  • internal: add function to stub errors with a toJSON method (d0707bd)

BREAKING CHANGES

  • There are no longer any built-in tags added to the tags array for each log message.
  • message.tags is no longer a property of the LogMessage class that can be directly changed.
  • Whenever an Error object is passed into the metadata for a log message, it will automatically be converted to a plain object as stringifying the an Error object will always yield {}.
  • Previously you could directly access the private properties of LogMessage. In order to add some integrity, they are no longer using standard property names starting with an underscore and are instead referenced using symbols instead. For advanced usage, these symbols are exported as a static property on the LogMessage class under LogMessage.symbols.
  • Previously you could directly access the private properties of LambdaLog. In order to add some integrity, they are no longer using standard property names starting with an underscore and are instead referenced using symbols instead. For advanced usage, these symbols are exported as a static property on the LambdaLog class under LambdaLog.symbols.
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