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

@microgamma/loggator

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microgamma/loggator - npm Package Compare versions

Comparing version 1.10.14 to 1.10.16

LICENSE

2

lib/lib/log.decorator.spec.d.ts

@@ -1,1 +0,1 @@

import 'reflect-metadata';
export {};

@@ -11,10 +11,5 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
// tslint:disable:no-expression-statement, max-classes-per-file
const log_decorator_1 = require("./log.decorator");
require("reflect-metadata");
const ava_1 = __importDefault(require("ava"));
log_decorator_1.setNamespace('myNamespace');

@@ -55,11 +50,15 @@ class TestClass {

], TestClassNS3.prototype, "$l", void 0);
let instance3;
ava_1.default.beforeEach(() => {
instance = new TestClass();
instance2 = new TestClassNS2();
instance3 = new TestClassNS3();
describe('@Log', () => {
let instance3;
beforeEach(() => {
instance = new TestClass();
instance2 = new TestClassNS2();
instance3 = new TestClassNS3();
});
it('log decorator', () => {
expect(instance).toBeTruthy();
expect(instance2).toBeTruthy();
expect(instance3).toBeTruthy();
});
});
ava_1.default('log decorator', t => {
t.is(true, true);
});
//# sourceMappingURL=log.decorator.spec.js.map
{
"name": "@microgamma/loggator",
"version": "1.10.14",
"version": "1.10.16",
"description": "typescript decorator for easy log",

@@ -20,13 +20,7 @@ "main": "lib/index.js",

"build:main": "tsc -p tsconfig.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:tslint": "tslint --fix --project .",
"test": "run-s test:*",
"test:unit": "nyc --silent ava",
"test": "jest --coverage",
"test:unit": "jest",
"test:watch": "jest --watch",
"test:lint": "tslint --project . ",
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"",
"cov": "run-s build test:unit cov:html && opn coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:send": "nyc report --reporter=lcov > coverage.lcov && codecov",
"cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
"cov:send": "jest --coverage && codecov -F loggator",
"doc": "run-s doc:html && opn build/docs/index.html",

@@ -62,17 +56,35 @@ "doc:html": "typedoc src/ --target ES6 --mode file --out build/docs",

},
"ava": {
"files": [
"./lib/**/*.spec.js"
"jest": {
"roots": [
"<rootDir>/src"
],
"compileEnhanments": false,
"extensions": [
"ts"
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.ts?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"require": [
"ts-node/register"
]
"moduleNameMapper": {
"@(microgamma/)(.*)$": "<rootDir>/../$2/src"
},
"reporters": [
"default"
],
"coverageReporters": [
"json",
"html"
],
"collectCoverageFrom": [
"**/*.ts",
"!**/index.ts"
],
"coverageDirectory": "./coverage/"
},
"prettier": {
"singleQuote": true
}
"gitHead": "ea48b9759de1f24c8ff5ce9c100758af793e584a"
}

Sorry, the diff of this file is not supported yet

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