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.6 to 1.0.7

2

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

@@ -5,0 +5,0 @@ "main": "deborator.ts",

@@ -32,9 +32,15 @@ # deborator readme

class MyCalculator {
constructor(private value: number) {}
add(value: number) {
// ...
this.value += value;
}
}
// using your class:
const calc = new MyCalculator(1);
calc.add(5);
```
Now if you hit F12, you will see console log entries for your class:
Now if you hit F12, you will see console log entries for your class, as it is being used:

@@ -41,0 +47,0 @@ ```

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