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

class-logger

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

class-logger - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

0

dist/index.d.ts

@@ -0,0 +0,0 @@ export { CLASS_LOGGER_METADATA_KEY } from './src/constants';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IClassLoggerConfigComplete } from './config.service';

6

dist/src/class-wrapper.service.js

@@ -52,3 +52,3 @@ "use strict";

const classWrapper = this;
return function (...args) {
const res = function (...args) {
const messageStart = config.formatter.start({

@@ -100,2 +100,6 @@ args,

};
for (const prop of Object.keys(fn)) {
res[prop] = fn[prop];
}
return res;
}

@@ -102,0 +106,0 @@ isPromise(val) {

@@ -0,0 +0,0 @@ import { IClassLoggerFormatter, IClassLoggerIncludeConfig } from './formatter.service';

@@ -0,0 +0,0 @@ "use strict";

export declare const CLASS_LOGGER_METADATA_KEY: unique symbol;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CLASS_LOGGER_METADATA_KEY = Symbol();

@@ -0,0 +0,0 @@ export interface IClassLoggerLogData {

@@ -0,0 +0,0 @@ "use strict";

import { IClassLoggerConfig } from './config.service';
export declare const LogClass: (config?: IClassLoggerConfig) => <T extends new (...args: any[]) => any>(target: T) => T;

@@ -0,0 +0,0 @@ "use strict";

import { IClassLoggerConfig } from './config.service';
export declare const Log: (config?: IClassLoggerConfig) => (target: object, propertyKey: string | symbol) => void;

@@ -0,0 +0,0 @@ "use strict";

4

package.json
{
"name": "class-logger",
"version": "1.0.3",
"version": "1.1.0",
"description": "Boilerplate-free decorator-based class logging",

@@ -26,3 +26,3 @@ "keywords": [

},
"author": "keenondrums (andrey.goncharov+it@protonmail.com)",
"author": "keenondrums (andrey@goncharov.page)",
"license": "MIT",

@@ -29,0 +29,0 @@ "bugs": {

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