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

deborator

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deborator - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

2

package.json
{
"name": "deborator",
"version": "1.0.19",
"version": "1.0.20",
"description": "a TypeScript decorator, to add console.log() to all methods and properties of a class.",

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

@@ -54,3 +54,3 @@ # deborator readme

deborator options:
deborator options: (all are optional)

@@ -61,2 +61,4 @@ | option | description | example |

|showReturnValues| Set this to true, if you also want to see return values in the log.| ```@deborator({showReturnValues: true }) ``` |
|showProperties| Set this to true, to also log get/set properties. This can be noisy!. | ```@deborator({showProperties: true }) ``` |
|decoratePrototype| Set this to true, to also log inherited methods (does not work with React components).| ```@deborator({decoratePrototype: true }) ``` |

@@ -68,2 +70,3 @@ ### known issues

- dist folder (npm package): the index.js does not work from one unit test project
workaround: copy the source file 'deborator.ts' into the project

@@ -70,0 +73,0 @@ ## running the demo app

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